Author: buildbot Date: Tue Sep 30 10:18:21 2014 New Revision: 924152 Log: Production update by buildbot for camel
Modified: websites/production/camel/content/cache/main.pageCache websites/production/camel/content/oncompletion.html Modified: websites/production/camel/content/cache/main.pageCache ============================================================================== Binary files - no diff available. Modified: websites/production/camel/content/oncompletion.html ============================================================================== --- websites/production/camel/content/oncompletion.html (original) +++ websites/production/camel/content/oncompletion.html Tue Sep 30 10:18:21 2014 @@ -128,7 +128,7 @@ from("direct:start") .process(new MyProcessor()) .to("mock:result"); ]]></script> -</div></div><p>By default the <strong>onCompletion</strong> will be triggered when the <a shape="rect" href="exchange.html">Exchange</a> is complete and regardless if the <a shape="rect" href="exchange.html">Exchange</a> completed with success or with an failure (such as an Exception was thrown). You can limit the trigger to only occur <code>onCompleteOnly</code> or by <code>onFauilureOnly</code> as shown below:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> +</div></div><p>By default the <strong>onCompletion</strong> will be triggered when the <a shape="rect" href="exchange.html">Exchange</a> is complete and regardless if the <a shape="rect" href="exchange.html">Exchange</a> completed with success or with an failure (such as an Exception was thrown). You can limit the trigger to only occur <code>onCompleteOnly</code> or by <code>onFailureOnly</code> as shown below:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[ from("direct:start") // here we qualify onCompletion to only invoke when the exchange failed (exception or FAULT body)