public class AQjmsXAConnectionFactory extends AQjmsConnectionFactory implements XAConnectionFactory
| Constructor and Description |
|---|
AQjmsXAConnectionFactory()
Constructs a XAConnectionFactory object.
|
| Modifier and Type | Method and Description |
|---|---|
XAConnection |
createXAConnection()
Creates a
XAConnection with the default user identity. |
XAConnection |
createXAConnection(java.lang.String userName, java.lang.String password)
Creates a
XAConnection with the specified user identity. |
createConnection, createConnection, getDataSource, getJdbcURL, getObjectInstance, getUsername, setDatasource, setJdbcURL, setPassword, setUsernamepublic AQjmsXAConnectionFactory()
public XAConnection createXAConnection() throws JMSException
XAConnection with the default user identity. The XAConnection is created in stopped mode. No messages will be delivered until the XAConnection.start method is explicitly called.createXAConnection in interface XAConnectionFactoryXAConnectionJMSException - if the JMS provider fails to create the connection due to some internal error.JMSSecurityException - if client authentication fails due to an invalid user name or password.public XAConnection createXAConnection(java.lang.String userName, java.lang.String password) throws JMSException
XAConnection with the specified user identity. The XAConnection is created in stopped mode. No messages will be delivered until the XAConnection.start method is explicitly called.createXAConnection in interface XAConnectionFactoryuserName - the caller's user namepassword - the caller's passwordXAConnectionJMSException - if the JMS provider fails to create the XAConnection due to some internal error.JMSSecurityException - if client authentication fails due to an invalid user name or password.