Class MQXAQueueConnectionFactory

java.lang.Object
com.ibm.msg.client.jakarta.jms.internal.JmsReadablePropertyContextImpl
com.ibm.msg.client.jakarta.jms.internal.JmsPropertyContextImpl
com.ibm.msg.client.jakarta.jms.admin.JmsConnectionFactoryImpl
com.ibm.msg.client.jakarta.jms.admin.JmsJndiConnectionFactoryImpl
All Implemented Interfaces:
JmsConnectionFactory, JmsPropertyContext, JmsQueueConnectionFactory, JmsReadablePropertyContext, JmsXAConnectionFactory, JmsXAQueueConnectionFactory, com.ibm.msg.client.jakarta.provider.ProviderPropertyContextCallback, jakarta.jms.ConnectionFactory, jakarta.jms.QueueConnectionFactory, jakarta.jms.XAConnectionFactory, jakarta.jms.XAQueueConnectionFactory, Serializable, Map<String,Object>, Referenceable

public class MQXAQueueConnectionFactory extends MQQueueConnectionFactory implements JmsXAQueueConnectionFactory, jakarta.jms.XAQueueConnectionFactory
An XAQueueConnectionFactory provides the same create options as an MQQueueConnectionFactory.
See Also:
  • Constructor Details

    • MQXAQueueConnectionFactory

      public MQXAQueueConnectionFactory()
      Default constructor.
  • Method Details

    • createXAQueueConnection

      public jakarta.jms.XAQueueConnection createXAQueueConnection() throws jakarta.jms.JMSException
      Creates an XA queue connection with default user identity.
      Specified by:
      createXAQueueConnection in interface jakarta.jms.XAQueueConnectionFactory
      Returns:
      a newly created XA queue connection
      Throws:
      jakarta.jms.JMSException - if the JMS provider fails to create an XA queue connection due to an internal error
      jakarta.jms.JMSSecurityException - if client authentication fails due to invalid user name or password
    • createXAQueueConnection

      public jakarta.jms.XAQueueConnection createXAQueueConnection(String userid, String password) throws jakarta.jms.JMSException
      Creates an XA queue connection with specified user identity.
      Specified by:
      createXAQueueConnection in interface jakarta.jms.XAQueueConnectionFactory
      Parameters:
      userid - the caller's user name
      password - the caller's password
      Returns:
      a newly created XA queue connection
      Throws:
      jakarta.jms.JMSException - if the JMS provider fails to create an XA queue connection due to an internal error
      jakarta.jms.JMSSecurityException - if client authentication fails due to invalid user name or password
    • createXAContext

      public jakarta.jms.XAJMSContext createXAContext() throws jakarta.jms.JMSRuntimeException, jakarta.jms.JMSSecurityRuntimeException
      Specified by:
      createXAContext in interface jakarta.jms.XAConnectionFactory
      Throws:
      jakarta.jms.JMSRuntimeException
      jakarta.jms.JMSSecurityRuntimeException
      See Also:
      • XAConnectionFactory.createXAContext()
    • createXAContext

      public jakarta.jms.XAJMSContext createXAContext(String userName, String password) throws jakarta.jms.JMSRuntimeException, jakarta.jms.JMSSecurityRuntimeException
      Specified by:
      createXAContext in interface jakarta.jms.XAConnectionFactory
      Throws:
      jakarta.jms.JMSRuntimeException
      jakarta.jms.JMSSecurityRuntimeException
      See Also:
      • XAConnectionFactory.createXAContext(java.lang.String, java.lang.String)