Author: clebert.suconic(a)jboss.com
Date: 2011-12-02 00:50:23 -0500 (Fri, 02 Dec 2011)
New Revision: 11808
Modified:
branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/HornetQServerImpl.java
Log:
JBPAPP-7606 - closing the remoting connection before closing the sessions or in call
methods would get lost otherwise
Modified:
branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/HornetQServerImpl.java
===================================================================
---
branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/HornetQServerImpl.java 2011-12-01
20:07:29 UTC (rev 11807)
+++
branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/HornetQServerImpl.java 2011-12-02
05:50:23 UTC (rev 11808)
@@ -492,6 +492,8 @@
}
+ remotingService.stop();
+
// We close all the exception in an attempt to let any pending IO to finish
// to avoid scenarios where the send or ACK got to disk but the response didn't
get to the client
// It may still be possible to have this scenario on a real failure (without the
use of XA)
@@ -517,8 +519,6 @@
storageManager.clearContext();
- remotingService.stop();
-
synchronized (this)
{
// Stop the deployers
Show replies by date