WebSphere MQ class: MQXATopicConnection
java.lang.Object | +----com.ibm.mq.jms.MQConnection | +----com.ibm.mq.jms.MQTopicConnection | +----com.ibm.mq.jms.MQXATopicConnection |
An XATopicConnection provides the same create options as TopicConnection. The only difference is that, by definition, an XAConnection is transacted. Refer to Appendix E, JMS JTA/XA interface with WebSphere Application Server V4 for details about how WebSphere MQ JMS uses XA classes.
See also: TopicConnection and XAConnection
public TopicSession createTopicSession(boolean transacted, int acknowledgeMode) throws JMSException
Create a TopicSession.
Indicates whether the consumer or the client will acknowledge any messages it receives. This parameter will be ignored if the session is transacted.
public XATopicSession createXATopicSession() throws JMSException
Create an XATopicSession.