summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorJonathan Robie <jonathan@apache.org>2010-10-14 21:11:38 +0000
committerJonathan Robie <jonathan@apache.org>2010-10-14 21:11:38 +0000
commit5f4c91f9262a201f924d08d01435393965c010be (patch)
treeec506955ac986bfec6b0dc60ebfae774bb3b3fe1 /cpp
parente0dbacab2d80cb918a59709c75c65f986910baa0 (diff)
downloadqpid-python-5f4c91f9262a201f924d08d01435393965c010be.tar.gz
Removed confusing text from reject() and release() doxygen strings.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1022712 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/include/qpid/messaging/Session.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/cpp/include/qpid/messaging/Session.h b/cpp/include/qpid/messaging/Session.h
index 07a76993ee..ed8d87ceb2 100644
--- a/cpp/include/qpid/messaging/Session.h
+++ b/cpp/include/qpid/messaging/Session.h
@@ -80,15 +80,13 @@ class Session : public qpid::messaging::Handle<SessionImpl>
*/
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.
+ * Rejects the specified message. The broker does not redeliver
+ * a message that has been rejected.
*/
QPID_MESSAGING_EXTERN void reject(Message&);
/**
- * Releases the specified message. This will allow the broker to
- * redeliver the message. This must be called before the message
- * is acknowledged.
+ * Releases the specified message. The broker may
+ * redeliver the message.
*/
QPID_MESSAGING_EXTERN void release(Message&);
@@ -97,7 +95,7 @@ class Session : public qpid::messaging::Handle<SessionImpl>
*
* @param block if true, this call will block until the server
* confirms completion of all pending operations; if false the
- * call will request notifcation from the server but will return
+ * call will request notification from the server but will return
* before receiving it.
*/
QPID_MESSAGING_EXTERN void sync(bool block=true);