javax.jms
Interface XATopicSession

All Superinterfaces:
java.lang.Runnable, Session, XASession

public interface XATopicSession
extends XASession

An XATopicSession provides a regular TopicSession. which can be used to create TopicSubscriber and TopicPublisher objects (optional).

See Also:
XASession, TopicSession

Fields inherited from interface javax.jms.Session
AUTO_ACKNOWLEDGE, CLIENT_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE
 
Method Summary
 TopicSession getTopicSession()
          Gets 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
Gets the topic session associated with this XATopicSession.
Returns:
the topic session object
Throws:
JMSException - if an internal error occurs.