diff options
author | Alan Conway <aconway@apache.org> | 2013-08-01 20:26:58 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2013-08-01 20:26:58 +0000 |
commit | f2ed9f5fc74bb266fa883409cc50b7e181742594 (patch) | |
tree | a2bae36e3488a0f452f4e9b99cfb44ad1afc66c6 /qpid/cpp/src/qpid/broker/Queue.h | |
parent | eb7bcf0a642673d0c93409300268ee9f97f5475b (diff) | |
download | qpid-python-f2ed9f5fc74bb266fa883409cc50b7e181742594.tar.gz |
QPID-4327: Added TransactionObserver interface.
Added TransactionObserver interface, called at each point in a transaction's
lifecycle. Currently only a single observer can be associated with a
transaction.
Added startTx, startDtx to BrokerObserver so plugins can observe transactions
starting and set a TransactionObserver.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1509421 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/qpid/broker/Queue.h')
-rw-r--r-- | qpid/cpp/src/qpid/broker/Queue.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qpid/cpp/src/qpid/broker/Queue.h b/qpid/cpp/src/qpid/broker/Queue.h index e66a2171e9..a832b95feb 100644 --- a/qpid/cpp/src/qpid/broker/Queue.h +++ b/qpid/cpp/src/qpid/broker/Queue.h @@ -118,6 +118,7 @@ class Queue : public boost::enable_shared_from_this<Queue>, bool prepare(TransactionContext* ctxt) throw(); void commit() throw(); void rollback() throw(); + void callObserver(const boost::shared_ptr<TransactionObserver>&); }; /** |