Top Description Methods
javax.jms

public Interface XATopicSession

extends XASession

An XATopicSession provides a regular TopicSession. which can be used to create TopicSubscriber and TopicPublisher objects (optional).

The XATopicSession 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 using these XA interfaces directly.

Since
JMS 1.0
Version
JMS 2.0
See Also
javax.jms.XASession, javax.jms.TopicSession

Method Summary

Modifier and TypeMethod and Description
public TopicSession

Returns:

the topic session object
getTopicSession
()

Gets the topic session associated with this XATopicSession.

Inherited from javax.jms.XASession:
commitgetSessiongetTransactedgetXAResourcerollback

Method Detail

getTopicSessionback to summary
public TopicSession getTopicSession() throws JMSException

Gets the topic session associated with this XATopicSession.

Returns:TopicSession

the topic session object

Exceptions
JMSException:
if an internal error occurs.