diff options
| author | Gordon Sim <gsim@apache.org> | 2010-08-20 11:32:11 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2010-08-20 11:32:11 +0000 |
| commit | 4522e6a49bab8d8256b9b16b20ba26bbf24354b7 (patch) | |
| tree | fa83350159117b9f242601e0eadb41d037bffacb /qpid/cpp/include | |
| parent | beaf47afd38879e44fad47c791c177544d347233 (diff) | |
| download | qpid-python-4522e6a49bab8d8256b9b16b20ba26bbf24354b7.tar.gz | |
QPID-2807: Allow per message acknowledgement
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@987459 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 688a4dd102..07a76993ee 100644 --- a/qpid/cpp/include/qpid/messaging/Session.h +++ b/qpid/cpp/include/qpid/messaging/Session.h @@ -76,6 +76,10 @@ class Session : public qpid::messaging::Handle<SessionImpl> */ QPID_MESSAGING_EXTERN void acknowledge(bool sync=false); /** + * Acknowledges the specified message. + */ + QPID_MESSAGING_EXTERN void acknowledge(Message&, bool sync=false); + /** * Rejects the specified message. This will prevent the message * being redelivered. This must be called before the message is * acknowledged. |
