com.ibm.mq.jms

Class MQXAQueueConnectionFactory

  • java.lang.Object
    • Constructor Detail

      • MQXAQueueConnectionFactory

        public MQXAQueueConnectionFactory()
        Default constructor.
    • Method Detail

      • createXAQueueConnection

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

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

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

        public javax.jms.XAJMSContext createXAContext(java.lang.String userName,
                                             java.lang.String password)
                                               throws javax.jms.JMSRuntimeException,
                                                      javax.jms.JMSSecurityRuntimeException
        Specified by:
        createXAContext in interface javax.jms.XAConnectionFactory
        Throws:
        javax.jms.JMSRuntimeException
        javax.jms.JMSSecurityRuntimeException
        See Also:
        XAConnectionFactory.createXAContext(java.lang.String, java.lang.String)
(c) Copyright IBM Corp. 2008, 2015. All Rights Reserved.