com.ibm.mq.jms
Class MQXAQueueConnection
- java.lang.Object
-
- com.ibm.mq.jms.MQRoot
-
- com.ibm.mq.jms.MQConnection
-
- com.ibm.mq.jms.MQQueueConnection
-
- com.ibm.mq.jms.MQXAQueueConnection
-
- All Implemented Interfaces:
- JmsConnection, JmsPropertyContext, JmsQueueConnection, JmsReadablePropertyContext, JmsXAConnection, JmsXAQueueConnection, java.io.Serializable, java.lang.AutoCloseable, java.util.Map<java.lang.String,java.lang.Object>, javax.jms.Connection, javax.jms.QueueConnection, javax.jms.XAConnection, javax.jms.XAQueueConnection
public class MQXAQueueConnection extends MQQueueConnection implements javax.jms.XAQueueConnection, JmsXAQueueConnection
MQXAQueueConnection provides the same create options as MQQueueConnection. The only difference is that, by definition, an XA connection is transacted.- See Also:
MQXAConnection
,MQQueueConnection
, Serialized Form
-
-
Method Summary
Methods Modifier and Type Method and Description javax.jms.XAQueueSession
createXAQueueSession()
Creates an XA queue session.-
Methods inherited from class com.ibm.mq.jms.MQQueueConnection
createConnectionConsumer, createQueueSession
-
Methods inherited from class com.ibm.mq.jms.MQConnection
close, createConnectionConsumer, createDurableConnectionConsumer, createSession, createSession, createSession, createSharedConnectionConsumer, createSharedDurableConnectionConsumer, 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.Connection
close, createConnectionConsumer, createDurableConnectionConsumer, createSession, createSession, createSharedConnectionConsumer, createSharedDurableConnectionConsumer, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop
-
-
-
-
Method Detail
-
createXAQueueSession
public javax.jms.XAQueueSession createXAQueueSession() throws javax.jms.JMSException
Creates an XA queue session.- Specified by:
createXAQueueSession
in interfacejavax.jms.XAQueueConnection
- Returns:
- the XA queue session
- Throws:
javax.jms.JMSException
- if the JMS connection fails to create an XA queue session due to some internal error.- See Also:
XAQueueConnection.createXAQueueSession()
-
-