[hornetq-commits] JBoss hornetq SVN: r8307 - trunk/src/main/org/hornetq/core/server/impl.

do-not-reply at jboss.org do-not-reply at jboss.org
Wed Nov 18 04:54:38 EST 2009


Author: jmesnil
Date: 2009-11-18 04:54:38 -0500 (Wed, 18 Nov 2009)
New Revision: 8307

Modified:
   trunk/src/main/org/hornetq/core/server/impl/HornetQServerImpl.java
Log:
stop the ReplicationManager when stopping the server

Modified: trunk/src/main/org/hornetq/core/server/impl/HornetQServerImpl.java
===================================================================
--- trunk/src/main/org/hornetq/core/server/impl/HornetQServerImpl.java	2009-11-18 04:38:26 UTC (rev 8306)
+++ trunk/src/main/org/hornetq/core/server/impl/HornetQServerImpl.java	2009-11-18 09:54:38 UTC (rev 8307)
@@ -384,7 +384,13 @@
             replicationEndpoint.stop();
             replicationEndpoint = null;
          }
-
+         
+         if (replicationManager != null)
+         {
+            replicationManager.stop();
+            replicationManager = null;
+         }
+         
          if (securityManager != null)
          {
             securityManager.stop();



More information about the hornetq-commits mailing list