javax.jms
Interface XATopicSession


public interface XATopicSession
extends XASession

An XATopicSession provides a regular TopicSession which can be used to create TopicSubscribers and TopicPublishers (optional).

See Also:
XASession, TopicSession

Fields inherited from interface javax.jms.Session
AUTO_ACKNOWLEDGE, CLIENT_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE
 
Method Summary
 TopicSession getTopicSession()
          Get the topic session associated with this XATopicSession.
 
Methods inherited from interface javax.jms.XASession
commit, getTransacted, getXAResource, rollback
 
Methods inherited from interface javax.jms.Session
close, createBytesMessage, createMapMessage, createMessage, createObjectMessage, createObjectMessage, createStreamMessage, createTextMessage, createTextMessage, getMessageListener, recover, run, setMessageListener
 

Method Detail

getTopicSession

public TopicSession getTopicSession()
                             throws JMSException
Get the topic session associated with this XATopicSession.
Returns:
the topic session object.
Throws:
JMSException - if a JMS error occurs.