com.ibm.mq.jms
Class MQXATopicSession

java.lang.Object
  |
  +--com.ibm.mq.jms.MQSession
        |
        +--com.ibm.mq.jms.MQXASession
              |
              +--com.ibm.mq.jms.MQXATopicSession
All Implemented Interfaces:
JMSAcknowledgePoint, JMSDestinationFactory, java.lang.Runnable, javax.jms.Session, javax.jms.XASession, javax.jms.XATopicSession

public class MQXATopicSession
extends MQXASession
implements javax.jms.XATopicSession

An MQXATopicSession provides an MQTopicSession, which you can use to create MQTopicSubscribers and MQTopicPublishers.

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

See Also:
MQTopicSession, MQXASession

Field Summary
 
Fields inherited from interface javax.jms.Session
AUTO_ACKNOWLEDGE, CLIENT_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE, SESSION_TRANSACTED
     
Method Summary
 javax.jms.TopicSession getTopicSession()
          Gets the topic session associated with this XATopicSession.
 
Methods inherited from class com.ibm.mq.jms.MQXASession
close, commit, getSession, getTransacted, getXAResource, recover, rollback
 
Methods inherited from class com.ibm.mq.jms.MQSession
createBytesMessage, createDurableSubscriber, createDurableSubscriber, createMapMessage, createMessage, createObjectMessage, createObjectMessage, createStreamMessage, createTemporaryTopic, createTextMessage, createTextMessage, createTopic, getAcknowledgeMode, getMessageListener, setMessageListener, unsubscribe
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.jms.XASession
commit, getSession, getTransacted, getXAResource, rollback
 
Methods inherited from interface javax.jms.Session
close, createBytesMessage, createDurableSubscriber, createDurableSubscriber, createMapMessage, createMessage, createObjectMessage, createObjectMessage, createStreamMessage, createTemporaryTopic, createTextMessage, createTextMessage, createTopic, getAcknowledgeMode, getMessageListener, recover, run, setMessageListener, unsubscribe
 

Method Detail

getTopicSession

public javax.jms.TopicSession getTopicSession()
                                       throws javax.jms.JMSException
Gets the topic session associated with this XATopicSession.

Specified by:
getTopicSession in interface javax.jms.XATopicSession
Returns:
the topic session object.
Throws:
javax.jms.JMSException - never

(c) Copyright IBM Corp. 2005. All Rights Reserved.