javax.jms
Interface XATopicConnection
- All Superinterfaces:
- Connection, TopicConnection, XAConnection
- 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
- 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.