activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r827604 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp
Date Tue, 20 Oct 2009 14:49:01 GMT
Author: tabish
Date: Tue Oct 20 14:49:01 2009
New Revision: 827604

URL: http://svn.apache.org/viewvc?rev=827604&view=rev
Log:
Set the redelivery counter on the message contained in the MessageDispatch.

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp?rev=827604&r1=827603&r2=827604&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp
Tue Oct 20 14:49:01 2009
@@ -458,6 +458,7 @@
 
                     dispatch->getMessage()->setReadOnlyBody( true );
                     dispatch->getMessage()->setReadOnlyProperties( true );
+                    dispatch->getMessage()->setRedeliveryCounter( dispatch->getRedeliveryCounter()
);
 
                     dispatcher->dispatch( dispatch );
                 }



Mime
View raw message