javax.jms

Interface TopicConnection

All Superinterfaces:
Connection
Known Subinterfaces:
XATopicConnection

public interface TopicConnection
extends Connection

Method Summary

ConnectionConsumer
createConnectionConsumer(Topic topic, String messageSelector, ServerSessionPool sessionPool, int maxMessages)
ConnectionConsumer
createDurableConnectionConsumer(Topic topic, String subscriptionName, String messageSelector, ServerSessionPool sessionPool, int maxMessages)
TopicSession
createTopicSession(boolean transacted, int acknowledgeMode)

Methods inherited from interface javax.jms.Connection

close, createConnectionConsumer, createDurableConnectionConsumer, createSession, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop

Method Details

createConnectionConsumer

public ConnectionConsumer createConnectionConsumer(Topic topic,
                                                   String messageSelector,
                                                   ServerSessionPool sessionPool,
                                                   int maxMessages)
            throws JMSException

createDurableConnectionConsumer

public ConnectionConsumer createDurableConnectionConsumer(Topic topic,
                                                          String subscriptionName,
                                                          String messageSelector,
                                                          ServerSessionPool sessionPool,
                                                          int maxMessages)
            throws JMSException
Specified by:
createDurableConnectionConsumer in interface Connection

createTopicSession

public TopicSession createTopicSession(boolean transacted,
                                       int acknowledgeMode)
            throws JMSException