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.
javax.jms.XASession, javax.jms.TopicSession
| Modifier and Type | Method and Description |
|---|---|
| public TopicSession | Returns: the topic session objectGets the topic session associated with this |
| getTopicSession | back to summary |
|---|---|
| public TopicSession getTopicSession() throws JMSException Gets the topic session associated with this
| |