camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1381923 - /camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultCamelContext.java
Date Fri, 07 Sep 2012 08:00:06 GMT
Author: davsclaus
Date: Fri Sep  7 08:00:05 2012
New Revision: 1381923

URL: http://svn.apache.org/viewvc?rev=1381923&view=rev
Log:
CAMEL-5564: Ensure default error handler thread pool and management load task pool is shutdown
properly.

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

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultCamelContext.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultCamelContext.java?rev=1381923&r1=1381922&r2=1381923&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultCamelContext.java (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultCamelContext.java Fri
Sep  7 08:00:05 2012
@@ -1604,7 +1604,8 @@ public class DefaultCamelContext extends
 
         // shutdown default error handler thread pool
         if (errorHandlerExecutorService != null) {
-            getExecutorServiceManager().shutdown(errorHandlerExecutorService);
+            // force shutting down the thread pool
+            getExecutorServiceManager().shutdownNow(errorHandlerExecutorService);
             errorHandlerExecutorService = null;
         }
 



Mime
View raw message