createXAConnection

 

public XAConnection createXAConnection(String userName, String password) 
              throws JMSException;

Creates an XA connection with the specified user identity. The connection is created in stopped mode. No messages are delivered until the XAConnection.start() method is called explicitly.

Parameters

  • userName - the user name of the caller.

  • password - the password of the caller.

Returns

  • a newly created XA connection.

Exceptions

  • JMSException - if JMS fails to create an XA connection because of an internal JMS error.

  • JMSSecurityException - if client authentication fails because the user name or password is not valid.


uj30900_