Author: buildbot
Date: Wed Sep 5 09:17:40 2012
New Revision: 831193
Log:
Production update by buildbot for camel
Modified:
websites/production/camel/content/cache/main.pageCache
websites/production/camel/content/threading-model.html
Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.
Modified: websites/production/camel/content/threading-model.html
==============================================================================
--- websites/production/camel/content/threading-model.html (original)
+++ websites/production/camel/content/threading-model.html Wed Sep 5 09:17:40 2012
@@ -172,7 +172,10 @@ See the <tt>org.apache.camel.spi.Executo
<p>The <tt>ExecutorServiceManager</tt> has APIs for shutting down thread
pools graceful and aggressively. Its encourage to use this API for creating and shutting down
thread pools.</p>
-<p>From <b>Camel 2.10.2</b> onwards Camel the graceful <tt>shutdown(executorService)</tt>
method from <tt>ExecutorServiceManager</tt> will shutdown graceful at first, until
a timeout value is hit. After that it shutdown aggressively. The timeout value is by default
<tt>5000</tt> millis. You can configure a custom value on the <tt>ExecutorServiceManager</tt>
if needed.</p>
+<p>From <b>Camel 2.10.2</b> onwards Camel the graceful <tt>shutdown(executorService)</tt>
method from <tt>ExecutorServiceManager</tt> will shutdown graceful at first, until
a timeout value is hit. After that it shutdown aggressively, again using the timeout value
to wait for the operation to complete. This means you can wait at most 2 x timeout for shutting
down the thread pool.<br clear="none">
+The timeout value is by default <tt>30000</tt> millis. You can configure a custom
value on the <tt>ExecutorServiceManager</tt> if needed.</p>
+
+<p>During shutdown Camel will log every 5th second at INFO level progress of shutting
down the thread pool. For example in case a shutdown takes a while, then there is activity
in the logs.</p>
<h3><a shape="rect" name="ThreadingModel-SeeAlso"></a>See Also</h3>
<ul class="alternate" type="square"><li><a shape="rect" href="architecture.html"
title="Architecture">Architecture</a></li><li><a shape="rect" href="async.html"
title="Async">Async</a></li></ul>
|