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/10/20 16:49:01 UTC
svn commit: r827604 -
/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp
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 );
}