activemq::core::ActiveMQXASession Class Reference
#include <src/main/activemq/core/ActiveMQXASession.h>
Constructor & Destructor Documentation
| virtual activemq::core::ActiveMQXASession::~ActiveMQXASession |
( |
|
) |
[virtual] |
Member Function Documentation
| virtual void activemq::core::ActiveMQXASession::commit |
( |
|
) |
[virtual] |
Commits all messages done in this transaction and releases any locks currently held.
- Exceptions:
-
| CMSException | - If an internal error occurs. |
| IllegalStateException | - if the method is not called by a transacted session. |
Reimplemented from activemq::core::ActiveMQSession.
| virtual void activemq::core::ActiveMQXASession::doStartTransaction |
( |
|
) |
[virtual] |
| virtual cms::XAResource* activemq::core::ActiveMQXASession::getXAResource |
( |
|
) |
const [virtual] |
Returns the XA resource associated with this Session to the caller.
The client can use the provided XA resource to interact with the XA Transaction Manager in use in the client application.
- Returns:
- an XAResouce instance to the caller, the caller does not own this pointer and should not delete it.
Implements cms::XASession.
| virtual bool activemq::core::ActiveMQXASession::isAutoAcknowledge |
( |
|
) |
const [virtual] |
| virtual bool activemq::core::ActiveMQXASession::isTransacted |
( |
|
) |
const [virtual] |
Gets if the Sessions is a Transacted Session.
- Returns:
- transacted true - false.
- Exceptions:
-
| CMSException | - If an internal error occurs. |
Reimplemented from activemq::core::ActiveMQSession.
| virtual void activemq::core::ActiveMQXASession::rollback |
( |
|
) |
[virtual] |
Rolls back all messages done in this transaction and releases any locks currently held.
- Exceptions:
-
| CMSException | - If an internal error occurs. |
| IllegalStateException | - if the method is not called by a transacted session. |
Reimplemented from activemq::core::ActiveMQSession.
The documentation for this class was generated from the following file: