diff options
| author | Ted Ross <tross@apache.org> | 2008-12-02 12:56:48 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2008-12-02 12:56:48 +0000 |
| commit | b29a37f7a14c41592bd0b758d2b163492d3c99d2 (patch) | |
| tree | d13be3fad778ff10379debfaee6186866eced8b3 | |
| parent | 006b0b803b15f6cffcde91271226c1767330e105 (diff) | |
| download | qpid-python-b29a37f7a14c41592bd0b758d2b163492d3c99d2.tar.gz | |
Added management accounting for transaction dequeues.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@722446 13f79535-47bb-0310-9956-ffa450edef68
| -rw-r--r-- | cpp/src/qpid/broker/Queue.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/src/qpid/broker/Queue.cpp b/cpp/src/qpid/broker/Queue.cpp index 163c471286..22659ec26c 100644 --- a/cpp/src/qpid/broker/Queue.cpp +++ b/cpp/src/qpid/broker/Queue.cpp @@ -626,6 +626,10 @@ void Queue::dequeueCommitted(const QueuedMessage& msg) { Mutex::ScopedLock locker(messageLock); dequeued(msg); + if (mgmtObject != 0) { + mgmtObject->inc_msgTxnDequeues(); + mgmtObject->inc_byteTxnDequeues(msg.payload->contentSize()); + } } /** |
