summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
diff options
context:
space:
mode:
authorCarl C. Trieloff <cctrieloff@apache.org>2010-03-26 18:27:17 +0000
committerCarl C. Trieloff <cctrieloff@apache.org>2010-03-26 18:27:17 +0000
commit825032fec73f00022927f8a7c08f35b387984bdc (patch)
tree9a615cdd38cfcaa02b3d148754516afe0261a8a0 /qpid/cpp/src
parent553cc2339a32be5ee7b5db60e5706f8f35929313 (diff)
downloadqpid-python-825032fec73f00022927f8a7c08f35b387984bdc.tar.gz
QPID-2454 Messages set with a TTL expire immediately when sent on qpid queues with LVQ ordering
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@928003 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
-rw-r--r--qpid/cpp/src/qpid/broker/Queue.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qpid/cpp/src/qpid/broker/Queue.cpp b/qpid/cpp/src/qpid/broker/Queue.cpp
index 4ff3cf6d2c..9e379dfc49 100644
--- a/qpid/cpp/src/qpid/broker/Queue.cpp
+++ b/qpid/cpp/src/qpid/broker/Queue.cpp
@@ -502,6 +502,7 @@ void Queue::purgeExpired()
if (lastValueQueue) checkLvqReplace(*i);
if (i->payload->hasExpired()) {
expired.push_back(*i);
+ clearLVQIndex(*i);
i = messages.erase(i);
} else {
++i;