activemq-cpp-3.4.0
|
The XAConnection interface defines an extended Connection type that is used to create XASession objects. More...
#include <src/main/cms/XAConnection.h>
Public Member Functions | |
virtual | ~XAConnection () throw () |
virtual XASession * | createXASession ()=0 |
Creates an XASession object. |
The XAConnection interface defines an extended Connection type that is used to create XASession objects.
This is an optional interface and CMS providers are allowed to omit an implementation and instead throw an exception from an XAConnectionFactory stub to indicate that XA is not supported.
virtual cms::XAConnection::~XAConnection | ( | ) | throw () [virtual] |
virtual XASession* cms::XAConnection::createXASession | ( | ) | [pure virtual] |
Creates an XASession object.
CMSException | If the XAConnection object fails to create the XASession instance due to an internal error. |
Implemented in activemq::core::ActiveMQXAConnection.