[hornetq-commits] JBoss hornetq SVN: r10967 - branches/HORNETQ-720_Replication/hornetq-core/src/main/java/org/hornetq/core/server/impl.
do-not-reply at jboss.org
do-not-reply at jboss.org
Tue Jul 12 02:24:28 EDT 2011
Author: ataylor
Date: 2011-07-12 02:24:28 -0400 (Tue, 12 Jul 2011)
New Revision: 10967
Modified:
branches/HORNETQ-720_Replication/hornetq-core/src/main/java/org/hornetq/core/server/impl/HornetQServerImpl.java
Log:
close session with false on server shutdown as to not ack last message delivered
Modified: branches/HORNETQ-720_Replication/hornetq-core/src/main/java/org/hornetq/core/server/impl/HornetQServerImpl.java
===================================================================
--- branches/HORNETQ-720_Replication/hornetq-core/src/main/java/org/hornetq/core/server/impl/HornetQServerImpl.java 2011-07-12 02:03:17 UTC (rev 10966)
+++ branches/HORNETQ-720_Replication/hornetq-core/src/main/java/org/hornetq/core/server/impl/HornetQServerImpl.java 2011-07-12 06:24:28 UTC (rev 10967)
@@ -727,7 +727,7 @@
// But at least we will do our best to avoid it on regular shutdowns
for (ServerSession session : sessions.values())
{
- session.close(true);
+ session.close(false);
session.waitContextCompletion();
}
More information about the hornetq-commits
mailing list