activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1367284 - /activemq/activemq-apollo/trunk/apollo-openwire/src/main/scala/org/apache/activemq/apollo/openwire/OpenwireProtocolHandler.scala
Date Mon, 30 Jul 2012 20:42:00 GMT
Author: chirino
Date: Mon Jul 30 20:41:59 2012
New Revision: 1367284

URL: http://svn.apache.org/viewvc?rev=1367284&view=rev
Log:
Set the redelivery counter on the openwire message deliveries.

Modified:
    activemq/activemq-apollo/trunk/apollo-openwire/src/main/scala/org/apache/activemq/apollo/openwire/OpenwireProtocolHandler.scala

Modified: activemq/activemq-apollo/trunk/apollo-openwire/src/main/scala/org/apache/activemq/apollo/openwire/OpenwireProtocolHandler.scala
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-openwire/src/main/scala/org/apache/activemq/apollo/openwire/OpenwireProtocolHandler.scala?rev=1367284&r1=1367283&r2=1367284&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-openwire/src/main/scala/org/apache/activemq/apollo/openwire/OpenwireProtocolHandler.scala
(original)
+++ activemq/activemq-apollo/trunk/apollo-openwire/src/main/scala/org/apache/activemq/apollo/openwire/OpenwireProtocolHandler.scala
Mon Jul 30 20:41:59 2012
@@ -813,6 +813,7 @@ class OpenwireProtocolHandler extends Pr
       val (session, delivery) = event
       val dispatch = new MessageDispatch
       dispatch.setConsumerId(info.getConsumerId)
+      dispatch.setRedeliveryCounter(delivery.redeliveries)
       if( delivery.message eq EndOfBrowseMessage ) {
         // Then send the end of browse message.
         dispatch



Mime
View raw message