Package org.springframework.jms.listener
@NonNullApi
@NonNullFields
package org.springframework.jms.listener
This package contains the base message listener container facility.
It also offers the DefaultMessageListenerContainer and SimpleMessageListenerContainer
implementations, based on the plain JMS client API.
-
ClassDescriptionCommon base class for all containers which need to implement listening based on a JMS Connection (either shared or freshly obtained for each attempt).Exception that indicates that the initial setup of this container's shared JMS Connection failed.Abstract base class for Spring message listener container implementations.Base class for listener container implementations which are based on polling.Message listener container variant that uses plain JMS client APIs, specifically a loop of
MessageConsumer.receive()
calls that also allow for transactional reception of messages (registering them with XA transactions).Internal abstraction used by the framework representing a message listener container.SessionAwareMessageListener<M extends Message>Variant of the standard JMSMessageListener
interface, offering not only the received Message but also the underlying JMS Session object.Message listener container that uses the plain JMS client API'sMessageConsumer.setMessageListener()
method to create concurrent MessageConsumers for the specified listeners.Interface to be implemented by message listener objects that suggest a specific name for a durable subscription that they might be registered with.