You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2012/09/09 15:19:07 UTC

svn commit: r1382492 - /camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultShutdownStrategy.java

Author: davsclaus
Date: Sun Sep  9 13:19:06 2012
New Revision: 1382492

URL: http://svn.apache.org/viewvc?rev=1382492&view=rev
Log:
CAMEL-3364: Added option redeliverWhileStopping to control if redelivery is allowed during stopping a route. Turn this off to stop quicker by not allowing redeliveriers.

Modified:
    camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultShutdownStrategy.java

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultShutdownStrategy.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultShutdownStrategy.java?rev=1382492&r1=1382491&r2=1382492&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultShutdownStrategy.java (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultShutdownStrategy.java Sun Sep  9 13:19:06 2012
@@ -189,7 +189,6 @@ public class DefaultShutdownStrategy ext
             } else {
                 if (forceShutdown || shutdownNowOnTimeout) {
                     LOG.warn("Timeout occurred. Now forcing the routes to be shutdown now.");
-                    forceShutdown = true;
                     // force the routes to shutdown now
                     shutdownRoutesNow(routesOrdered);