public interface XATopicConnection extends XAConnection, TopicConnection
XATopicConnection
provides the same create options as TopicConnection
(optional). The Topic
connections created are transactional.
The XATopicConnection
interface is optional. Jakarta Messaging providers are not required to support this interface. This
interface is for use by Jakarta Messaging providers to support transactional environments. Client programs are strongly encouraged
to use the transactional support available in their environment, rather than use these XA interfaces directly.
XAConnection
Modifier and Type | Method and Description |
---|---|
TopicSession |
createTopicSession(boolean transacted,
int acknowledgeMode)
Creates a
TopicSession object. |
XATopicSession |
createXATopicSession()
Creates an
XATopicSession object. |
createSession, createXASession
createConnectionConsumer, createDurableConnectionConsumer
close, createConnectionConsumer, createSession, createSession, createSharedConnectionConsumer, createSharedDurableConnectionConsumer, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop
XATopicSession createXATopicSession() throws JMSException
XATopicSession
object.XATopicSession
JMSException
- if the XATopicConnection
object fails to create an XATopicSession
due to some
internal error.TopicSession createTopicSession(boolean transacted, int acknowledgeMode) throws JMSException
TopicSession
object.createTopicSession
in interface TopicConnection
transacted
- usage undefinedacknowledgeMode
- usage undefinedTopicSession
JMSException
- if the XATopicConnection
object fails to create a TopicSession
due to some
internal error.Session.AUTO_ACKNOWLEDGE
,
Session.CLIENT_ACKNOWLEDGE
,
Session.DUPS_OK_ACKNOWLEDGE
Comments to: jms-dev@eclipse.org.
Copyright © 2018, 2020 Eclipse Foundation. All rights reserved.
Use is subject to license terms.