diff options
author | Gordon Sim <gsim@apache.org> | 2011-06-15 11:48:43 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2011-06-15 11:48:43 +0000 |
commit | 3492b186c33b875dc2f0fb18fc32ab4dadd77a3d (patch) | |
tree | 50b00dded177e6390f8ebef903f35fd863229a9c /cpp/include | |
parent | ffe1a98a4749d84060355bacf881ac1d2ba1324c (diff) | |
download | qpid-python-3492b186c33b875dc2f0fb18fc32ab4dadd77a3d.tar.gz |
QPID-3200: Add new method to session for cumulative acknowledgement upto (and including) a specified message
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1136003 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/include')
-rw-r--r-- | cpp/include/qpid/messaging/Session.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/include/qpid/messaging/Session.h b/cpp/include/qpid/messaging/Session.h index 52786eb5f4..428f8aa491 100644 --- a/cpp/include/qpid/messaging/Session.h +++ b/cpp/include/qpid/messaging/Session.h @@ -78,6 +78,10 @@ class QPID_MESSAGING_CLASS_EXTERN Session : public qpid::messaging::Handle<Sessi */ QPID_MESSAGING_EXTERN void acknowledge(Message&, bool sync=false); /** + * Acknowledges all message up to the specified message. + */ + QPID_MESSAGING_EXTERN void acknowledgeUpTo(Message&, bool sync=false); + /** * Rejects the specified message. The broker does not redeliver a * message that has been rejected. Once a message has been * acknowledged, it can no longer be rejected. |