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.
- Version:
- 1.0 - 13 March 1998
- Author:
- Mark Hapner, Rich Burridge
- See Also:
XAConnection
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 undefinedacknowledgeMode
- 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.- See Also:
Session.AUTO_ACKNOWLEDGE
,
Session.CLIENT_ACKNOWLEDGE
,
Session.DUPS_OK_ACKNOWLEDGE
exteNd is a registered trademark of Novell, Inc.
Copyright 1998-2004 Novell, Inc. All Rights Reserved.