activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1088718 - /activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/LocalRouter.scala
Date Mon, 04 Apr 2011 18:50:18 GMT
Author: chirino
Date: Mon Apr  4 18:50:18 2011
New Revision: 1088718

URL: http://svn.apache.org/viewvc?rev=1088718&view=rev
Log:
Queue shutdowns seem to hang somtimes.. need to check why.

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=1088718&r1=1088717&r2=1088718&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
Mon Apr  4 18:50:18 2011
@@ -508,11 +508,13 @@ class LocalRouter(val virtual_host:Virtu
   }
 
   protected def _stop(on_completed: Runnable) = {
-    val tracker = new LoggingTracker("router shutdown", virtual_host.console_log, dispatch_queue)
+//    val tracker = new LoggingTracker("router shutdown", virtual_host.console_log, dispatch_queue)
     queues_by_id.valuesIterator.foreach { queue=>
-      tracker.stop(queue)
+      queue.stop
+//      tracker.stop(queue)
     }
-    tracker.callback(on_completed)
+//    tracker.callback(on_completed)
+    on_completed.run
   }
 
 



Mime
View raw message