| |
|
| org.springframework.jms.listener.AbstractJmsListeningContainer org.springframework.jms.listener.AbstractMessageListenerContainer org.springframework.jms.listener.SimpleMessageListenerContainer org.springframework.jms.listener.SimpleMessageListenerContainer102
SimpleMessageListenerContainer102 | public class SimpleMessageListenerContainer102 extends SimpleMessageListenerContainer (Code) | | A subclass of SimpleMessageListenerContainer 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
SimpleMessageListenerContainer 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 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.
|
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.
|
|
|
|