You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by jo...@apache.org on 2010/10/14 23:11:38 UTC
svn commit: r1022712 - /qpid/trunk/qpid/cpp/include/qpid/messaging/Session.h
Author: jonathan
Date: Thu Oct 14 21:11:38 2010
New Revision: 1022712
URL: http://svn.apache.org/viewvc?rev=1022712&view=rev
Log:
Removed confusing text from reject() and release() doxygen strings.
Modified:
qpid/trunk/qpid/cpp/include/qpid/messaging/Session.h
Modified: qpid/trunk/qpid/cpp/include/qpid/messaging/Session.h
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/include/qpid/messaging/Session.h?rev=1022712&r1=1022711&r2=1022712&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/include/qpid/messaging/Session.h (original)
+++ qpid/trunk/qpid/cpp/include/qpid/messaging/Session.h Thu Oct 14 21:11:38 2010
@@ -80,15 +80,13 @@ class Session : public qpid::messaging::
*/
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::
*
* @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);
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org