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 can be used 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 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.


© IBM Corporation 1997, 2002. All Rights Reserved