JMS 1.0.2

javax.jms
Interface XATopicConnection


public interface XATopicConnection
extends XAConnection, TopicConnection

An XATopicConnection provides the same create options as TopicConnection (optional). The only difference is that an XAConnection is by definition transacted.

Version:
1.0 - 13 March 1998
Author:
Mark Hapner, Rich Burridge
See Also:
XAConnection

Method Summary
 TopicSession createTopicSession(boolean transacted, int acknowledgeMode)
          Create an XATopicSession
 XATopicSession createXATopicSession()
          Create an XATopicSession.
 
Methods inherited from interface javax.jms.TopicConnection
createConnectionConsumer, createDurableConnectionConsumer
 
Methods inherited from interface javax.jms.Connection
close, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop
 

Method Detail

createXATopicSession

public XATopicSession createXATopicSession()
                                    throws JMSException
Create an XATopicSession.
Throws:
JMSException - if JMS Connection fails to create a XA topic session due to some internal error.

createTopicSession

public TopicSession createTopicSession(boolean transacted,
                                       int acknowledgeMode)
                                throws JMSException
Create an XATopicSession
Specified by:
createTopicSession in interface TopicConnection
Parameters:
transacted - ignored.
acknowledgeMode - ignored.
Returns:
a newly created XA topic session.
Throws:
JMSException - if JMS Connection fails to create a XA topic session due to some internal error.

JMS 1.0.2

JMS 1.0.2