com.ibm.mq.jms

Class MQTopicConnectionFactory

  • 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

      • MQTopicConnectionFactory

        public MQTopicConnectionFactory()
        The default constructor
    • Method Detail

      • createTopicConnection

        public javax.jms.TopicConnection createTopicConnection()
                                                        throws javax.jms.JMSException
        Creates a topic connection with default user identity.
        Specified by:
        createTopicConnection in interface javax.jms.TopicConnectionFactory
        Returns:
        a newly created queue connection
        Throws:
        javax.jms.JMSException - if the JMS provider fails to create a topic connection due to some internal error
        javax.jms.JMSSecurityException - if client authentication fails due to invalid user name or password
        See Also:
        TopicConnectionFactory.createTopicConnection()
      • createTopicConnection

        public javax.jms.TopicConnection createTopicConnection(java.lang.String userid,
                                                      java.lang.String password)
                                                        throws javax.jms.JMSException
        Creates a topic connection with the specified user identity.
        Specified by:
        createTopicConnection in interface javax.jms.TopicConnectionFactory
        Parameters:
        userid - the caller's user name
        password - the caller's password
        Returns:
        a newly created topic connection
        Throws:
        javax.jms.JMSException - if the JMS provider fails to create a topic connection due to some internal error
        javax.jms.JMSSecurityException - if client authentication fails due to invalid user name or password
        See Also:
        TopicConnectionFactory.createTopicConnection(String,String)
(c) Copyright IBM Corp. 2008, 2015. All Rights Reserved.