#include <ActiveMQTransaction.h>
Inheritance diagram for activemq::core::ActiveMQTransaction:
Configuration options
transaction.redeliveryDelay Wait time between the redelivery of each message
transaction.maxRedeliveryCount Max number of times a message can be redelivered, if the session is rolled back more than this many time, the message is dropped.
|
|
|
|
|
Constructor
|
|
|
|
Adds the Message as a part of the Transaction for the specified ActiveMQConsumer.
|
|
Clean out all Messages from the Rollback Map, deleting the messages as it goes. Destroys the Transaction Info object as well.
|
|
Commit the current Transaction
|
|
Retrieve the Connector resource that is associated with this Session resource.
Implements activemq::core::ActiveMQSessionResource. |
|
Gets the Session Info that this transaction is attached too
Implements activemq::connector::TransactionInfo. |
|
Gets the Transction Id
Implements activemq::connector::TransactionInfo. |
|
Get the Transaction Information object for the current Transaction, returns NULL if no transaction is running
|
|
Called when a queued task has completed, the task that finished is passed along for user consumption. The task is deleted and the count of outstanding tasks is reduced.
Implements activemq::concurrent::TaskListener. |
|
Called when a queued task has thrown an exception while being run. The Callee should assume that this was an unrecoverable exeption and that this task is now defunct. Deletes the Task and notifies the connection that the exception has occurred. Reduce the outstanding task count.
Implements activemq::concurrent::TaskListener. |
|
Removes the ActiveMQMessageListener and all of its transacted messages from the Transaction, this is usually only done when a ActiveMQMessageListener is destroyed.
|
|
Rollback the current Transaction
|
|
Gets the Session Info that this transaction is attached too
Implements activemq::connector::TransactionInfo. |
|
Sets the Transction Id
Implements activemq::connector::TransactionInfo. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|