diff options
author | Gordon Sim <gsim@apache.org> | 2008-01-17 13:04:56 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2008-01-17 13:04:56 +0000 |
commit | abb014cca3fdb3ffe1c5008c2481a09410d07b49 (patch) | |
tree | 856943bd587f3ae838248db146c583b4574c84f8 /cpp | |
parent | a2341ac1aabcaf7f367d05f74438de982d5e35b5 (diff) | |
download | qpid-python-abb014cca3fdb3ffe1c5008c2481a09410d07b49.tar.gz |
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
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/src/qpid/broker/SemanticState.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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<Message> msg) { void SemanticState::route(intrusive_ptr<Message> msg, Deliverable& strategy) { std::string exchangeName = msg->getExchangeName(); + msg->getProperties<DeliveryProperties>()->setExchange(exchangeName); if (!cacheExchange || cacheExchange->getName() != exchangeName){ cacheExchange = session.getConnection().broker.getExchanges().get(exchangeName); } |