summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/Connection.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2009-06-03 16:08:33 +0000
committerGordon Sim <gsim@apache.org>2009-06-03 16:08:33 +0000
commit298f6aa34e0cd07e0d89016990bd9c21902c811d (patch)
treeff346b5f92291daf26bc06145ce8bb1f1546d96f /cpp/src/qpid/cluster/Connection.cpp
parent12048dcd9d13f1c2baeffb4b65c4ce65c0155234 (diff)
downloadqpid-python-298f6aa34e0cd07e0d89016990bd9c21902c811d.tar.gz
Ensure that ring queue behaves as expected when replicated to newly joined cluster node.
Altered queueDurabilityPropagationToNewbie test to not use in-process broker to fix error caused by linking change. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781454 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/Connection.cpp')
-rw-r--r--cpp/src/qpid/cluster/Connection.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/qpid/cluster/Connection.cpp b/cpp/src/qpid/cluster/Connection.cpp
index 77bfbe0c6d..f2904c6734 100644
--- a/cpp/src/qpid/cluster/Connection.cpp
+++ b/cpp/src/qpid/cluster/Connection.cpp
@@ -332,6 +332,7 @@ void Connection::deliveryRecord(const string& qname,
if (!ended) { // Has a message
if (acquired) { // Message is on the update queue
m = getUpdateMessage();
+ m.queue = queue.get();
queue->enqueued(m); //inform queue of the message
} else { // Message at original position in original queue
m = queue->find(position);