Author: buildbot
Date: Fri Feb 14 08:19:13 2014
New Revision: 897869

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/cxfrs.html
    websites/production/camel/content/message-filter.html

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

Modified: websites/production/camel/content/cxfrs.html
==============================================================================
--- websites/production/camel/content/cxfrs.html (original)
+++ websites/production/camel/content/cxfrs.html Fri Feb 14 08:19:13 2014
@@ -112,7 +112,7 @@
 <code>org.apache.camel.rs.Exchange2</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> No </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <em>None</em> </p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>resourceClass</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Deprecated</strong>: 
Use <code>resourceClasses</code> The resource class which you want to export as 
REST service. </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>resourceClass =org.apache.camel.rs.Example1</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> No </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <em>None</em> </p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p> <code>httpClientAPI</code> 
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>new to 
Camel 2.1</strong> If it is true, the CxfRsProducer will use the HttpClientAPI 
to invoke the se
 rvice <br clear="none" class="atl-forced-newline">
 If it is false, the CxfRsProducer will use the ProxyClientAPI to invoke the 
service </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> 
httpClientAPI=true </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> No </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <em>true</em> </p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p> synchronous </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> New in 2.5, this option will let 
CxfRsConsumer decide to use sync or async API to do the underlying work. The 
default value is false which means it will try to use async API by default. 
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> synchronous=true 
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> No </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> false </p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p> throwExceptionOnFailure 
</p></td><td colspan="1" rowspan="1" class="confluenc
 eTd"><p> New in 2.6, this option tells the CxfRsProducer to inspect return 
codes and will generate an Exception if the return code is larger than 207. 
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> 
throwExceptionOnFailure=true </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> No </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> true </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>maxClientCacheSize</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> New in 2.6, you can set a IN 
message header CamelDestinationOverrideUrl to dynamically override the target 
destination Web Service or REST Service defined in your routes.&#160; The 
implementation caches CXF clients or ClientFactoryBean in CxfProvider and 
CxfRsProvider.&#160; This option allows you to configure the maximum size of 
the cache. <br clear="none" class="atl-forced-newline"> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> maxClien
 tCacheSize=5 </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> No 
<br clear="none" class="atl-forced-newline"> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> 10 </p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>setDefaultBus</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> New in 2.9.0. Will set the 
default bus when CXF endpoint create a bus by itself </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>setDefaultBus=true</code> 
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> No </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> <code>false</code> 
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>bus</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> 
New in 2.9.0. A default bus created by CXF Bus Factory. Use <code>#</code> 
notation to reference a bus object from the registry. The referenced object 
must be an instance of <code
 >org.apache.cxf.Bus</code>. </p></td><td colspan="1" rowspan="1" 
 >class="confluenceTd"><p> <code>bus=#busName</code> </p></td><td colspan="1" 
 >rowspan="1" class="confluenceTd"><p> No </p></td><td colspan="1" rowspan="1" 
 >class="confluenceTd"><p> <em>None</em> </p></td></tr><tr><td colspan="1" 
 >rowspan="1" class="confluenceTd"><p> <code>bindingStyle</code> </p></td><td 
 >colspan="1" rowspan="1" class="confluenceTd"><p> <strong>As of 2.11</strong>. 
 >Sets how requests and responses will be mapped to/from Camel. Two values are 
 >possible: </p>
 <ul class="alternate" type="square"><li><code>SimpleConsumer</code> =&gt; see 
the <a shape="rect" 
href="#CXFRS-ConsumingaRESTRequest-SimpleBindingStyle">Consuming a REST Request 
with the Simple Binding Style</a> below.</li><li><code>Default</code> =&gt; the 
default style. For consumers this passes on a <code>MessageContentsList</code> 
to the route, requiring low-level processing in the route.</li></ul>
-</td><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>bindingStyle=SimpleConsumer</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> No </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <em>Default</em> </p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>providers</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Since Camel 
2.12.2</strong> Add custom JAX-RS providers to the list of providers. 
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> No </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> <em>None</em> 
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>schemaLocations</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <strong>Since Camel 2.12.2</strong> Sets the locations 
of the schemas which can be used to validate the incoming XML or JAXB-driven 
JSON. </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> NO </p
 ></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <em>None</em> 
 ></p></td></tr></tbody></table>
+</td><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>bindingStyle=SimpleConsumer</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> No </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <em>Default</em> </p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>providers</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Since Camel 
2.12.2</strong> set custom JAX-RS providers list to the CxfRs endpoint. 
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> No </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> <em>None</em> 
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>schemaLocations</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <strong>Since Camel 2.12.2</strong> Sets the locations 
of the schemas which can be used to validate the incoming XML or JAXB-driven 
JSON. </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> NO <
 /p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <em>None</em> 
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>features</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <strong>Since Camel 2.12.3</strong> Set the feature 
list to the CxfRs endpoint. </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> No </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <em>None</em> </p></td></tr></tbody></table>
 <p>You can also configure the CXF REST endpoint through the spring 
configuration. Since there are lots of difference between the CXF REST client 
and CXF REST Server, we provide different configuration for them.<br 
clear="none"> Please check out the <a shape="rect" class="external-link" 
href="http://svn.apache.org/repos/asf/camel/trunk/components/camel-cxf/src/main/resources/schema/cxfEndpoint.xsd";>schema
 file</a> and <a shape="rect" class="external-link" 
href="http://cwiki.apache.org/CXF20DOC/jax-rs.html";>CXF REST user guide</a> for 
more information.</p><h3 id="CXFRS-HowtoconfiguretheRESTendpointinCamel">How to 
configure the REST endpoint in Camel</h3><p>In <a shape="rect" 
class="external-link" 
href="http://svn.apache.org/repos/asf/camel/trunk/components/camel-cxf/src/main/resources/schema/cxfEndpoint.xsd";>camel-cxf
 schema file</a>, there are two elements for the REST endpoint definition. 
<strong>cxf:rsServer</strong> for REST consumer, <strong>cxf:rsClient</strong> 
for REST produce
 r.<br clear="none"> You can find a Camel REST service route configuration 
example here.</p><div class="code panel pdl" style="border-width: 1px;"><div 
class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" 
type="syntaxhighlighter"><![CDATA[
 &lt;beans xmlns=&quot;http://www.springframework.org/schema/beans&quot;

Modified: websites/production/camel/content/message-filter.html
==============================================================================
--- websites/production/camel/content/message-filter.html (original)
+++ websites/production/camel/content/message-filter.html Fri Feb 14 08:19:13 
2014
@@ -86,16 +86,7 @@
        <tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><h3 
id="MessageFilter-MessageFilter">Message Filter</h3>
-
-<p>The <a shape="rect" class="external-link" 
href="http://www.enterpriseintegrationpatterns.com/Filter.html"; 
rel="nofollow">Message Filter</a> from the <a shape="rect" 
href="enterprise-integration-patterns.html">EIP patterns</a> allows you to 
filter messages</p>
-
-<p><img class="confluence-embedded-image confluence-external-resource" 
src="http://www.enterpriseintegrationpatterns.com/img/MessageFilter.gif"; 
data-image-src="http://www.enterpriseintegrationpatterns.com/img/MessageFilter.gif";></p>
-
-<p>The following example shows how to create a Message Filter route consuming 
messages from an endpoint called <strong>queue:a</strong>, which if the <a 
shape="rect" href="predicate.html">Predicate</a> is true will be dispatched to 
<strong>queue:b</strong></p>
-
-<p><strong>Using the <a shape="rect" href="fluent-builders.html">Fluent 
Builders</a></strong></p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
+<div class="wiki-content maincontent"><h3 
id="MessageFilter-MessageFilter">Message Filter</h3><p>The <a shape="rect" 
class="external-link" 
href="http://www.enterpriseintegrationpatterns.com/Filter.html"; 
rel="nofollow">Message Filter</a> from the <a shape="rect" 
href="enterprise-integration-patterns.html">EIP patterns</a> allows you to 
filter messages</p><p><img class="confluence-embedded-image 
confluence-external-resource" 
src="http://www.enterpriseintegrationpatterns.com/img/MessageFilter.gif"; 
data-image-src="http://www.enterpriseintegrationpatterns.com/img/MessageFilter.gif";></p><p>The
 following example shows how to create a Message Filter route consuming 
messages from an endpoint called <strong>queue:a</strong>, which if the <a 
shape="rect" href="predicate.html">Predicate</a> is true will be dispatched to 
<strong>queue:b</strong></p><p><strong>Using the <a shape="rect" 
href="fluent-builders.html">Fluent Builders</a></strong></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[
 RouteBuilder builder = new RouteBuilder() {
     public void configure() {
@@ -107,22 +98,14 @@ RouteBuilder builder = new RouteBuilder(
     }
 };
 ]]></script>
-</div></div>
-
-<p>You can, of course, use many different <a shape="rect" 
href="predicate.html">Predicate</a> languages such as <a shape="rect" 
href="xpath.html">XPath</a>, <a shape="rect" href="xquery.html">XQuery</a>, <a 
shape="rect" href="sql.html">SQL</a> or various <a shape="rect" 
href="scripting-languages.html">Scripting Languages</a>. Here is an <a 
shape="rect" class="external-link" 
href="http://svn.apache.org/repos/asf/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/XPathFilterTest.java";>XPath
  example</a> </p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
+</div></div><p>You can, of course, use many different <a shape="rect" 
href="predicate.html">Predicate</a> languages such as <a shape="rect" 
href="xpath.html">XPath</a>, <a shape="rect" href="xquery.html">XQuery</a>, <a 
shape="rect" href="sql.html">SQL</a> or various <a shape="rect" 
href="scripting-languages.html">Scripting Languages</a>. Here is an <a 
shape="rect" class="external-link" 
href="http://svn.apache.org/repos/asf/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/XPathFilterTest.java";>XPath
 example</a></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(&quot;direct:start&quot;).
         filter().xpath(&quot;/person[@name=&#39;James&#39;]&quot;).
         to(&quot;mock:result&quot;);
 ]]></script>
-</div></div>
-
-<p>Here is another example of using a bean to define the filter behavior</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(&quot;direct:start&quot;)
+</div></div><p>Here is another example of using a bean to define the filter 
behavior</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(&quot;direct:start&quot;)
     .filter().method(MyBean.class, 
&quot;isGoldCustomer&quot;).to(&quot;mock:result&quot;).end()
     .to(&quot;mock:end&quot;);
 
@@ -132,11 +115,7 @@ public static class MyBean {
     }
 }
 ]]></script>
-</div></div>
-
-<p><strong>Using the <a shape="rect" href="spring-xml-extensions.html">Spring 
XML Extensions</a></strong></p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
+</div></div><p><strong>Using the <a shape="rect" 
href="spring-xml-extensions.html">Spring XML Extensions</a></strong></p><div 
class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" 
type="syntaxhighlighter"><![CDATA[
 &lt;camelContext errorHandlerRef=&quot;errorHandler&quot; 
xmlns=&quot;http://camel.apache.org/schema/spring&quot;&gt;
     &lt;route&gt;
@@ -148,27 +127,14 @@ public static class MyBean {
     &lt;/route&gt;
 &lt;/camelContext&gt;
 ]]></script>
-</div></div>
-
-    <div class="aui-message hint shadowed information-macro">
+</div></div><p>You can also use a method call expression (to call a method on 
a bean) in the Message Filter, as shown below:</p><div 
class="table-wrap"><table class="confluenceTable"><tbody><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><div class="container"><div class="line 
number1 index0 alt2">&lt;bean id="myBean" class="com.foo.MyBean"/&gt;</div><div 
class="line number1 index0 alt2"><code class="xml plain">&lt;</code><code 
class="xml keyword">camelContext</code><code class="xml plain"> xmlns="<a 
shape="rect" class="external-link" 
href="http://camel.apache.org/schema/spring%22";>http://camel.apache.org/schema/spring";</a>&gt;</code></div><div
 class="line number2 index1 alt1"><code class="xml 
spaces">&#160;&#160;&#160;&#160;</code><code class="xml plain">&lt;</code><code 
class="xml keyword">route</code><code class="xml plain">&gt;</code></div><div 
class="line number3 index2 alt2"><code class="xml 
spaces">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</code><code class="xml 
p
 lain">&lt;</code><code class="xml keyword">from</code> <code class="xml 
plain">uri="<a shape="rect" class="external-link" href="http://directa%22/"; 
rel="nofollow">direct:a"/</a>&gt;</code></div><div class="line number4 index3 
alt1"><code class="xml 
spaces">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</code><code class="xml 
plain">&lt;</code><code class="xml keyword">filter</code><code class="xml 
plain">&gt;</code></div><div class="line number5 index4 alt2"><code class="xml 
spaces">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</code><code
 class="xml plain">&lt;</code><code class="xml keyword">method ref="myBean" 
method="isGoldCustomer"/</code><code class="xml plain">&gt;</code></div><div 
class="line number6 index5 alt1"><code class="xml 
spaces">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</code><code
 class="xml plain">&lt;</code><code class="xml keyword">to</code> <code 
class="xml plain">uri="<a shape="rect" class="external-l
 ink" href="http://directb%22/"; 
rel="nofollow">direct:b"/</a>&gt;</code></div><div class="line number7 index6 
alt2"><code class="xml 
spaces">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</code><code class="xml 
plain">&lt;/</code><code class="xml keyword">filter</code><code class="xml 
plain">&gt;</code></div><div class="line number8 index7 alt1"><code class="xml 
spaces">&#160;&#160;&#160;&#160;</code><code class="xml 
plain">&lt;/</code><code class="xml keyword">route</code><code class="xml 
plain">&gt;</code></div><div class="line number9 index8 alt2"><code class="xml 
plain">&lt;/</code><code class="xml keyword">camelContext</code><code 
class="xml plain">&gt;</code></div><div><code class="xml plain"><br 
clear="none"></code></div></div></td></tr></tbody></table></div>    <div 
class="aui-message hint shadowed information-macro">
                     <p class="title">filtered endpoint required inside 
&lt;/filter&gt; tag</p>
                             <span class="aui-icon icon-hint">Icon</span>
                 <div class="message-content">
-                            
-<p>make sure you put the endpoint you want to filter (&lt;to 
uri="seda:b"/&gt;, etc.) before the closing &lt;/filter&gt; tag or the filter 
will not be applied (in 2.8+, omitting this will result in an error)</p>
+                            <p>make sure you put the endpoint you want to 
filter (&lt;to uri="seda:b"/&gt;, etc.) before the closing &lt;/filter&gt; tag 
or the filter will not be applied (in 2.8+, omitting this will result in an 
error)</p>
                     </div>
     </div>
-
-
-<p>For further examples of this pattern in use you could look at the <a 
shape="rect" class="external-link" 
href="http://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/FilterTest.java?view=markup";>junit
 test case</a></p>
-
-<h4 id="MessageFilter-Usingstop">Using stop</h4>
-<p><strong>Available as of Camel 2.0</strong></p>
-
-<p>Stop is a bit different than a message filter as it will filter out all 
messages and end the route entirely (filter only applies to its child 
processor). Stop is convenient to use in a <a shape="rect" 
href="content-based-router.html">Content Based Router</a> when you for example 
need to stop further processing in one of the predicates.</p>
-
-<p>In the example below we do not want to route messages any further that has 
the word <code>Bye</code> in the message body. Notice how we prevent this in 
the when predicate by using the <code>.stop()</code>.</p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
+<p>For further examples of this pattern in use you could look at the <a 
shape="rect" class="external-link" 
href="http://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/FilterTest.java?view=markup";>junit
 test case</a></p><h4 id="MessageFilter-Usingstop"><span style="line-height: 
1.5;">Using stop</span><strong style="line-height: 1.4285715;"><br 
clear="none"></strong></h4><p>Stop is a bit different than a message filter as 
it will filter out all messages and end the route entirely (filter only applies 
to its child processor). Stop is convenient to use in a <a shape="rect" 
href="content-based-router.html">Content Based Router</a> when you for example 
need to stop further processing in one of the predicates.</p><p>In the example 
below we do not want to route messages any further that has the word 
<code>Bye</code> in the message body. Notice how we prevent this in the when 
predicate by using the <code>.stop()</code>.</p><div class="code panel pdl" st
 yle="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[
 from(&quot;direct:start&quot;)
     .choice()
@@ -178,17 +144,7 @@ from(&quot;direct:start&quot;)
     .end()
     .to(&quot;mock:result&quot;);
 ]]></script>
-</div></div>
-
-
-<h4 id="MessageFilter-Knowingifwasfilteredornot">Knowing if <a shape="rect" 
href="exchange.html">Exchange</a> was filtered or not</h4>
-<p><strong>Available as of Camel 2.5</strong></p>
-
-<p>The <a shape="rect" href="message-filter.html">Message Filter</a> EIP will 
add a property on the <a shape="rect" href="exchange.html">Exchange</a> that 
states if it was filtered or not.</p>
-
-<p>The property has the key <code>Exchange.FILTER_MATCHED</code>, which has 
the String value of <code>CamelFilterMatched</code>. Its value is a boolean 
indicating <code>true</code> or <code>false</code>. If the value is 
<code>true</code> then the <a shape="rect" href="exchange.html">Exchange</a> 
was routed in the filter block. This property will be visible within the <a 
shape="rect" href="message-filter.html">Message Filter</a> block who's <a 
shape="rect" href="predicate.html">Predicate</a> matches (value set to 
<code>true</code>), and to the steps immediately following the <a shape="rect" 
href="message-filter.html">Message Filter</a> with the value set based on the 
results of the last <a shape="rect" href="message-filter.html">Message 
Filter</a> <a shape="rect" href="predicate.html">Predicate</a> evaluated.</p>
-
-<h4 id="MessageFilter-UsingThisPattern">Using This Pattern</h4>
+</div></div><h4 id="MessageFilter-Knowingifwasfilteredornot">Knowing if <a 
shape="rect" href="exchange.html">Exchange</a> was filtered or 
not</h4><p><strong>Available as of Camel 2.5</strong></p><p>The <a shape="rect" 
href="message-filter.html">Message Filter</a> EIP will add a property on the <a 
shape="rect" href="exchange.html">Exchange</a> that states if it was filtered 
or not.</p><p>The property has the key <code>Exchange.FILTER_MATCHED</code>, 
which has the String value of <code>CamelFilterMatched</code>. Its value is a 
boolean indicating <code>true</code> or <code>false</code>. If the value is 
<code>true</code> then the <a shape="rect" href="exchange.html">Exchange</a> 
was routed in the filter block. This property will be visible within the <a 
shape="rect" href="message-filter.html">Message Filter</a> block who's <a 
shape="rect" href="predicate.html">Predicate</a> matches (value set to 
<code>true</code>), and to the steps immediately following the <a shape="rect" 
href="message
 -filter.html">Message Filter</a> with the value set based on the results of 
the last <a shape="rect" href="message-filter.html">Message Filter</a> <a 
shape="rect" href="predicate.html">Predicate</a> evaluated.</p><p></p><h4 
id="MessageFilter-UsingThisPattern">Using This Pattern</h4>
 
 <p>If you would like to use this EIP Pattern then please read the <a 
shape="rect" href="getting-started.html">Getting Started</a>, you may also find 
the <a shape="rect" href="architecture.html">Architecture</a> useful 
particularly the description of <a shape="rect" 
href="endpoint.html">Endpoint</a> and <a shape="rect" 
href="uris.html">URIs</a>. Then you could try out some of the <a shape="rect" 
href="examples.html">Examples</a> first before trying this pattern 
out.</p></div>
         </td>


Reply via email to