Author: chirino
Date: Thu Feb 16 20:32:07 2012
New Revision: 1245158

URL: http://svn.apache.org/viewvc?rev=1245158&view=rev
Log:
Fixes APLO-162 : Cannot re-create a durable sub that was previously deleted 
without restarting the broker

Modified:
    
activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/LocalRouter.scala

Modified: 
activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/LocalRouter.scala
URL: 
http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/LocalRouter.scala?rev=1245158&r1=1245157&r2=1245158&view=diff
==============================================================================
--- 
activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/LocalRouter.scala
 (original)
+++ 
activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/LocalRouter.scala
 Thu Feb 16 20:32:07 2012
@@ -663,7 +663,6 @@ class LocalRouter(val virtual_host:Virtu
     def create_destination(address:DestinationAddress, 
security:SecurityContext):Result[Queue,String] = {
       can_create_destination(address, security).map(Failure(_)).getOrElse {
         val dsub = 
_create_queue(DurableSubscriptionQueueBinding(address.asInstanceOf[SubscriptionAddress]))
-        add_destination(address.path, dsub)
         for( l <- router_listeners) {
           l.on_create(dsub, security)
         }


Reply via email to