summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/TopicExchange.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/TopicExchange.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/TopicExchange.cpp')
-rw-r--r--cpp/src/qpid/broker/TopicExchange.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/TopicExchange.cpp b/cpp/src/qpid/broker/TopicExchange.cpp
index cf4a765266..d9be8b0d68 100644
--- a/cpp/src/qpid/broker/TopicExchange.cpp
+++ b/cpp/src/qpid/broker/TopicExchange.cpp
@@ -180,7 +180,7 @@ bool TopicExchange::isBound(Queue::shared_ptr queue, TopicPattern& pattern)
void TopicExchange::route(Deliverable& msg, const string& routingKey, const FieldTable* /*args*/){
RWlock::ScopedRlock l(lock);
- preRoute(msg);
+ PreRoute pr(msg, this);
uint32_t count(0);
Tokens tokens(routingKey);