public class AnypointMQMessageListenerHandler extends MessageListenerHandler<InputStream,com.mulesoft.extension.mq.api.attributes.AnypointMQMessageAttributes>
| Modifier and Type | Field and Description |
|---|---|
protected String |
configRef |
amfElementClient, api, asyncBindings, asyncConfig, channelName, componentLocation, defaultEncoding, disableValidation, registry, RESULT_HANDLER_CTX_KEY, serverName| Constructor and Description |
|---|
AnypointMQMessageListenerHandler(amf.apicontract.client.platform.model.domain.api.AsyncApi api,
SourceCallbackRegistry registry,
AsyncConfig config,
amf.apicontract.client.platform.AMFElementClient amfElementClient,
boolean disableValidation,
String serverName,
String channelName,
String configRef,
List<Binding> asyncBindings,
String defaultEncoding) |
| Modifier and Type | Method and Description |
|---|---|
protected AsyncMessageAttributes |
buildResultAttributes(org.mule.runtime.extension.api.runtime.operation.Result<InputStream,com.mulesoft.extension.mq.api.attributes.AnypointMQMessageAttributes> result,
String specChannel)
Build the message attributes out of the underlying connector result attributes
|
protected InputStream |
buildResultOutput(org.mule.runtime.extension.api.runtime.operation.Result<InputStream,com.mulesoft.extension.mq.api.attributes.AnypointMQMessageAttributes> result)
Build the message payload out of the underlying connector result content
|
void |
configureSourceListener(org.mule.runtime.extension.api.client.source.SourceParameterizer sourceParameterizer)
Configure the underlying source listener
|
protected String |
getRuntimeChannelName(org.mule.runtime.extension.api.runtime.operation.Result<InputStream,com.mulesoft.extension.mq.api.attributes.AnypointMQMessageAttributes> result)
Obtain the channel name from the message received
|
String |
getSourceListenerName()
Obtain the underlying source listener name
|
consumeSourceListenerResult, getChannelName, getServerName, setComponentLocationprotected String configRef
public AnypointMQMessageListenerHandler(amf.apicontract.client.platform.model.domain.api.AsyncApi api,
SourceCallbackRegistry registry,
AsyncConfig config,
amf.apicontract.client.platform.AMFElementClient amfElementClient,
boolean disableValidation,
String serverName,
String channelName,
String configRef,
List<Binding> asyncBindings,
String defaultEncoding)
protected String getRuntimeChannelName(org.mule.runtime.extension.api.runtime.operation.Result<InputStream,com.mulesoft.extension.mq.api.attributes.AnypointMQMessageAttributes> result)
MessageListenerHandlergetRuntimeChannelName in class MessageListenerHandler<InputStream,com.mulesoft.extension.mq.api.attributes.AnypointMQMessageAttributes>public String getSourceListenerName()
MessageListenerHandlergetSourceListenerName in class MessageListenerHandler<InputStream,com.mulesoft.extension.mq.api.attributes.AnypointMQMessageAttributes>public void configureSourceListener(org.mule.runtime.extension.api.client.source.SourceParameterizer sourceParameterizer)
MessageListenerHandlerconfigureSourceListener in class MessageListenerHandler<InputStream,com.mulesoft.extension.mq.api.attributes.AnypointMQMessageAttributes>protected AsyncMessageAttributes buildResultAttributes(org.mule.runtime.extension.api.runtime.operation.Result<InputStream,com.mulesoft.extension.mq.api.attributes.AnypointMQMessageAttributes> result, String specChannel)
MessageListenerHandlerbuildResultAttributes in class MessageListenerHandler<InputStream,com.mulesoft.extension.mq.api.attributes.AnypointMQMessageAttributes>protected InputStream buildResultOutput(org.mule.runtime.extension.api.runtime.operation.Result<InputStream,com.mulesoft.extension.mq.api.attributes.AnypointMQMessageAttributes> result)
MessageListenerHandlerbuildResultOutput in class MessageListenerHandler<InputStream,com.mulesoft.extension.mq.api.attributes.AnypointMQMessageAttributes>Copyright © 2025 MuleSoft, Inc.. All rights reserved.