activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nmitt...@apache.org
Subject svn commit: r502084 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/stomp/StompConnector.cpp
Date Thu, 01 Feb 2007 02:36:47 GMT
Author: nmittler
Date: Wed Jan 31 18:36:46 2007
New Revision: 502084

URL: http://svn.apache.org/viewvc?view=rev&rev=502084
Log:
[AMQCPP-62] fixing validation when receiving ack message 

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/stomp/StompConnector.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/stomp/StompConnector.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/stomp/StompConnector.cpp?view=diff&rev=502084&r1=502083&r2=502084
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/stomp/StompConnector.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/stomp/StompConnector.cpp
Wed Jan 31 18:36:46 2007
@@ -510,7 +510,8 @@
         
         // Auto to Stomp means don't do anything, so we drop it here
         // for client acknowledge we have to send and ack.  
-        if( session->getAckMode() == cms::Session::CLIENT_ACKNOWLEDGE )
+        if( session->getAckMode() == cms::Session::CLIENT_ACKNOWLEDGE || 
+            session->getAckMode() == cms::Session::SESSION_TRANSACTED )
         {
             AckCommand cmd;
 



Mime
View raw message