You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2011/01/12 17:15:57 UTC
svn commit: r1058219 -
/activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompProtocolHandler.scala
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)