javax.jms
Interface TopicSession

All Superinterfaces:
Runnable, Session

public interface TopicSession
extends Session

Version:
$Rev: 46019 $ $Date: 2004-09-14 02:56:06 -0700 (Tue, 14 Sep 2004) $

Field Summary
 
Fields inherited from interface javax.jms.Session
AUTO_ACKNOWLEDGE, CLIENT_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE, SESSION_TRANSACTED
 
Method Summary
 TopicSubscriber createDurableSubscriber(Topic topic, String name)
           
 TopicSubscriber createDurableSubscriber(Topic topic, String name, String messageSelector, boolean noLocal)
           
 TopicPublisher createPublisher(Topic topic)
           
 TopicSubscriber createSubscriber(Topic topic)
           
 TopicSubscriber createSubscriber(Topic topic, String messageSelector, boolean noLocal)
           
 TemporaryTopic createTemporaryTopic()
           
 Topic createTopic(String topicName)
           
 void unsubscribe(String name)
           
 
Methods inherited from interface javax.jms.Session
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
 

Method Detail

createTopic

Topic createTopic(String topicName)
                  throws JMSException
Specified by:
createTopic in interface Session
Throws:
JMSException

createSubscriber

TopicSubscriber createSubscriber(Topic topic)
                                 throws JMSException
Throws:
JMSException

createSubscriber

TopicSubscriber createSubscriber(Topic topic,
                                 String messageSelector,
                                 boolean noLocal)
                                 throws JMSException
Throws:
JMSException

createDurableSubscriber

TopicSubscriber createDurableSubscriber(Topic topic,
                                        String name)
                                        throws JMSException
Specified by:
createDurableSubscriber in interface Session
Throws:
JMSException

createDurableSubscriber

TopicSubscriber createDurableSubscriber(Topic topic,
                                        String name,
                                        String messageSelector,
                                        boolean noLocal)
                                        throws JMSException
Specified by:
createDurableSubscriber in interface Session
Throws:
JMSException

createPublisher

TopicPublisher createPublisher(Topic topic)
                               throws JMSException
Throws:
JMSException

createTemporaryTopic

TemporaryTopic createTemporaryTopic()
                                    throws JMSException
Specified by:
createTemporaryTopic in interface Session
Throws:
JMSException

unsubscribe

void unsubscribe(String name)
                 throws JMSException
Specified by:
unsubscribe in interface Session
Throws:
JMSException


Copyright © 2006 Apache Software Foundation. All Rights Reserved.