com.ibm.mq.jms

Class MQQueueConnectionFactory

  • java.lang.Object
    • com.ibm.msg.client.jms.internal.JmsReadablePropertyContextImpl
      • com.ibm.msg.client.jms.internal.JmsPropertyContextImpl
        • com.ibm.msg.client.jms.admin.JmsConnectionFactoryImpl
    • Constructor Detail

      • MQQueueConnectionFactory

        public MQQueueConnectionFactory()
        This is the default constructor.
    • Method Detail

      • createQueueConnection

        public javax.jms.QueueConnection createQueueConnection()
                                                        throws javax.jms.JMSException
        Creates a queue connection with default user identity.
        Specified by:
        createQueueConnection in interface javax.jms.QueueConnectionFactory
        Returns:
        a newly created queue connection.
        Throws:
        javax.jms.JMSException - if JMS Provider fails to create Queue Connection due to some internal error
        javax.jms.JMSSecurityException - if client authentication fails due to invalid user name or password.
      • createQueueConnection

        public javax.jms.QueueConnection createQueueConnection(java.lang.String userid,
                                                      java.lang.String password)
                                                        throws javax.jms.JMSException
        Creates a queue connection with specified user identity.
        Specified by:
        createQueueConnection in interface javax.jms.QueueConnectionFactory
        Parameters:
        userid - the caller's user name
        password - the caller's password
        Returns:
        a newly created queue connection.
        Throws:
        javax.jms.JMSException - if JMS Provider fails to create an MQQueueConnection due to an internal error.
        javax.jms.JMSSecurityException - if client authentication fails due to an invalid user name or password.
(c) Copyright IBM Corp. 2008, 2015. All Rights Reserved.