public class MultiConsumerJmsMessageReceiver extends AbstractMessageReceiver
numberOfConcurrentTransactedReceivers
strictly
and will create exactly this number of consumers.Modifier and Type | Class and Description |
---|---|
protected class |
MultiConsumerJmsMessageReceiver.JmsWorker |
protected class |
MultiConsumerJmsMessageReceiver.SubReceiver |
Modifier and Type | Field and Description |
---|---|
protected List<MultiConsumerJmsMessageReceiver.SubReceiver> |
consumers |
protected int |
receiversCount |
defaultInboundTransformers, defaultResponseTransformers, flowConstruct, listener, receiverKey, replyToHandler
connected, connector, defaultMessageInfoMapping, endpoint, lifecycleManager, logger, muleMessageFactory, retryTemplate
PHASE_NAME
PHASE_NAME
PHASE_NAME
PHASE_NAME
Constructor and Description |
---|
MultiConsumerJmsMessageReceiver(Connector connector,
FlowConstruct flowConstruct,
InboundEndpoint endpoint) |
Modifier and Type | Method and Description |
---|---|
protected void |
doConnect() |
protected void |
doDisconnect() |
protected void |
doDispose() |
protected void |
doStart() |
protected void |
doStop() |
boolean |
shouldConsumeInEveryNode()
Determines whether to start or not the MessageSource base on the running node state.
|
protected void |
startSubReceivers() |
applyInboundTransformers, applyResponseTransformers, connectHandler, createExecutionTemplate, createLifecycleManager, createMuleEvent, doStartHandler, getConnectEventId, getConnectionDescription, getEndpoint, getEndpointURI, getFlowConstruct, getReceiverKey, getReplyToHandler, getWorkManager, handleUnacceptedFilter, initialise, processMessage, propagateRootMessageIdProperty, routeEvent, routeMessage, routeMessage, routeMessage, routeMessage, routeMessage, setEndpoint, setListener, setReceiverKey, toString, warnIfMuleClientSendUsed
activate, connect, createMuleMessage, createMuleMessage, createMuleMessage, createMuleMessageFactory, createNullMuleMessage, disconnect, dispose, disposeAndLogException, doInitialise, getConnectEventId, getConnector, getLifecycleState, initializeMessageFactory, initializeRetryPolicy, isConnected, isDoThreading, isStarted, isStarting, isStopped, isStopping, passivate, setEndpoint, start, stop, validate, validateConnection
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
createMuleMessage, createMuleMessage
connect, disconnect, isConnected, validateConnection
dispose
protected final List<MultiConsumerJmsMessageReceiver.SubReceiver> consumers
protected final int receiversCount
public MultiConsumerJmsMessageReceiver(Connector connector, FlowConstruct flowConstruct, InboundEndpoint endpoint) throws CreateException
CreateException
protected void doStart() throws MuleException
doStart
in class AbstractTransportMessageHandler
MuleException
protected void doStop() throws MuleException
doStop
in class AbstractMessageReceiver
MuleException
protected void doConnect() throws Exception
doConnect
in class AbstractTransportMessageHandler
Exception
protected void doDisconnect() throws Exception
doDisconnect
in class AbstractTransportMessageHandler
Exception
protected void doDispose()
doDispose
in class AbstractMessageReceiver
protected void startSubReceivers() throws MuleException
MuleException
public boolean shouldConsumeInEveryNode()
AbstractMessageReceiver
shouldConsumeInEveryNode
in class AbstractMessageReceiver
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.