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

do-not-reply at jboss.org do-not-reply at jboss.org
Thu Dec 3 05:09:13 EST 2009


Author: jmesnil
Date: 2009-12-03 05:09:13 -0500 (Thu, 03 Dec 2009)
New Revision: 8517

Modified:
   trunk/src/main/org/hornetq/core/remoting/server/impl/RemotingServiceImpl.java
Log:
fixed RemotingServiceImpl.freeze()

* pause the acceptors instead of stopping them. This will not close the existing connections
  on the client side which can then simulate a connection failure in ClusterWithBackupFailoverTestBase.failNode()

Modified: trunk/src/main/org/hornetq/core/remoting/server/impl/RemotingServiceImpl.java
===================================================================
--- trunk/src/main/org/hornetq/core/remoting/server/impl/RemotingServiceImpl.java	2009-12-03 08:29:30 UTC (rev 8516)
+++ trunk/src/main/org/hornetq/core/remoting/server/impl/RemotingServiceImpl.java	2009-12-03 10:09:13 UTC (rev 8517)
@@ -201,7 +201,7 @@
       {
          try
          {
-            acceptor.stop();
+            acceptor.pause();
          }
          catch (Exception e)
          {



More information about the hornetq-commits mailing list