From 8ec6597d5372ccebb689483b8074085f278022e1 Mon Sep 17 00:00:00 2001 From: "Carl C. Trieloff" Date: Tue, 14 Oct 2008 15:23:51 +0000 Subject: 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 --- cpp/src/qpid/broker/TopicExchange.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/qpid/broker/TopicExchange.cpp') 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); -- cgit v1.2.1