activemq::core::ActiveMQXAConnection Class Reference

#include <src/main/activemq/core/ActiveMQXAConnection.h>

Inheritance diagram for activemq::core::ActiveMQXAConnection:
Inheritance graph
[legend]

Public Member Functions

 ActiveMQXAConnection (const Pointer< transport::Transport > &transport, const Pointer< decaf::util::Properties > &properties)
virtual ~ActiveMQXAConnection ()
virtual cms::XASessioncreateXASession ()
 Creates an XASession object.
virtual cms::SessioncreateSession (cms::Session::AcknowledgeMode ackMode)
 Creates a new Session to work for this Connection using the specified acknowledgment mode.
Parameters:
ackMode the Acknowledgment Mode to use.
Exceptions:
CMSException 


Constructor & Destructor Documentation

activemq::core::ActiveMQXAConnection::ActiveMQXAConnection ( const Pointer< transport::Transport > &  transport,
const Pointer< decaf::util::Properties > &  properties 
)
virtual activemq::core::ActiveMQXAConnection::~ActiveMQXAConnection (  )  [virtual]

Member Function Documentation

virtual cms::Session* activemq::core::ActiveMQXAConnection::createSession ( cms::Session::AcknowledgeMode  ackMode  )  [virtual]

Creates a new Session to work for this Connection using the specified acknowledgment mode.

Parameters:
ackMode the Acknowledgment Mode to use.
Exceptions:
CMSException 

Reimplemented from activemq::core::ActiveMQConnection.

virtual cms::XASession* activemq::core::ActiveMQXAConnection::createXASession (  )  [virtual]

Creates an XASession object.

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

Implements cms::XAConnection.


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

Generated on 1 Dec 2014 for activemq-cpp-3.8.2 by  doxygen 1.6.1