camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r877003 - in /websites/production/camel/content: cache/main.pageCache camel-2130-release.html graceful-shutdown.html
Date Mon, 02 Sep 2013 08:19:30 GMT
Author: buildbot
Date: Mon Sep  2 08:19:29 2013
New Revision: 877003

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/camel-2130-release.html
    websites/production/camel/content/graceful-shutdown.html

Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/camel/content/camel-2130-release.html
==============================================================================
--- websites/production/camel/content/camel-2130-release.html (original)
+++ websites/production/camel/content/camel-2130-release.html Mon Sep  2 08:19:29 2013
@@ -94,7 +94,7 @@
 
 <p>Welcome to the 2.13.0 release which approx XXX issues resolved (new features, improvements
and bug fixes such as...)</p>
 
-<ul><li>Improved performance when doing <a shape="rect" href="bean.html" title="Bean">Bean</a>
method calls using <a shape="rect" href="simple.html" title="Simple">Simple</a>
OGNL calls</li><li>Improved <a shape="rect" href="dozer-type-conversion.html"
title="Dozer Type Conversion">Dozer Type Conversion</a> to work with OSGi Blueprint</li><li><a
shape="rect" href="jms.html" title="JMS">JMS</a> now also enlists topic destinations
as managed endpoints in <a shape="rect" href="camel-jmx.html" title="Camel JMX">JMX</a></li></ul>
+<ul><li>Improved performance when doing <a shape="rect" href="bean.html" title="Bean">Bean</a>
method calls using <a shape="rect" href="simple.html" title="Simple">Simple</a>
OGNL calls</li><li>Improved <a shape="rect" href="dozer-type-conversion.html"
title="Dozer Type Conversion">Dozer Type Conversion</a> to work with OSGi Blueprint</li><li><a
shape="rect" href="jms.html" title="JMS">JMS</a> now also enlists topic destinations
as managed endpoints in <a shape="rect" href="camel-jmx.html" title="Camel JMX">JMX</a></li><li><a
shape="rect" href="graceful-shutdown.html" title="Graceful Shutdown">Graceful Shutdown</a>
now allows to suppress logging after <tt>CamelContext</tt> has been stopped, due
to a timeout hit, and there may still be inflight <a shape="rect" href="exchange.html"
title="Exchange">Exchange</a>s that may afterwards be rejected being executed and
causing WARN logs; which now can be suppressed.</li></ul>
 
 
 <h3><a shape="rect" name="Camel2.13.0Release-FixedIssues"></a>Fixed Issues</h3>
@@ -120,7 +120,7 @@
 
 <h2><a shape="rect" name="Camel2.13.0Release-APIchanges"></a>API changes</h2>
 
-<ul><li>Added <tt>allowNull</tt> method to <tt>org.apache.camel.TypeConverter</tt></li></ul>
+<ul><li>Added <tt>allowNull</tt> method to <tt>org.apache.camel.TypeConverter</tt></li><li><tt>org.apache.camel.spi.ExceptionHandler</tt>
now extends <tt>CamelContextAware</tt></li></ul>
 
 
 <h2><a shape="rect" name="Camel2.13.0Release-KnownIssues"></a>Known Issues</h2>

Modified: websites/production/camel/content/graceful-shutdown.html
==============================================================================
--- websites/production/camel/content/graceful-shutdown.html (original)
+++ websites/production/camel/content/graceful-shutdown.html Mon Sep  2 08:19:29 2013
@@ -117,6 +117,20 @@
 
 <p>Notice how it waits while there are inflight exchanges still being processed before
it can shutdown.</p>
 
+<h4><a shape="rect" name="GracefulShutdown-Suppressingloggingduetotimeoutnotallowingallinflightmessagestocomplete"></a>Suppressing
logging due to timeout not allowing all inflight messages to complete</h4>
+<p><b>Available as of Camel 2.13</b></p>
+
+<p>If a graceful shutdown could not shutdown cleanly within the given timeout period,
then Camel performs a more aggressive shutdown by forcing routes and thread pools etc to shutdown.
And as well the routing engine will reject continue processing <a shape="rect" href="exchange.html"
title="Exchange">Exchange</a>s. If this happens you may see WARN logs about <a
shape="rect" href="exchange.html" title="Exchange">Exchange</a>s being rejected and
other failures due the forced shutdown.</p>
+
+<p>If you do not want to see these logs, you can suppress this by setting the option
SuppressLoggingOnTimeout to true.</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+context.getShutdownStrategegy().setSuppressLoggingOnTimeout(true);
+]]></script>
+</div></div>
+
+<p>Notice the suppress is a "best effort" though there may still be some logs coming
from 3rd party libraries and whatnot, which Camel cannot control.</p>
+
 <h3><a shape="rect" name="GracefulShutdown-Controllingorderingofroutes"></a>Controlling
ordering of routes</h3>
 <p>You can configure the order in which routes should be started, and thus also the
same order they are being shutdown.<br clear="none">
 See more at <a shape="rect" href="configuring-route-startup-ordering-and-autostartup.html"
title="Configuring route startup ordering and autostartup">Configuring route startup ordering
and autostartup</a>.</p>



Mime
View raw message