You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2009/05/15 17:00:51 UTC
svn commit: r775172 -
/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Session.h
Author: tabish
Date: Fri May 15 15:00:50 2009
New Revision: 775172
URL: http://svn.apache.org/viewvc?rev=775172&view=rev
Log:
Add the individual ack mode to the list of session ack modes for use in later 3.x releases.
Modified:
activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Session.h
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Session.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Session.h?rev=775172&r1=775171&r2=775172&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Session.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Session.h Fri May 15 15:00:50 2009
@@ -100,7 +100,14 @@
/**
* Messages will be consumed when the transaction commits.
*/
- SESSION_TRANSACTED
+ SESSION_TRANSACTED,
+
+ /**
+ * Message will be acknowledged individually. Normally the acks sent
+ * acknowledge the given message and all messages received before it, this
+ * mode only acknowledges one message.
+ */
+ INDIVIDUAL_ACKNOWLEDGE
};