public interface TopicSession extends Session
AUTO_ACKNOWLEDGE, CLIENT_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE, SESSION_TRANSACTED
Modifier and Type | Method and Description |
---|---|
TopicSubscriber |
createDurableSubscriber(Topic topic,
java.lang.String name) |
TopicSubscriber |
createDurableSubscriber(Topic topic,
java.lang.String name,
java.lang.String messageSelector,
boolean noLocal) |
TopicPublisher |
createPublisher(Topic topic) |
TopicSubscriber |
createSubscriber(Topic topic) |
TopicSubscriber |
createSubscriber(Topic topic,
java.lang.String messageSelector,
boolean noLocal) |
TemporaryTopic |
createTemporaryTopic() |
Topic |
createTopic(java.lang.String topicName) |
void |
unsubscribe(java.lang.String name) |
close, commit, createBrowser, createBrowser, createBytesMessage, createConsumer, createConsumer, createConsumer, createMapMessage, createMessage, createObjectMessage, createObjectMessage, createProducer, createQueue, createStreamMessage, createTemporaryQueue, createTextMessage, createTextMessage, getAcknowledgeMode, getMessageListener, getTransacted, recover, rollback, run, setMessageListener
Topic createTopic(java.lang.String topicName) throws JMSException
createTopic
in interface Session
JMSException
TopicSubscriber createDurableSubscriber(Topic topic, java.lang.String name) throws JMSException
createDurableSubscriber
in interface Session
JMSException
TopicSubscriber createDurableSubscriber(Topic topic, java.lang.String name, java.lang.String messageSelector, boolean noLocal) throws JMSException
createDurableSubscriber
in interface Session
JMSException
TopicPublisher createPublisher(Topic topic) throws JMSException
JMSException
TopicSubscriber createSubscriber(Topic topic) throws JMSException
JMSException
TopicSubscriber createSubscriber(Topic topic, java.lang.String messageSelector, boolean noLocal) throws JMSException
JMSException
TemporaryTopic createTemporaryTopic() throws JMSException
createTemporaryTopic
in interface Session
JMSException
void unsubscribe(java.lang.String name) throws JMSException
unsubscribe
in interface Session
JMSException