XAQueueConnectionFactory provides the same create options as
a QueueConnectionFactory (optional).
The XATopicConnectionFactory interface is optional. JMS providers
are not required to support this interface. This interface is for
use by JMS providers to support transactional environments.
Client programs are strongly encouraged to use the transactional support
available in their environment, rather than use these XA
interfaces directly.
javax.jms.QueueConnectionFactory, javax.jms.XAConnectionFactory
| Modifier and Type | Method and Description |
|---|---|
| public XAQueueConnection | Returns: a newly created XA queue connectionCreates an XA queue connection with the default user identity. |
| public XAQueueConnection | Returns: a newly created XA queue connectionthe caller's user name userName, String the caller's password password)Creates an XA queue connection with the specified user identity. |
| createXAQueueConnection | back to summary |
|---|---|
| public XAQueueConnection createXAQueueConnection() throws JMSException Creates an XA queue connection with the default user identity.
The connection is created in stopped mode. No messages
will be delivered until the
| |
| createXAQueueConnection | back to summary |
|---|---|
| public XAQueueConnection createXAQueueConnection(String userName, String password) throws JMSException Creates an XA queue connection with the specified user identity.
The connection is created in stopped mode. No messages
will be delivered until the
| |