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
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.
jBroker is a registered trademark of Novell, Inc.
Copyright 1998-2003 Novell, Inc. All Rights Reserved.