From a5c0fde5d0b96ae0b747f0cea21414753d6ee654 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Mon, 10 Sep 2007 08:41:05 +0000 Subject: Client side support for message and delivery properties in header segments. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@574176 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/broker/Session.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/src/qpid/broker/Session.cpp') diff --git a/cpp/src/qpid/broker/Session.cpp b/cpp/src/qpid/broker/Session.cpp index a8b22cb12a..650182c807 100644 --- a/cpp/src/qpid/broker/Session.cpp +++ b/cpp/src/qpid/broker/Session.cpp @@ -336,13 +336,13 @@ void Session::route(Message::shared_ptr msg, Deliverable& strategy) { cacheExchange = getAdapter()->getConnection().broker.getExchanges().get(exchangeName); } - cacheExchange->route(strategy, msg->getRoutingKey(), &(msg->getApplicationHeaders())); + cacheExchange->route(strategy, msg->getRoutingKey(), msg->getApplicationHeaders()); if (!strategy.delivered) { //TODO:if reject-unroutable, then reject //else route to alternate exchange if (cacheExchange->getAlternate()) { - cacheExchange->getAlternate()->route(strategy, msg->getRoutingKey(), &(msg->getApplicationHeaders())); + cacheExchange->getAlternate()->route(strategy, msg->getRoutingKey(), msg->getApplicationHeaders()); } } -- cgit v1.2.1