Author: buildbot Date: Mon May 22 19:19:14 2017 New Revision: 1012721 Log: Production update by buildbot for camel
Modified: websites/production/camel/content/cache/main.pageCache websites/production/camel/content/error-handler.html Modified: websites/production/camel/content/cache/main.pageCache ============================================================================== Binary files - no diff available. Modified: websites/production/camel/content/error-handler.html ============================================================================== --- websites/production/camel/content/error-handler.html (original) +++ websites/production/camel/content/error-handler.html Mon May 22 19:19:14 2017 @@ -156,7 +156,7 @@ RouteBuilder builder = new RouteBuilder( ... </camel:camelContext> ]]></script> -</div></div><h4 id="ErrorHandler-TransactionErrorHandler"><a shape="rect" href="transactionerrorhandler.html">TransactionErrorHandler</a></h4><p>The <a shape="rect" href="transactionerrorhandler.html">TransactionErrorHandler</a> is the default error handler in Camel for transacted routes.</p><div class="confluence-information-macro confluence-information-macro-tip"><span class="aui-icon aui-icon-small aui-iconfont-approve confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>If you have marked a route as transacted using the <strong><code>transacted</code></strong> DSL then Camel will automatic use a <a shape="rect" href="transactionerrorhandler.html">TransactionErrorHandler</a>. It will try to lookup the global/per route configured error handler and use it if its a <strong><code>TransactionErrorHandlerBuilder</code></strong> instance. If not Camel will automatic create a temporary <a shape="rect" href="transactionerrorhandler.html">TransactionE rrorHandler</a> that overrules the default error handler. This is convention over configuration.</p></div></div><h3 id="ErrorHandler-FeaturesSupportbyVariouss">Features Support by Various <a shape="rect" href="error-handler.html">Error Handler</a>s</h3><p>Here is a breakdown of which features is supported by the <a shape="rect" href="error-handler.html">Error Handler</a>(s):</p><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Feature</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Supported By The Following <a shape="rect" href="error-handler.html">Error Handler</a></p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>all scopes</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="defaulterrorhandler.html">DefaultErrorHandler</a>, <a shape="rect" href="transactionerrorhandler.html">TransactionErrorHandler</a>, <a shape="rect" href="dead-letter-channel.html">D ead Letter Channel</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>onException</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="defaulterrorhandler.html">DefaultErrorHandler</a>, <a shape="rect" href="transactionerrorhandler.html">TransactionErrorHandler</a>, <a shape="rect" href="dead-letter-channel.html">Dead Letter Channel</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>onWhen</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="defaulterrorhandler.html">DefaultErrorHandler</a>, <a shape="rect" href="transactionerrorhandler.html">TransactionErrorHandler</a>, <a shape="rect" href="dead-letter-channel.html">Dead Letter Channel</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>continued</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="defaulterrorhandler.html">DefaultErrorHandler </a>, <a shape="rect" href="transactionerrorhandler.html">TransactionErrorHandler</a>, <a shape="rect" href="dead-letter-channel.html">Dead Letter Channel</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>handled</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="defaulterrorhandler.html">DefaultErrorHandler</a>, <a shape="rect" href="transactionerrorhandler.html">TransactionErrorHandler</a>, <a shape="rect" href="dead-letter-channel.html">Dead Letter Channel</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>Custom <code>ExceptionPolicy</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="defaulterrorhandler.html">DefaultErrorHandler</a>, <a shape="rect" href="transactionerrorhandler.html">TransactionErrorHandler</a>, <a shape="rect" href="dead-letter-channel.html">Dead Letter Channel</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <p><code>useOriginalBody</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="defaulterrorhandler.html">DefaultErrorHandler</a>, <a shape="rect" href="transactionerrorhandler.html">TransactionErrorHandler</a>, <a shape="rect" href="dead-letter-channel.html">Dead Letter Channel</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>retryWhile</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="defaulterrorhandler.html">DefaultErrorHandler</a>, <a shape="rect" href="transactionerrorhandler.html">TransactionErrorHandler</a>, <a shape="rect" href="dead-letter-channel.html">Dead Letter Channel</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>onRedelivery</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="defaulterrorhandler.html">DefaultErrorHandler</a>, <a shape="rect" href="transactionerrorhandler.html">TransactionErrorHand ler</a>, <a shape="rect" href="dead-letter-channel.html">Dead Letter Channel</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>RedeliveryPolicy</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="defaulterrorhandler.html">DefaultErrorHandler</a>, <a shape="rect" href="transactionerrorhandler.html">TransactionErrorHandler</a>, <a shape="rect" href="dead-letter-channel.html">Dead Letter Channel</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>asyncDelayedRedelivery</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="defaulterrorhandler.html">DefaultErrorHandler</a>, <a shape="rect" href="transactionerrorhandler.html">TransactionErrorHandler</a>, <a shape="rect" href="dead-letter-channel.html">Dead Letter Channel</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>redeliverWhileStopping</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="defaulterrorhandler.html">DefaultErrorHandler</a>, <a shape="rect" href="transactionerrorhandler.html">TransactionErrorHandler</a>, <a shape="rect" href="dead-letter-channel.html">Dead Letter Channel</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>dead letter queue</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="dead-letter-channel.html">Dead Letter Channel</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><code>onPrepareFailure</code></td><td colspan="1" rowspan="1" class="confluenceTd"><a shape="rect" href="defaulterrorhandler.html">DefaultErrorHandler</a><span>, <a shape="rect" href="dead-letter-channel.html">Dead Letter Channel</a></span></td></tr></tbody></table></div><p>See <a shape="rect" href="exception-clause.html">Exception Clause</a> documentation for documentation of some of the features above.</p><h3 id="ErrorHandler-Scopes">Scopes</h3><p>The err or handler is scoped as either</p><ul class="alternate"><li>global</li><li>per route</li></ul><p>The following example shows how you can register a global error handler (in this case using the logging handler)</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> +</div></div><h4 id="ErrorHandler-TransactionErrorHandler"><a shape="rect" href="transactionerrorhandler.html">TransactionErrorHandler</a></h4><p>The <a shape="rect" href="transactionerrorhandler.html">TransactionErrorHandler</a> is the default error handler in Camel for transacted routes.</p><div class="confluence-information-macro confluence-information-macro-tip"><span class="aui-icon aui-icon-small aui-iconfont-approve confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>If you have marked a route as transacted using the <strong><code>transacted</code></strong> DSL then Camel will automatic use a <a shape="rect" href="transactionerrorhandler.html">TransactionErrorHandler</a>. It will try to lookup the global/per route configured error handler and use it if its a <strong><code>TransactionErrorHandlerBuilder</code></strong> instance. If not Camel will automatic create a temporary <a shape="rect" href="transactionerrorhandler.html">TransactionE rrorHandler</a> that overrules the default error handler. This is convention over configuration.</p></div></div><h3 id="ErrorHandler-FeaturesSupportbyVariouss">Features Support by Various <a shape="rect" href="error-handler.html">Error Handler</a>s</h3><p>Here is a breakdown of which features is supported by the <a shape="rect" href="error-handler.html">Error Handler</a>(s):</p><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Feature</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Supported By The Following <a shape="rect" href="error-handler.html">Error Handler</a></p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><em><code>all scopes</code></em></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="defaulterrorhandler.html">DefaultErrorHandler</a>, <a shape="rect" href="transactionerrorhandler.html">TransactionErrorHandler</a>, <a shape="rect" href="dead- letter-channel.html">Dead Letter Channel</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>onException</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="defaulterrorhandler.html">DefaultErrorHandler</a>, <a shape="rect" href="transactionerrorhandler.html">TransactionErrorHandler</a>, <a shape="rect" href="dead-letter-channel.html">Dead Letter Channel</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>onWhen</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="defaulterrorhandler.html">DefaultErrorHandler</a>, <a shape="rect" href="transactionerrorhandler.html">TransactionErrorHandler</a>, <a shape="rect" href="dead-letter-channel.html">Dead Letter Channel</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>continued</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="defaulterrorhandler.htm l">DefaultErrorHandler</a>, <a shape="rect" href="transactionerrorhandler.html">TransactionErrorHandler</a>, <a shape="rect" href="dead-letter-channel.html">Dead Letter Channel</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>handled</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="defaulterrorhandler.html">DefaultErrorHandler</a>, <a shape="rect" href="transactionerrorhandler.html">TransactionErrorHandler</a>, <a shape="rect" href="dead-letter-channel.html">Dead Letter Channel</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>Custom <code>ExceptionPolicy</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="defaulterrorhandler.html">DefaultErrorHandler</a>, <a shape="rect" href="transactionerrorhandler.html">TransactionErrorHandler</a>, <a shape="rect" href="dead-letter-channel.html">Dead Letter Channel</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>useOriginalBody</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="defaulterrorhandler.html">DefaultErrorHandler</a>, <a shape="rect" href="transactionerrorhandler.html">TransactionErrorHandler</a>, <a shape="rect" href="dead-letter-channel.html">Dead Letter Channel</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>retryWhile</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="defaulterrorhandler.html">DefaultErrorHandler</a>, <a shape="rect" href="transactionerrorhandler.html">TransactionErrorHandler</a>, <a shape="rect" href="dead-letter-channel.html">Dead Letter Channel</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>onRedelivery</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="defaulterrorhandler.html">DefaultErrorHandler</a>, <a shape="rect" href="transactionerrorhandler.html ">TransactionErrorHandler</a>, <a shape="rect" href="dead-letter-channel.html">Dead Letter Channel</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>RedeliveryPolicy</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="defaulterrorhandler.html">DefaultErrorHandler</a>, <a shape="rect" href="transactionerrorhandler.html">TransactionErrorHandler</a>, <a shape="rect" href="dead-letter-channel.html">Dead Letter Channel</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>asyncDelayedRedelivery</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="defaulterrorhandler.html">DefaultErrorHandler</a>, <a shape="rect" href="transactionerrorhandler.html">TransactionErrorHandler</a>, <a shape="rect" href="dead-letter-channel.html">Dead Letter Channel</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>redeliverWhileStopping</code></p></td><td c olspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="defaulterrorhandler.html">DefaultErrorHandler</a>, <a shape="rect" href="transactionerrorhandler.html">TransactionErrorHandler</a>, <a shape="rect" href="dead-letter-channel.html">Dead Letter Channel</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><em><code>dead letter queue</code></em></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="dead-letter-channel.html">Dead Letter Channel</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>onPrepareFailure</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="defaulterrorhandler.html">DefaultErrorHandler</a><span>, <a shape="rect" href="dead-letter-channel.html">Dead Letter Channel</a></span></p></td></tr></tbody></table></div><p>See <a shape="rect" href="exception-clause.html">Exception Clause</a> documentation for documentation of some of the features ab ove.</p><h3 id="ErrorHandler-Scopes">Scopes</h3><p>The error handler is scoped as either</p><ul class="alternate"><li>global</li><li>per route</li></ul><p>The following example shows how you can register a global error handler (in this case using the logging handler)</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> <script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ RouteBuilder builder = new RouteBuilder() { public void configure() {