com.ibm.mq.jms

Class MQXAConnection

  1. java.lang.Object
  2. extended bycom.ibm.mq.jms.MQRoot
  3. extended bycom.ibm.mq.jms.MQConnection
  4. extended bycom.ibm.mq.jms.MQXAConnection
All implemented interfaces:
JmsConnection, JmsPropertyContext, JmsReadablePropertyContext, JmsXAConnection, java.io.Serializable, java.util.Map<java.lang.String,java.lang.Object>, javax.jms.Connection, javax.jms.XAConnection

  1. public class MQXAConnection
  2. extends MQConnection
  3. implements javax.jms.XAConnection, JmsXAConnection
The XAConnection interface extends the capability of Connection by providing an XASession.
See Also:
MQXAQueueConnection, MQXATopicConnection, Serialized Form

Nested Class Summary

Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>

Method Summary

Modifier and Type Method and Description
  1. javax.jms.XASession
createXASession()
Creates an XASession object.
Methods inherited from class com.ibm.mq.jms.MQConnection
close, createConnectionConsumer, createDurableConnectionConsumer, createSession, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop
Methods inherited from class com.ibm.mq.jms.MQRoot
clear, containsKey, containsValue, entrySet, equals, get, getBooleanProperty, getByteProperty, getBytesProperty, getCharProperty, getDoubleProperty, getFloatProperty, getIntProperty, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, hashCode, isEmpty, keySet, propertyExists, put, putAll, remove, setBatchProperties, setBooleanProperty, setByteProperty, setBytesProperty, setCharProperty, setDoubleProperty, setFloatProperty, setIntProperty, setLongProperty, setObjectProperty, setShortProperty, setStringProperty, size, values
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.XAConnection
createSession
Methods inherited from interface javax.jms.Connection
close, createConnectionConsumer, createDurableConnectionConsumer, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop

Method Detail

createXASession

  1. public javax.jms.XASession createXASession( )
  2. throws javax.jms.JMSException
Creates an XASession object.
Specified by:
createXASession in interface javax.jms.XAConnection
Returns:
the XA session
Throws:
javax.jms.JMSException - if JMS Connection fails to create an XA topic session due to some internal error.