From 145087188c7bd24175cbddbe1156433a4b498abc Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Fri, 20 Aug 2010 11:32:11 +0000 Subject: QPID-2807: Allow per message acknowledgement git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@987459 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/include/qpid/messaging/Session.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cpp/include') 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 @@ -75,6 +75,10 @@ class Session : public qpid::messaging::Handle * processed by the server */ 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 -- cgit v1.2.1