createQueueConnection

 

public QueueConnection createQueueConnection(String userName, 
                                             String password) 
              throws JMSException;

Creates a queue connection with specified user identity.

Parameters

  • userName - the caller's user name

  • password - the caller's password

Returns

  • a newly created queue connection.

Exceptions

  • JMSException - if JMS Provider fails to create an MQQueueConnection due to an internal error.

  • JMSSecurityException - if client authentication fails due to an invalid user name or password.


uj29800_