public class ExclusiveQueueMessageListenerContainer extends SimpleMessageListenerContainer
MessageListenerContainer is used for reply queues which are exclusive.
Mind that exclusive reply queues is per producer, so if you run in a clustered environment then each producer should
use an unique reply queue destination name. If not then other nodes may steal reply messages which was intended for
another. For clustered environments it may be safer to use shared queues as each node will only consume reply
messages which are intended for itself.| Constructor and Description |
|---|
ExclusiveQueueMessageListenerContainer(SjmsEndpoint endpoint) |
| Modifier and Type | Method and Description |
|---|---|
protected javax.jms.MessageConsumer |
createMessageConsumer(javax.jms.Session session) |
protected javax.jms.Session |
createSession(javax.jms.Connection connection,
SjmsEndpoint endpoint) |
afterPropertiesConfigured, configureConsumer, createConnection, doStart, doStop, getClientId, getConcurrentConsumers, getConnectionFactory, getDestinationCreationStrategy, getDestinationName, getEndpoint, initConsumers, onException, recoverConnection, refreshConnection, scheduleConnectionRecovery, setClientId, setConcurrentConsumers, setDestinationCreationStrategy, setDestinationName, setExceptionListener, setMessageListener, startConnection, stopConnection, stopConsumersbuild, doBuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic ExclusiveQueueMessageListenerContainer(SjmsEndpoint endpoint)
protected javax.jms.Session createSession(javax.jms.Connection connection,
SjmsEndpoint endpoint)
throws Exception
createSession in class SimpleMessageListenerContainerExceptionprotected javax.jms.MessageConsumer createMessageConsumer(javax.jms.Session session)
throws Exception
createMessageConsumer in class SimpleMessageListenerContainerExceptionApache Camel