javax.jms

Interface XAConnection

All Superinterfaces:
Connection
Known Subinterfaces:
XAQueueConnection, XATopicConnection

public interface XAConnection
extends Connection

Method Summary

Session
createSession(boolean transacted, int acknowledgeMode)
XASession
createXASession()

Methods inherited from interface javax.jms.Connection

close, createConnectionConsumer, createDurableConnectionConsumer, createSession, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop

Method Details

createSession

public Session createSession(boolean transacted,
                             int acknowledgeMode)
            throws JMSException
Specified by:
createSession in interface Connection

createXASession

public XASession createXASession()
            throws JMSException