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.
|
Java Source File Name | Type | Comment |
AbstractJmsListeningContainer.java | Class | Common base class for all containers which need to implement listening
based on a JMS Connection (either shared or freshly obtained for each attempt).
Inherits basic Connection and Session configuration handling from the
org.springframework.jms.support.JmsAccessor base class.
This class provides basic lifecycle management, in particular management
of a shared JMS Connection. |
AbstractMessageListenerContainer.java | Class | Abstract base class for message listener containers. |
AbstractPollingMessageListenerContainer.java | Class | Base class for listener container implementations which are based on polling.
Provides support for listener handling based on
javax.jms.MessageConsumer ,
optionally participating in externally managed transactions.
This listener container variant is built for repeated polling attempts,
each invoking the
AbstractPollingMessageListenerContainer.receiveAndExecute method. |
DefaultMessageListenerContainer.java | Class | Message listener container variant that uses plain JMS client API, specifically
a loop of MessageConsumer.receive() calls that also allow for
transactional reception of messages (registering them with XA transactions).
Designed to work in a native JMS environment as well as in a J2EE environment,
with only minimal differences in configuration.
NOTE: This class requires a JMS 1.1+ provider, because it builds on
the domain-independent API. |
DefaultMessageListenerContainer102.java | Class | A subclass of
DefaultMessageListenerContainer for the JMS 1.0.2 specification,
not relying on JMS 1.1 methods like SimpleMessageListenerContainer itself. |
SessionAwareMessageListener.java | Interface | Variant of the standard JMS
javax.jms.MessageListener interface,
offering not only the received Message but also the underlying
JMS Session object. |
SimpleMessageListenerContainer.java | Class | Message listener container that uses the plain JMS client API's
MessageConsumer.setMessageListener() method to
create concurrent MessageConsumers for the specified listeners.
NOTE: This class requires a JMS 1.1+ provider, because it builds on
the domain-independent API. |
SimpleMessageListenerContainer102.java | Class | A subclass of
SimpleMessageListenerContainer for the JMS 1.0.2 specification,
not relying on JMS 1.1 methods like SimpleMessageListenerContainer itself. |