XATopicSession


public interface XATopicSession
extends XASession

WebSphere MQ class: MQXATopicSession



java.lang.Object
    |
    +----com.ibm.mq.jms.MQXASession
            |
            +----com.ibm.mq.jms.MQXATopicSession    

An XATopicSession provides a TopicSession, which you can use to create TopicSubscribers and TopicPublishers. Refer to Appendix E, JMS JTA/XA interface with WebSphere Application Server V4 for details about how WebSphere MQ JMS uses XA classes.

The XAResource that corresponds to the TopicSession can be obtained by calling the getXAResource method, which is inherited from XASession.

See also: TopicSession and XASession

 

Methods

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.

 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.