From abb014cca3fdb3ffe1c5008c2481a09410d07b49 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Thu, 17 Jan 2008 13:04:56 +0000 Subject: Set the exchange field in delivery properties on the broker. (required an adjustment to the size of messages in the bytes based credit test) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@612805 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/broker/SemanticState.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'cpp') diff --git a/cpp/src/qpid/broker/SemanticState.cpp b/cpp/src/qpid/broker/SemanticState.cpp index 9233685800..7b4035604f 100644 --- a/cpp/src/qpid/broker/SemanticState.cpp +++ b/cpp/src/qpid/broker/SemanticState.cpp @@ -350,6 +350,7 @@ void SemanticState::handle(intrusive_ptr msg) { void SemanticState::route(intrusive_ptr msg, Deliverable& strategy) { std::string exchangeName = msg->getExchangeName(); + msg->getProperties()->setExchange(exchangeName); if (!cacheExchange || cacheExchange->getName() != exchangeName){ cacheExchange = session.getConnection().broker.getExchanges().get(exchangeName); } -- cgit v1.2.1