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 | 02a6c2f7ab64332ea13dff4605a8478b4ec9bd37 (patch) | |
| tree | 8daf10524a6b7f20dd342df4ced6fc458d608817 /qpid/cpp/include | |
| parent | ffffe1b5cd71d2f12a26124a903811a1e3da3c12 (diff) | |
| download | qpid-python-02a6c2f7ab64332ea13dff4605a8478b4ec9bd37.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@1136003 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/include')
| -rw-r--r-- | qpid/cpp/include/qpid/messaging/Session.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qpid/cpp/include/qpid/messaging/Session.h b/qpid/cpp/include/qpid/messaging/Session.h index 52786eb5f4..428f8aa491 100644 --- a/qpid/cpp/include/qpid/messaging/Session.h +++ b/qpid/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. |
