diff options
author | Carl C. Trieloff <cctrieloff@apache.org> | 2007-08-21 19:11:07 +0000 |
---|---|---|
committer | Carl C. Trieloff <cctrieloff@apache.org> | 2007-08-21 19:11:07 +0000 |
commit | 8540702068eda8d37c40992ce6d70e9ab4af3237 (patch) | |
tree | a07ec8276da7aa398a203281cb223eb648938f6c /cpp/src/qpid/broker/BrokerQueue.cpp | |
parent | 084598a88510352d4338329d1c412257a4c30f32 (diff) | |
download | qpid-python-8540702068eda8d37c40992ce6d70e9ab4af3237.tar.gz |
- header correction for buffer
- added tests for one msg to multiple queue in async mode
- added counter for async multiple msg
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@568236 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 5567131c19..706179fb52 100644 --- a/cpp/src/qpid/broker/BrokerQueue.cpp +++ b/cpp/src/qpid/broker/BrokerQueue.cpp @@ -249,6 +249,7 @@ bool Queue::canAutoDelete() const{ bool Queue::enqueue(TransactionContext* ctxt, Message::shared_ptr& msg) { if (msg->isPersistent() && store) { + msg->enqueueAsync(); //increment to async counter -- for message sent to more than one queue store->enqueue(ctxt, *msg.get(), *this); return true; } |