summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/DirectExchange.cpp
diff options
context:
space:
mode:
authorCarl C. Trieloff <cctrieloff@apache.org>2008-10-14 15:23:51 +0000
committerCarl C. Trieloff <cctrieloff@apache.org>2008-10-14 15:23:51 +0000
commit8ec6597d5372ccebb689483b8074085f278022e1 (patch)
tree68b91ab7b9e8a5634e62d280c78c0b6ca86a4554 /cpp/src/qpid/broker/DirectExchange.cpp
parentba097be388e65acbefa29b2b421a86b57e7554c2 (diff)
downloadqpid-python-8ec6597d5372ccebb689483b8074085f278022e1.tar.gz
Correction of lock scope to make sure ordering from exchange to queue is
preseved when sequencing is used. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@704565 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/DirectExchange.cpp')
-rw-r--r--cpp/src/qpid/broker/DirectExchange.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/DirectExchange.cpp b/cpp/src/qpid/broker/DirectExchange.cpp
index fe2e9db3d5..f760bc9747 100644
--- a/cpp/src/qpid/broker/DirectExchange.cpp
+++ b/cpp/src/qpid/broker/DirectExchange.cpp
@@ -70,7 +70,7 @@ bool DirectExchange::unbind(Queue::shared_ptr queue, const string& routingKey, c
}
void DirectExchange::route(Deliverable& msg, const string& routingKey, const FieldTable* /*args*/){
- preRoute(msg);
+ PreRoute pr(msg, this);
Queues::ConstPtr p;
{
Mutex::ScopedLock l(lock);