@Alias(value="subscriber")
@MediaType(value="*/*",
strict=false)
@Throws(value=AnypointMQSubscriberErrorTypeProvider.class)
public class AnypointMQSource
extends org.mule.runtime.extension.api.runtime.source.Source<InputStream,AnypointMQMessageAttributes>
| Modifier and Type | Field and Description |
|---|---|
static String |
ACK_MODE_CTX_VAR |
static String |
DESTINATION_CTX_VAR |
static String |
MESSAGE_CTX_VAR |
| Constructor and Description |
|---|
AnypointMQSource() |
| Modifier and Type | Method and Description |
|---|---|
void |
onError(org.mule.runtime.api.message.Error error,
org.mule.runtime.extension.api.runtime.source.SourceCallbackContext callbackContext) |
void |
onStart(org.mule.runtime.extension.api.runtime.source.SourceCallback<InputStream,AnypointMQMessageAttributes> callback) |
void |
onStop() |
void |
onSuccess(org.mule.runtime.extension.api.runtime.source.SourceCallbackContext callbackContext) |
public static final String ACK_MODE_CTX_VAR
public static final String DESTINATION_CTX_VAR
public static final String MESSAGE_CTX_VAR
public void onStart(org.mule.runtime.extension.api.runtime.source.SourceCallback<InputStream,AnypointMQMessageAttributes> callback) throws org.mule.runtime.api.connection.ConnectionException
onStart in class org.mule.runtime.extension.api.runtime.source.Source<InputStream,AnypointMQMessageAttributes>org.mule.runtime.api.connection.ConnectionExceptionpublic void onStop()
onStop in class org.mule.runtime.extension.api.runtime.source.Source<InputStream,AnypointMQMessageAttributes>@OnSuccess
public void onSuccess(org.mule.runtime.extension.api.runtime.source.SourceCallbackContext callbackContext)
throws Exception
Exception@OnError
public void onError(org.mule.runtime.api.message.Error error,
org.mule.runtime.extension.api.runtime.source.SourceCallbackContext callbackContext)
Copyright © 2024 MuleSoft, Inc.. All rights reserved.