javax.jms
Interface XAQueueSession

All Superinterfaces:
java.lang.Runnable, Session, XASession

public interface XAQueueSession
extends XASession

An XAQueueSession provides a regular QueueSession, which can be used to create QueueReceiver, QueueSender, and QueueBrowser objects (optional).

See Also:
XASession

Fields inherited from interface javax.jms.Session
AUTO_ACKNOWLEDGE, CLIENT_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE
 
Method Summary
 QueueSession getQueueSession()
          Gets the queue session associated with this XAQueueSession.
 
Methods inherited from interface javax.jms.XASession
commit, getTransacted, getXAResource, rollback
 
Methods inherited from interface javax.jms.Session
close, createBytesMessage, createMapMessage, createMessage, createObjectMessage, createObjectMessage, createStreamMessage, createTextMessage, createTextMessage, getMessageListener, recover, run, setMessageListener
 

Method Detail

getQueueSession

public QueueSession getQueueSession()
                             throws JMSException
Gets the queue session associated with this XAQueueSession.
Returns:
the queue session object
Throws:
JMSException - if an internal error occurs.