com.ibm.mq.jms

Class MQXATopicConnectionFactory

  • java.lang.Object
    • Constructor Detail

      • MQXATopicConnectionFactory

        public MQXATopicConnectionFactory()
        Default constructor.
    • Method Detail

      • createXATopicConnection

        public javax.jms.XATopicConnection createXATopicConnection()
                                                            throws javax.jms.JMSException
        Creates an XA topic connection with the default user identity
        Specified by:
        createXATopicConnection in interface javax.jms.XATopicConnectionFactory
        Returns:
        a newly created XA topic connection
        Throws:
        javax.jms.JMSException - if JMS Provider fails to create XA topic connection due to some internal error
        javax.jms.JMSSecurityException - if client authentication fails due to invalid user name or password
        See Also:
        XAConnectionFactory.createXAConnection()
      • createXATopicConnection

        public javax.jms.XATopicConnection createXATopicConnection(java.lang.String userid,
                                                          java.lang.String password)
                                                            throws javax.jms.JMSException
        Creates an XA topic connection with the specified user identity.
        Specified by:
        createXATopicConnection in interface javax.jms.XATopicConnectionFactory
        Parameters:
        userid - the caller's user name
        password - the caller's password
        Returns:
        a newly created XA topic connection
        Throws:
        javax.jms.JMSException - if the JMS Provider fails to create the XA topic connection due to some internal error
        javax.jms.JMSSecurityException - if client authentication fails due to invalid user name or password
        See Also:
        XAConnectionFactory.createXAConnection(java.lang.String, java.lang.String)
      • 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.