Top Description Methods
javax.jms

public Interface XAQueueConnection

extends XAConnection, QueueConnection

An XAQueueConnection provides the same create options as QueueConnection (optional). The only difference is that an XAConnection is by definition transacted.

The XAQueueConnection 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.

Since
JMS 1.0
Version
JMS 2.0
See Also
javax.jms.XAConnection

Method Summary

Modifier and TypeMethod and Description
public QueueSession

Returns:

a newly created QueueSession
createQueueSession
(boolean
usage undefined
transacted
,
int
usage undefined
acknowledgeMode
)

Redeclares javax.jms.QueueConnection.createQueueSession.

Creates a QueueSession object.
public XAQueueSession

Returns:

a newly created XAQueueSession
createXAQueueSession
()

Creates an XAQueueSession object.

Inherited from javax.jms.QueueConnection:
createConnectionConsumer
Inherited from javax.jms.XAConnection:
createSessioncreateXASession

Method Detail

createQueueSessionback to summary
public QueueSession createQueueSession(boolean transacted, int acknowledgeMode) throws JMSException

Redeclares javax.jms.QueueConnection.createQueueSession.

Creates a QueueSession object.

Parameters
transacted:boolean

usage undefined

acknowledgeMode:int

usage undefined

Returns:QueueSession

a newly created QueueSession

Exceptions
JMSException:
if the XAQueueConnection object fails to create a QueueSession due to some internal error.
createXAQueueSessionback to summary
public XAQueueSession createXAQueueSession() throws JMSException

Creates an XAQueueSession object.

Returns:XAQueueSession

a newly created XAQueueSession

Exceptions
JMSException:
if the XAQueueConnection object fails to create an XAQueueSession due to some internal error.