summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/Exchange.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-03-05 13:28:14 +0000
committerAlan Conway <aconway@apache.org>2009-03-05 13:28:14 +0000
commitaff798ccbc13b41696c661fe07bd3934deb18625 (patch)
treeba59dbefe36754a60386f8632cb07f05e89a61ea /cpp/src/qpid/broker/Exchange.cpp
parent23053617b74f1bbb6c8ae3c60fe24953701a4583 (diff)
downloadqpid-python-aff798ccbc13b41696c661fe07bd3934deb18625.tar.gz
cluster: fix delivery-property.exchange-name set on updated messages.
Logging improvements, useful for debugging: - qpid/SessionState.cpp: show frame bodies with command IDs. - assign cluster-wide id number to each Event. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@750456 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/Exchange.cpp')
-rw-r--r--cpp/src/qpid/broker/Exchange.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/src/qpid/broker/Exchange.cpp b/cpp/src/qpid/broker/Exchange.cpp
index f8b9e4b183..174ed165c9 100644
--- a/cpp/src/qpid/broker/Exchange.cpp
+++ b/cpp/src/qpid/broker/Exchange.cpp
@@ -275,3 +275,7 @@ bool Exchange::MatchQueue::operator()(Exchange::Binding::shared_ptr b)
{
return b->queue == queue;
}
+
+void Exchange::setProperties(const boost::intrusive_ptr<Message>& msg) {
+ msg->getProperties<DeliveryProperties>()->setExchange(getName());
+}