Top Description Methods
jakarta.jms

public Interface XATopicConnection

extends XAConnection, TopicConnection

An 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.

Since
JMS 1.0
Version
Jakarta Messaging 2.0
See Also
jakarta.jms.XAConnection

Method Summary

Modifier and TypeMethod and Description
public TopicSession

Returns:

a newly created TopicSession
createTopicSession
(boolean
usage undefined
transacted
,
int
usage undefined
acknowledgeMode
)

Redeclares jakarta.jms.TopicConnection.createTopicSession.

Creates a TopicSession object.

public XATopicSession

Returns:

a newly created XATopicSession
createXATopicSession
()

Creates an XATopicSession object.

Inherited from jakarta.jms.TopicConnection:
createConnectionConsumercreateDurableConnectionConsumer
Inherited from jakarta.jms.XAConnection:
createSessioncreateXASession

Method Detail

createTopicSessionback to summary
public TopicSession createTopicSession(boolean transacted, int acknowledgeMode) throws JMSException

Redeclares jakarta.jms.TopicConnection.createTopicSession.

Creates a TopicSession object.

Parameters
transacted:boolean

usage undefined

acknowledgeMode:int

usage undefined

Returns:TopicSession

a newly created TopicSession

Annotations
@Override
Exceptions
JMSException:
if the XATopicConnection object fails to create a TopicSession due to some internal error.
createXATopicSessionback to summary
public XATopicSession createXATopicSession() throws JMSException

Creates an XATopicSession object.

Returns:XATopicSession

a newly created XATopicSession

Exceptions
JMSException:
if the XATopicConnection object fails to create an XATopicSession due to some internal error.