diff options
Diffstat (limited to 'cpp/include/qpid/messaging/Session.h')
| -rw-r--r-- | cpp/include/qpid/messaging/Session.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/include/qpid/messaging/Session.h b/cpp/include/qpid/messaging/Session.h index 66a4937e6b..9b373e2d8b 100644 --- a/cpp/include/qpid/messaging/Session.h +++ b/cpp/include/qpid/messaging/Session.h @@ -71,8 +71,11 @@ class Session : public qpid::messaging::Handle<SessionImpl> /** * Acknowledges all outstanding messages that have been received * by the application on this session. + * + * @param sync if true, blocks until the acknowledgement has been + * processed by the server */ - QPID_CLIENT_EXTERN void acknowledge(); + QPID_CLIENT_EXTERN void acknowledge(bool sync=false); /** * Rejects the specified message. This will prevent the message * being redelivered. |
