jBroker® MQ 2.1

javax.jms
Interface XATopicConnection

All Superinterfaces:
Connection, TopicConnection, XAConnection
All Known Subinterfaces:
JMQXATopicConnection

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.

See Also:
XAConnection

Method Summary
 TopicSession createTopicSession(boolean transacted, int acknowledgeMode)
          Creates an XATopicSession object.
 XATopicSession createXATopicSession()
          Creates an XATopicSession object.
 
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
Creates an XATopicSession object.
Returns:
a newly created XA topic session
Throws:
JMSException - if the XATopicConnection object fails to create an XA topic session due to some internal error.

createTopicSession

public TopicSession createTopicSession(boolean transacted,
                                       int acknowledgeMode)
                                throws JMSException
Creates an XATopicSession object.
Specified by:
createTopicSession in interface TopicConnection
Parameters:
transacted - usage undefined
acknowledgeMode - usage undefined
Returns:
a newly created XA topic session
Throws:
JMSException - if the XATopicConnection object fails to create an XA topic session due to some internal error.

jBroker® MQ 2.1

jBroker is a registered trademark of Novell, Inc.
Copyright 1998-2003 Novell, Inc. All Rights Reserved.