createXATopicConnection

 

public XATopicConnection createXATopicConnection(String userName, 
                                                 String password) 
              throws JMSException;

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

Parameters

  • userName - the user name of the caller

  • password - the password of the caller

Returns

  • A newly-created XA topic connection.

Exceptions

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

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


uj31220_