activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1044766 - /activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompProtocolHandler.scala
Date Sun, 12 Dec 2010 04:50:27 GMT
Author: chirino
Date: Sun Dec 12 04:50:26 2010
New Revision: 1044766

URL: http://svn.apache.org/viewvc?rev=1044766&view=rev
Log:
Fixes failing assertion.

Modified:
    activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompProtocolHandler.scala

Modified: activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompProtocolHandler.scala
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompProtocolHandler.scala?rev=1044766&r1=1044765&r2=1044766&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompProtocolHandler.scala
(original)
+++ activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompProtocolHandler.scala
Sun Dec 12 04:50:26 2010
@@ -745,11 +745,13 @@ class StompProtocolHandler extends Proto
             consumer.release
             rc match {
               case Failure(reason)=>
+                consumers -= id
                 async_die(reason)
               case _ =>
                 send_receipt(headers)
             }
           case Failure(reason) =>
+            consumers -= id
             async_die(reason)
         }
       }



Mime
View raw message