| |
|
| org.springframework.jms.listener.AbstractJmsListeningContainer org.springframework.jms.listener.AbstractMessageListenerContainer org.springframework.jms.listener.AbstractPollingMessageListenerContainer org.springframework.jms.listener.DefaultMessageListenerContainer org.springframework.jms.listener.DefaultMessageListenerContainer102
DefaultMessageListenerContainer102 | public class DefaultMessageListenerContainer102 extends DefaultMessageListenerContainer (Code) | | A subclass of DefaultMessageListenerContainer that uses the JMS 1.0.2 specification,
rather than the JMS 1.1 methods used by SimpleMessageListenerContainer itself.
This class can be used for JMS 1.0.2 providers, offering the same facility as
DefaultMessageListenerContainer does for JMS 1.1 providers.
author: Juergen Hoeller since: 2.0 |
Method Summary | |
protected Connection | createConnection() This implementation overrides the superclass method to use JMS 1.0.2 API. | protected MessageConsumer | createConsumer(Session session, Destination destination) This implementation overrides the superclass method to use JMS 1.0.2 API. | protected Session | createSession(Connection con) This implementation overrides the superclass method to use JMS 1.0.2 API. | protected Connection | getConnection(JmsResourceHolder holder) This implementation overrides the superclass method to accept either
a QueueConnection or a TopicConnection, depending on the domain. | protected Session | getSession(JmsResourceHolder holder) This implementation overrides the superclass method to accept either
a QueueSession or a TopicSession, depending on the domain. | protected boolean | isClientAcknowledge(Session session) This implementation overrides the superclass method to avoid using
JMS 1.1's Session getAcknowledgeMode() method. |
createConnection | protected Connection createConnection() throws JMSException(Code) | | This implementation overrides the superclass method to use JMS 1.0.2 API.
|
createConsumer | protected MessageConsumer createConsumer(Session session, Destination destination) throws JMSException(Code) | | This implementation overrides the superclass method to use JMS 1.0.2 API.
|
createSession | protected Session createSession(Connection con) throws JMSException(Code) | | This implementation overrides the superclass method to use JMS 1.0.2 API.
|
getConnection | protected Connection getConnection(JmsResourceHolder holder)(Code) | | This implementation overrides the superclass method to accept either
a QueueConnection or a TopicConnection, depending on the domain.
|
getSession | protected Session getSession(JmsResourceHolder holder)(Code) | | This implementation overrides the superclass method to accept either
a QueueSession or a TopicSession, depending on the domain.
|
isClientAcknowledge | protected boolean isClientAcknowledge(Session session) throws JMSException(Code) | | This implementation overrides the superclass method to avoid using
JMS 1.1's Session getAcknowledgeMode() method.
The best we can do here is to check the setting on the listener container.
|
Fields inherited from org.springframework.jms.listener.AbstractPollingMessageListenerContainer | final public static long DEFAULT_RECEIVE_TIMEOUT(Code)(Java Doc)
|
|
|
|