summaryrefslogtreecommitdiff
path: root/cpp/include
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2010-08-20 11:32:11 +0000
committerGordon Sim <gsim@apache.org>2010-08-20 11:32:11 +0000
commit145087188c7bd24175cbddbe1156433a4b498abc (patch)
tree8d0ff348fe1f068308b6516f6f31874d3d4f3fda /cpp/include
parent91a4eda9bfa588f1d017c218ac2bcc9713338ef2 (diff)
downloadqpid-python-145087188c7bd24175cbddbe1156433a4b498abc.tar.gz
QPID-2807: Allow per message acknowledgement
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@987459 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/include')
-rw-r--r--cpp/include/qpid/messaging/Session.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/include/qpid/messaging/Session.h b/cpp/include/qpid/messaging/Session.h
index 688a4dd102..07a76993ee 100644
--- a/cpp/include/qpid/messaging/Session.h
+++ b/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.