diff options
author | Carl C. Trieloff <cctrieloff@apache.org> | 2007-09-14 21:09:31 +0000 |
---|---|---|
committer | Carl C. Trieloff <cctrieloff@apache.org> | 2007-09-14 21:09:31 +0000 |
commit | c1c76cc53749b4a39e4ea50af75aca083edd0ed3 (patch) | |
tree | 1cf2bd4b723b701437646d89672baf24b99f66e8 /cpp/src/qpid/broker/BrokerQueue.cpp | |
parent | 8f6c5c6124db155ebad4533d66e1d2135ab21396 (diff) | |
download | qpid-python-c1c76cc53749b4a39e4ea50af75aca083edd0ed3.tar.gz |
convert dequeue to counter for async
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@575792 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/BrokerQueue.cpp')
-rw-r--r-- | cpp/src/qpid/broker/BrokerQueue.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/qpid/broker/BrokerQueue.cpp b/cpp/src/qpid/broker/BrokerQueue.cpp index 29e2256b56..e41c54b52c 100644 --- a/cpp/src/qpid/broker/BrokerQueue.cpp +++ b/cpp/src/qpid/broker/BrokerQueue.cpp @@ -323,6 +323,7 @@ bool Queue::enqueue(TransactionContext* ctxt, Message::shared_ptr& msg) bool Queue::dequeue(TransactionContext* ctxt, Message::shared_ptr& msg) { if (msg->isPersistent() && store) { + msg->dequeueAsync(); //increment to async counter -- for message sent to more than one queue store->dequeue(ctxt, *msg.get(), *this); return true; } |