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/DirectExchange.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/qpid/broker/DirectExchange.cpp') 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); -- cgit v1.2.1