|
Préférences
Moteurs de recherche
|
|||||||
JavaTM Platform, Enterprise Edition, v 5.0
javax.jms
|
Method Summary | |
---|---|
XAConnection |
createXAConnection()
Creates an XAConnection with the default user identity. |
XAConnection |
createXAConnection(String userName,
String password)
Creates an XA connection with the specified user identity. |
Method Detail |
---|
XAConnection createXAConnection() throws JMSException
XAConnection
with the default user identity.
The connection is created in stopped mode. No messages
will be delivered until the Connection.start
method
is explicitly called.
XAConnection
JMSException
- if the JMS provider fails to create an XA
connection due to some internal error.
JMSSecurityException
- if client authentication fails due to
an invalid user name or password.XAConnection createXAConnection(String userName, String password) throws JMSException
Connection.start
method
is explicitly called.
userName
- the caller's user namepassword
- the caller's password
JMSException
- if the JMS provider fails to create an XA
connection due to some internal error.
JMSSecurityException
- if client authentication fails due to
an invalid user name or password.