javax.jms
Interface TopicConnection
- All Superinterfaces:
- Connection
- All Known Subinterfaces:
- XATopicConnection
- All Known Implementing Classes:
- TopicConnectionImpl
public interface TopicConnection
- extends Connection
The main destination.
createTopicSession
TopicSession createTopicSession(boolean transacted,
int acknowledgeMode)
throws JMSException
- Throws:
JMSException
createConnectionConsumer
ConnectionConsumer createConnectionConsumer(Topic topic,
java.lang.String messageSelector,
ServerSessionPool sessionPool,
int maxMessages)
throws JMSException
- Throws:
JMSException
createDurableConnectionConsumer
ConnectionConsumer createDurableConnectionConsumer(Topic topic,
java.lang.String subscriptionName,
java.lang.String messageSelector,
ServerSessionPool sessionPool,
int maxMessages)
throws JMSException
- Specified by:
createDurableConnectionConsumer
in interface Connection
- Throws:
JMSException