WebSphere MQ class: MQXAQueueConnectionFactory
java.lang.Object | +----com.ibm.mq.jms.MQConnectionFactory | +----com.ibm.mq.jms.MQQueueConnectionFactory | +----com.ibm.mq.jms.MQXAQueueConnectionFactory |
An XAQueueConnectionFactory provides the same create options as a QueueConnectionFactory. 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: QueueConnectionFactory and XAConnectionFactory
public XAQueueConnection createXAQueueConnection() throws JMSException
Create an XAQueueConnection using the default user identity. The connection is created in stopped mode. No messages are delivered until the Connection.start method is called explicitly.
public XAQueueConnection createXAQueueConnection (java.lang.String userName, java.lang.String password) throws JMSException
Create an XA queue connection using a specific user identity. The connection is created in stopped mode. No messages are delivered until the Connection.start method is called explicitly.