createTopicConnection
public TopicConnection createTopicConnection(String userName, String password) throws JMSException;
Creates a topic connection with specified user identity.
- Parameters
- userName - the caller's user name
- password - the caller's password
- Returns
- a newly created topic connection.
- Exceptions
- JMSException - if JMS Provider fails to create Topic Connection due to some internal error.
- JMSSecurityException - if client authentication fails due to invalid user name or password.
uj30630_