summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/UpdateClient.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2009-11-09 11:50:39 +0000
committerGordon Sim <gsim@apache.org>2009-11-09 11:50:39 +0000
commitbb32d235be89547bb7e8621ce56c66e4dabdd43a (patch)
treeb71fe10c6b14aca106a62711791774cd40044ff4 /cpp/src/qpid/cluster/UpdateClient.cpp
parent436e778182bafd5958f06f657d80d39072354755 (diff)
downloadqpid-python-bb32d235be89547bb7e8621ce56c66e4dabdd43a.tar.gz
QPID-2191: Fix browsing behaviour where messages may have been released out of order
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@834026 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/UpdateClient.cpp')
-rw-r--r--cpp/src/qpid/cluster/UpdateClient.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/qpid/cluster/UpdateClient.cpp b/cpp/src/qpid/cluster/UpdateClient.cpp
index a9761962e8..f263577fd3 100644
--- a/cpp/src/qpid/cluster/UpdateClient.cpp
+++ b/cpp/src/qpid/cluster/UpdateClient.cpp
@@ -252,6 +252,7 @@ void UpdateClient::updateQueue(client::AsyncSession& s, const boost::shared_ptr<
MessageUpdater updater(q->getName(), s, expiry);
q->eachMessage(boost::bind(&MessageUpdater::updateQueuedMessage, &updater, _1));
q->eachBinding(boost::bind(&UpdateClient::updateBinding, this, s, q->getName(), _1));
+ ClusterConnectionProxy(s).queuePosition(q->getName(), q->getPosition());
}
void UpdateClient::updateExclusiveQueue(const boost::shared_ptr<broker::Queue>& q) {