Top Description Methods
javax.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. 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 use these XA interfaces directly.

Since
JMS 1.0
Version
JMS 2.0
See Also
javax.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 javax.jms.TopicConnection.createTopicSession.

Creates a TopicSession object.
public XATopicSession

Returns:

a newly created XATopicSession
createXATopicSession
()

Creates an XATopicSession object.

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

Method Detail

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

Redeclares javax.jms.TopicConnection.createTopicSession.

Creates a TopicSession object.

Parameters
transacted:boolean

usage undefined

acknowledgeMode:int

usage undefined

Returns:TopicSession

a newly created TopicSession

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.