summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/Queue.h
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2009-06-05 17:39:07 +0000
committerGordon Sim <gsim@apache.org>2009-06-05 17:39:07 +0000
commit6efddffd3c04fc16d2e63ccfa9db6c6ad0798825 (patch)
tree7b9e3b3b7e02b058af5919649cc0831bee99605a /cpp/src/qpid/broker/Queue.h
parentdb28bbe4b54cef5457e5349f85a154393db70a8d (diff)
downloadqpid-python-6efddffd3c04fc16d2e63ccfa9db6c6ad0798825.tar.gz
Further fix to new cluster member state transfer to fix a case where unacked messages on ring policy queue cause inconsistencies in queue state between nodes.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@782075 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/Queue.h')
-rw-r--r--cpp/src/qpid/broker/Queue.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/cpp/src/qpid/broker/Queue.h b/cpp/src/qpid/broker/Queue.h
index de60362854..a8b775cba7 100644
--- a/cpp/src/qpid/broker/Queue.h
+++ b/cpp/src/qpid/broker/Queue.h
@@ -257,6 +257,15 @@ namespace qpid {
* clustered broker.
*/
void enqueued(const QueuedMessage& msg);
+
+ /**
+ * Test whether the specified message (identified by its
+ * sequence/position), is still enqueued (note this
+ * doesn't mean it is available for delivery as it may
+ * have been delievered to a subscriber who has not yet
+ * accepted it).
+ */
+ bool isEnqueued(const QueuedMessage& msg);
/**
* Gets the next available message