Class MessageQueueListener

All Implemented Interfaces:
FrankElement, HasApplicationContext, HasName, HasPhysicalDestination, HasSender, IConfigurable, ICorrelatedPullingListener<jakarta.jms.Message>, IListener<jakarta.jms.Message>, IPullingListener<jakarta.jms.Message>, IRedeliveringListener<jakarta.jms.Message>, IScopeProvider, IWithParameters, IXAEnabled, NameAware, ConfigurableLifecycle, ReceiverAware<jakarta.jms.Message>, RunStateEnquiring, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle

public class MessageQueueListener extends PullingJmsListener
Listener that receives messages from a MessageQueueSender in another Adapter. Any PipeLineSession keys sent by the source adapter will be in the receiving PipeLineSession. This listener is the JMS-based equivalent of the MessageStoreListener.

If the message received is not in the expected format produced by the MessageQueueSender, the listener will still do its best to convert it to a regular input-message, so it can also be used with a regular JmsSender, or other JMS sources.