activemq-cpp-3.4.0

cms::XAConnection Class Reference

The XAConnection interface defines an extended Connection type that is used to create XASession objects. More...

#include <src/main/cms/XAConnection.h>

Inheritance diagram for cms::XAConnection:

Public Member Functions

virtual ~XAConnection () throw ()
virtual XASessioncreateXASession ()=0
 Creates an XASession object.

Detailed Description

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.

Since:
2.3

Constructor & Destructor Documentation

virtual cms::XAConnection::~XAConnection ( ) throw () [virtual]

Member Function Documentation

virtual XASession* cms::XAConnection::createXASession ( ) [pure virtual]

Creates an XASession object.

Returns:
a newly created XASession instance, caller owns the pointer.
Exceptions:
CMSExceptionIf the XAConnection object fails to create the XASession instance due to an internal error.

Implemented in activemq::core::ActiveMQXAConnection.


The documentation for this class was generated from the following file: