当前页面:
在线文档首页 >
Java Platform, Enterprise Edition v1.3.1 API Specifications
Java 2 Platform EE v1.3: Interface XAQueueSession - Java Platform, Enterprise Edition v1.3.1 API Specifications
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
Methods inherited from interface javax.jms.Session |
close, createBytesMessage, createMapMessage, createMessage, createObjectMessage, createObjectMessage, createStreamMessage, createTextMessage, createTextMessage, getMessageListener, recover, run, setMessageListener |
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.