XAQueueSession


public interface XAQueueSession
extends XASession

WebSphere MQ class: MQXAQueueSession



java.lang.Object
   |
   +----com.ibm.mq.jms.MQXASession
           |
           +----com.ibm.mq.jms.MQXAQueueSession

An XAQueueSession provides a regular QueueSession that can be used to create QueueReceivers, QueueSenders and QueueBrowsers. Refer to Appendix E, JMS JTA/XA interface with WebSphere Application Server V4 for details about how WebSphere MQ JMS uses XA classes.

The XAResource that corresponds to the QueueSession can be obtained by calling the getXAResource method, which is is inherited from XASession.

See also: XASession

Methods

getQueueSession
public QueueSession  getQueueSession()
                              throws JMSException

Get the queue session associated with this XAQueueSession.

Returns:
the queue session object.

Throws:
JMSException - if a JMS error occurs.



© IBM Corporation 1997, 2002. All Rights Reserved