activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1058219 - /activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompProtocolHandler.scala
Date Wed, 12 Jan 2011 16:15:57 GMT
Author: chirino
Date: Wed Jan 12 16:15:57 2011
New Revision: 1058219

URL: http://svn.apache.org/viewvc?rev=1058219&view=rev
Log:
Fixes assertion error that occurred on consumer unsubscribe.

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=1058219&r1=1058218&r2=1058219&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
Wed Jan 12 16:15:57 2011
@@ -891,7 +891,8 @@ class StompProtocolHandler extends Proto
       case None=>
         die("The subscription '%s' not found.".format(id))
       case Some(consumer)=>
-        // consumer.close
+
+        consumers -= id
         if( consumer.binding==null ) {
           host.router.unbind(consumer.destination, consumer)
           send_receipt(headers)



Mime
View raw message