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. Use the {@link SimpleMessageListenerContainer102}subclass for a JMS 1.0.2 provider, e.g. when running on a J2EE 1.3 server.
This is the simplest form of a message listener container. It creates a fixed number of JMS Sessions to invoke the listener, not allowing for dynamic adaptation to runtime demands. Its main advantage is its low level of complexity and the minimum requirements on the JMS provider: Not even the ServerSessionPool facility is required.
See the {@link AbstractMessageListenerContainer} javadoc for detailson acknowledge modes and transaction options.
For a different style of MessageListener handling, through looped MessageConsumer.receive()
calls that also allow for transactional reception of messages (registering them with XA transactions), see {@link DefaultMessageListenerContainer}.
@author Juergen Hoeller
@since 2.0
@see javax.jms.MessageConsumer#setMessageListener
@see DefaultMessageListenerContainer
@see org.springframework.jms.listener.endpoint.JmsMessageEndpointManager