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
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