FileDocCategorySizeDatePackage
XAQueueConnection.javaAPI DocGlassfish v2 API3824Fri May 04 22:36:16 BST 2007javax.jms

XAQueueConnection

public interface XAQueueConnection implements QueueConnection, XAConnection
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.

version
1.1 February 2 - 2002
author
Mark Hapner
author
Rich Burridge
author
Kate Stout
see
javax.jms.XAConnection

Fields Summary
Constructors Summary
Methods Summary
public QueueSessioncreateQueueSession(boolean transacted, int acknowledgeMode)
Creates an XAQueueSession object.

param
transacted usage undefined
param
acknowledgeMode usage undefined
return
a newly created XAQueueSession
exception
JMSException if the XAQueueConnection object fails to create an XA queue session due to some internal error.

public XAQueueSessioncreateXAQueueSession()
Creates an XAQueueSession object.

return
a newly created XAQueueSession
exception
JMSException if the XAQueueConnection object fails to create an XA queue session due to some internal error.