org.apache.cxf.transport.jms.util
Class MessageListenerContainer
java.lang.Object
org.apache.cxf.transport.jms.util.AbstractMessageListenerContainer
org.apache.cxf.transport.jms.util.MessageListenerContainer
- All Implemented Interfaces:
- JMSListenerContainer
public class MessageListenerContainer
- extends AbstractMessageListenerContainer
Listen for messages on a queue or topic asynchronously by registering a
MessageListener.
Warning: This class does not refresh connections when the server goes away
This has to be handled outside.
Fields inherited from class org.apache.cxf.transport.jms.util.AbstractMessageListenerContainer |
acknowledgeMode, connection, consumer, destination, durableSubscriptionName, executor, listenerHandler, LOG, messageSelector, pubSubNoLocal, running, session, transacted, transactionManager |
Constructor Summary |
MessageListenerContainer(javax.jms.Connection connection,
javax.jms.Destination destination,
javax.jms.MessageListener listenerHandler)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageListenerContainer
public MessageListenerContainer(javax.jms.Connection connection,
javax.jms.Destination destination,
javax.jms.MessageListener listenerHandler)
start
public void start()
stop
public void stop()
shutdown
public void shutdown()
Apache CXF