Class ExclusiveQueueMessageListenerContainer

  • All Implemented Interfaces:
    AutoCloseable, javax.jms.ExceptionListener, org.apache.camel.AfterPropertiesConfigured, MessageListenerContainer, org.apache.camel.Service, org.apache.camel.ShutdownableService, org.apache.camel.StatefulService, org.apache.camel.SuspendableService

    public class ExclusiveQueueMessageListenerContainer
    extends SimpleMessageListenerContainer
    This 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.