com.ibm.mq.jms
Class MQXATopicSession
- java.lang.Object
- com.ibm.mq.jms.MQRoot
- com.ibm.mq.jms.MQSession
- com.ibm.mq.jms.MQXASession
- com.ibm.mq.jms.MQXATopicSession
All implemented interfaces:
JmsPropertyContext, JmsReadablePropertyContext, JmsSession, JmsXASession, JmsXATopicSession, java.io.Serializable, java.lang.Runnable, java.util.Map<java.lang.String,java.lang.Object>, javax.jms.Session, javax.jms.XASession, javax.jms.XATopicSession
- public class MQXATopicSession
- extends MQXASession
- implements javax.jms.XATopicSession, JmsXATopicSession
The XAResource that corresponds to the TopicSession can be obtained by calling the getXAResource method, which is inherited from XASession.
See Also:
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Field Summary
Fields inherited from interface javax.jms.Session |
---|
AUTO_ACKNOWLEDGE, CLIENT_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE, SESSION_TRANSACTED |
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getTopicSession()
Gets the topic session associated with this XA topic session.
|
Methods inherited from class com.ibm.mq.jms.MQXASession |
---|
getSession, getXAResource, isClosed |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.msg.client.jms.JmsPropertyContext |
---|
setBatchProperties, setBooleanProperty, setByteProperty, setBytesProperty, setCharProperty, setDoubleProperty, setFloatProperty, setIntProperty, setLongProperty, setObjectProperty, setShortProperty, setStringProperty |
Methods inherited from interface com.ibm.msg.client.jms.JmsReadablePropertyContext |
---|
getBooleanProperty, getByteProperty, getBytesProperty, getCharProperty, getDoubleProperty, getFloatProperty, getIntProperty, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, propertyExists |
Methods inherited from interface java.util.Map |
---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from interface javax.jms.XASession |
---|
commit, getSession, getTransacted, getXAResource, rollback |
Methods inherited from interface javax.jms.Session |
---|
close, createBrowser, createBrowser, createBytesMessage, createConsumer, createConsumer, createConsumer, createDurableSubscriber, createDurableSubscriber, createMapMessage, createMessage, createObjectMessage, createObjectMessage, createProducer, createQueue, createStreamMessage, createTemporaryQueue, 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 XA topic session.
Specified by:
getTopicSession
in interface javax.jms.XATopicSession
Returns:
the topic session object.
Throws:
javax.jms.JMSException
- never