Author: buildbot
Date: Tue Mar 25 09:21:02 2014
New Revision: 903481

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/bean-language.html
    websites/production/camel/content/book-in-one-page.html
    websites/production/camel/content/book-languages-appendix.html
    websites/production/camel/content/cache/main.pageCache

Modified: websites/production/camel/content/bean-language.html
==============================================================================
--- websites/production/camel/content/bean-language.html (original)
+++ websites/production/camel/content/bean-language.html Tue Mar 25 09:21:02 
2014
@@ -84,31 +84,13 @@
        <tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><h2 id="BeanLanguage-BeanLanguage">Bean 
Language</h2>
-
-<p>The purpose of the Bean Language is to be able to implement an <a 
shape="rect" href="expression.html">Expression</a> or <a shape="rect" 
href="predicate.html">Predicate</a> using a simple method on a bean.</p>
-
-<p>So the idea is you specify a bean name which will then be resolved in the 
<a shape="rect" href="registry.html">Registry</a> such as the <a shape="rect" 
href="spring.html">Spring</a> ApplicationContext then a method is invoked to 
evaluate the <a shape="rect" href="expression.html">Expression</a> or <a 
shape="rect" href="predicate.html">Predicate</a>.</p>
-
-<p>If no method name is provided then one is attempted to be chosen using the 
rules for <a shape="rect" href="bean-binding.html">Bean Binding</a>; using the 
type of the message body and using any annotations on the bean methods.</p>
-
-<p>The <a shape="rect" href="bean-binding.html">Bean Binding</a> rules are 
used to bind the <a shape="rect" href="message.html">Message</a> Exchange to 
the method parameters; so you can annotate the bean to extract headers or other 
expressions such as <a shape="rect" href="xpath.html">XPath</a> or <a 
shape="rect" href="xquery.html">XQuery</a> from the message.</p>
-
-<h3 id="BeanLanguage-UsingBeanExpressionsfromtheJavaDSL">Using Bean 
Expressions from the Java DSL</h3>
-
-<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;activemq:topic:OrdersTopic&quot;).
+<div class="wiki-content maincontent"><h2 id="BeanLanguage-BeanLanguage">Bean 
Language</h2><p>The purpose of the Bean Language is to be able to implement an 
<a shape="rect" href="expression.html">Expression</a> or <a shape="rect" 
href="predicate.html">Predicate</a> using a simple method on a bean.</p><p>So 
the idea is you specify a bean name which will then be resolved in the <a 
shape="rect" href="registry.html">Registry</a> such as the <a shape="rect" 
href="spring.html">Spring</a> ApplicationContext then a method is invoked to 
evaluate the <a shape="rect" href="expression.html">Expression</a> or <a 
shape="rect" href="predicate.html">Predicate</a>.</p><p>If no method name is 
provided then one is attempted to be chosen using the rules for <a shape="rect" 
href="bean-binding.html">Bean Binding</a>; using the type of the message body 
and using any annotations on the bean methods.</p><p>The <a shape="rect" 
href="bean-binding.html">Bean Binding</a> rules are used to bind the <a 
shape="rec
 t" href="message.html">Message</a> Exchange to the method parameters; so you 
can annotate the bean to extract headers or other expressions such as <a 
shape="rect" href="xpath.html">XPath</a> or <a shape="rect" 
href="xquery.html">XQuery</a> from the message.</p><h3 
id="BeanLanguage-UsingBeanExpressionsfromtheJavaDSL">Using Bean Expressions 
from the Java DSL</h3><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;activemq:topic:OrdersTopic&quot;).
   filter().method(&quot;myBean&quot;, &quot;isGoldCustomer&quot;).
     to(&quot;activemq:BigSpendersQueue&quot;);
 ]]></script>
-</div></div>
-
-<h3 id="BeanLanguage-UsingBeanExpressionsfromXML">Using Bean Expressions from 
XML</h3>
-
-<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;route&gt;
+</div></div><h3 id="BeanLanguage-UsingBeanExpressionsfromXML">Using Bean 
Expressions from XML</h3><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;route&gt;
   &lt;from uri=&quot;activemq:topic:OrdersTopic&quot;/&gt;
   &lt;filter&gt;
     &lt;method ref=&quot;myBean&quot; method=&quot;isGoldCustomer&quot;/&gt;
@@ -116,107 +98,53 @@ from(&quot;activemq:topic:OrdersTopic&qu
   &lt;/filter&gt;
 &lt;/route&gt;
 ]]></script>
-</div></div>
-
-    <div class="aui-message success shadowed information-macro">
+</div></div>    <div class="aui-message success shadowed information-macro">
                     <p class="title">Bean attribute now deprecated</p>
                             <span class="aui-icon icon-success">Icon</span>
                 <div class="message-content">
-                            
-<p>Note, the <code>bean</code> attribute of the method expression element is 
now deprecated. You should now make use of <code>ref</code> attribute 
instead.</p>
+                            <p>Note, the <code>bean</code> attribute of the 
method expression element is now deprecated. You should now make use of 
<code>ref</code> attribute instead.</p>
                     </div>
     </div>
-
-
-<h3 id="BeanLanguage-Writingtheexpressionbean">Writing the expression bean</h3>
-
-<p>The bean in the above examples is just any old Java Bean with a method 
called isGoldCustomer() that returns some object that is easily converted to a 
<strong>boolean</strong> value in this case, as its used as a predicate.</p>
-
-<p>So we could implement it like this...</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[
-public class MyBean {
+<h3 id="BeanLanguage-Writingtheexpressionbean">Writing the expression 
bean</h3><p>The bean in the above examples is just any old Java Bean with a 
method called isGoldCustomer() that returns some object that is easily 
converted to a <strong>boolean</strong> value in this case, as its used as a 
predicate.</p><p>So we could implement it like this...</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[public class MyBean {
   public boolean isGoldCustomer(Exchange exchange) {
        ...
   }
 }
 ]]></script>
-</div></div>
-
-<p>We can also use the <a shape="rect" href="bean-integration.html">Bean 
Integration</a> annotations. For example you could do...</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[
-public boolean isGoldCustomer(String body) {...}
+</div></div><p>We can also use the <a shape="rect" 
href="bean-integration.html">Bean Integration</a> annotations. For example you 
could do...</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[public boolean isGoldCustomer(String body) 
{...}
 ]]></script>
-</div></div>
-
-<p>or</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[
-public boolean isGoldCustomer(@Header(name = &quot;foo&quot;) Integer 
fooHeader) {...}
+</div></div><p>or</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[public boolean isGoldCustomer(@Header(name = 
&quot;foo&quot;) Integer fooHeader) {...}
 ]]></script>
-</div></div>
-
-<p>So you can bind parameters of the method to the Exchange, the <a 
shape="rect" href="message.html">Message</a> or individual headers, properties, 
the body or other expressions.</p>
-
-<h3 id="BeanLanguage-Nonregistrybeans">Non registry beans</h3>
-<p>The <a shape="rect" href="bean-language.html">Bean Language</a> also 
supports invoking beans that isn't registered in the <a shape="rect" 
href="registry.html">Registry</a>. This is usable for quickly to invoke a bean 
from Java DSL where you don't need to register the bean in the <a shape="rect" 
href="registry.html">Registry</a> such as the <a shape="rect" 
href="spring.html">Spring</a> ApplicationContext.</p>
-
-<p>Camel can instantiate the bean and invoke the method if given a class or 
invoke an already existing instance. This is illustrated from the example 
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(&quot;activemq:topic:OrdersTopic&quot;).
+</div></div><p>So you can bind parameters of the method to the Exchange, the 
<a shape="rect" href="message.html">Message</a> or individual headers, 
properties, the body or other expressions.</p><h3 
id="BeanLanguage-Nonregistrybeans">Non registry beans</h3><p>The <a 
shape="rect" href="bean-language.html">Bean Language</a> also supports invoking 
beans that isn't registered in the <a shape="rect" 
href="registry.html">Registry</a>. This is usable for quickly to invoke a bean 
from Java DSL where you don't need to register the bean in the <a shape="rect" 
href="registry.html">Registry</a> such as the <a shape="rect" 
href="spring.html">Spring</a> ApplicationContext.</p><p>Camel can instantiate 
the bean and invoke the method if given a class or invoke an already existing 
instance. This is illustrated from the example 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(&quot;activemq:topic:OrdersTopic&quot;).
                 filter().expression(BeanLanguage(MyBean.class, 
&quot;isGoldCustomer&quot;)).
                 to(&quot;activemq:BigSpendersQueue&quot;);
 ]]></script>
-</div></div>
-
-<p>The 2nd parameter <code>isGoldCustomer</code> is an optional parameter to 
explicit set the method name to invoke. If not provided Camel will try to 
invoke the best suited method. If case of ambiguity Camel will thrown an 
Exception. In these situations the 2nd parameter can solve this problem. Also 
the code is more readable if the method name is provided. The 1st parameter can 
also be an existing instance of a Bean such as:</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[
-   private MyBean my;
+</div></div><p>The 2nd parameter <code>isGoldCustomer</code> is an optional 
parameter to explicit set the method name to invoke. If not provided Camel will 
try to invoke the best suited method. If case of ambiguity Camel will thrown an 
Exception. In these situations the 2nd parameter can solve this problem. Also 
the code is more readable if the method name is provided. The 1st parameter can 
also be an existing instance of a Bean such as:</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[   private MyBean my;
 
         from(&quot;activemq:topic:OrdersTopic&quot;).
                 filter().expression(BeanLanguage.bean(my, 
&quot;isGoldCustomer&quot;)).
                 to(&quot;activemq:BigSpendersQueue&quot;);
 ]]></script>
-</div></div>
-
-<p>In Camel 2.2 onwards you can avoid the <code>BeanLanguage</code> and have 
it just as:</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[
-   private MyBean my;
+</div></div><p>In Camel 2.2 onwards you can avoid the 
<code>BeanLanguage</code> and have it just as:</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[   private MyBean my;
 
         from(&quot;activemq:topic:OrdersTopic&quot;).
                 filter().expression(bean(my, &quot;isGoldCustomer&quot;)).
                 to(&quot;activemq:BigSpendersQueue&quot;);
 ]]></script>
-</div></div>
-
-<p>Which also can be done in a bit shorter and nice way:</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[
-   private MyBean my;
+</div></div><p>Which also can be done in a bit shorter and nice way:</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[   private MyBean my;
 
         from(&quot;activemq:topic:OrdersTopic&quot;).
                 filter().method(my, &quot;isGoldCustomer&quot;).
                 to(&quot;activemq:BigSpendersQueue&quot;);
 ]]></script>
-</div></div>
-
-
-<h3 id="BeanLanguage-Otherexamples">Other examples</h3>
-
-<p>We have some test cases you can look at if it'll help</p>
-
-<ul><li><a shape="rect" class="external-link" 
href="http://svn.apache.org/repos/asf/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/MethodFilterTest.java";>MethodFilterTest
 </a> is a JUnit test case showing the Java <a shape="rect" 
href="dsl.html">DSL</a> use of the bean expression being used in a 
filter</li><li><a shape="rect" class="external-link" 
href="http://svn.apache.org/repos/asf/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/aggregator.xml";>aggregator.xml</a>
 is a Spring XML test case for the <a shape="rect" 
href="aggregator.html">Aggregator</a> which uses a bean method call to test for 
the completion of the aggregation.</li></ul>
-
-
-<h3 id="BeanLanguage-Dependencies">Dependencies</h3>
-<p>The Bean language is part of <strong>camel-core</strong>.</p></div>
+</div></div><h3 id="BeanLanguage-Otherexamples">Other examples</h3><p>We have 
some test cases you can look at if it'll help</p><ul><li><a shape="rect" 
class="external-link" 
href="http://svn.apache.org/repos/asf/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/MethodFilterTest.java";>MethodFilterTest
 </a> is a JUnit test case showing the Java <a shape="rect" 
href="dsl.html">DSL</a> use of the bean expression being used in a 
filter</li><li><a shape="rect" class="external-link" 
href="http://svn.apache.org/repos/asf/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/aggregator.xml";>aggregator.xml</a>
 is a Spring XML test case for the <a shape="rect" 
href="aggregator.html">Aggregator</a> which uses a bean method call to test for 
the completion of the aggregation.</li></ul><h3 
id="BeanLanguage-Dependencies">Dependencies</h3><p>The Bean language is part of 
<strong>camel-core</strong>.</p></div>
         </td>
         <td valign="top">
           <div class="navigation">

Modified: websites/production/camel/content/book-in-one-page.html
==============================================================================
--- websites/production/camel/content/book-in-one-page.html (original)
+++ websites/production/camel/content/book-in-one-page.html Tue Mar 25 09:21:02 
2014
@@ -4185,11 +4185,11 @@ While not actual tutorials you might fin
                     </div>
     </div>
 <h2 id="BookInOnePage-Preface">Preface</h2><p>This tutorial aims to guide the 
reader through the stages of creating a project which uses Camel to facilitate 
the routing of messages from a JMS queue to a <a shape="rect" 
class="external-link" href="http://www.springramework.org"; 
rel="nofollow">Spring</a> service. The route works in a synchronous fashion 
returning a response to the client.</p><p><style type="text/css">/*<![CDATA[*/
-div.rbtoc1395407987584 {padding: 0px;}
-div.rbtoc1395407987584 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1395407987584 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1395739173173 {padding: 0px;}
+div.rbtoc1395739173173 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1395739173173 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1395407987584">
+/*]]>*/</style></p><div class="toc-macro rbtoc1395739173173">
 <ul class="toc-indentation"><li><a shape="rect" 
href="#Tutorial-JmsRemoting-TutorialonSpringRemotingwithJMS">Tutorial on Spring 
Remoting with JMS</a></li><li><a shape="rect" 
href="#Tutorial-JmsRemoting-Preface">Preface</a></li><li><a shape="rect" 
href="#Tutorial-JmsRemoting-Prerequisites">Prerequisites</a></li><li><a 
shape="rect" 
href="#Tutorial-JmsRemoting-Distribution">Distribution</a></li><li><a 
shape="rect" href="#Tutorial-JmsRemoting-About">About</a></li><li><a 
shape="rect" href="#Tutorial-JmsRemoting-CreatetheCamelProject">Create the 
Camel Project</a>
 <ul class="toc-indentation"><li><a shape="rect" 
href="#Tutorial-JmsRemoting-UpdatethePOMwithDependencies">Update the POM with 
Dependencies</a></li></ul>
 </li><li><a shape="rect" href="#Tutorial-JmsRemoting-WritingtheServer">Writing 
the Server</a>
@@ -6375,11 +6375,11 @@ So we completed the last piece in the pi
 
 
 <style type="text/css">/*<![CDATA[*/
-div.rbtoc1395407987797 {padding: 0px;}
-div.rbtoc1395407987797 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1395407987797 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1395739173722 {padding: 0px;}
+div.rbtoc1395739173722 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1395739173722 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style><div class="toc-macro rbtoc1395407987797">
+/*]]>*/</style><div class="toc-macro rbtoc1395739173722">
 <ul class="toc-indentation"><li><a shape="rect" 
href="#Tutorial-AXIS-Camel-TutorialusingAxis1.4withApacheCamel">Tutorial using 
Axis 1.4 with Apache Camel</a>
 <ul class="toc-indentation"><li><a shape="rect" 
href="#Tutorial-AXIS-Camel-Prerequisites">Prerequisites</a></li><li><a 
shape="rect" 
href="#Tutorial-AXIS-Camel-Distribution">Distribution</a></li><li><a 
shape="rect" 
href="#Tutorial-AXIS-Camel-Introduction">Introduction</a></li><li><a 
shape="rect" href="#Tutorial-AXIS-Camel-SettinguptheprojecttorunAxis">Setting 
up the project to run Axis</a>
 <ul class="toc-indentation"><li><a shape="rect" 
href="#Tutorial-AXIS-Camel-Maven2">Maven 2</a></li><li><a shape="rect" 
href="#Tutorial-AXIS-Camel-wsdl">wsdl</a></li><li><a shape="rect" 
href="#Tutorial-AXIS-Camel-ConfiguringAxis">Configuring Axis</a></li><li><a 
shape="rect" href="#Tutorial-AXIS-Camel-RunningtheExample">Running the 
Example</a></li></ul>
@@ -7949,31 +7949,13 @@ public class CSVInputTest extends Abstra
 
 <p>To support flexible and powerful <a shape="rect" 
href="enterprise-integration-patterns.html">Enterprise Integration Patterns</a> 
Camel supports various Languages to create an <a shape="rect" 
href="expression.html">Expression</a> or <a shape="rect" 
href="predicate.html">Predicate</a> within either the <a shape="rect" 
href="dsl.html">Routing Domain Specific Language</a> or the <a shape="rect" 
href="xml-configuration.html">Xml Configuration</a>. The following languages 
are supported</p>
 
-<h2 id="BookInOnePage-BeanLanguage">Bean Language</h2>
-
-<p>The purpose of the Bean Language is to be able to implement an <a 
shape="rect" href="expression.html">Expression</a> or <a shape="rect" 
href="predicate.html">Predicate</a> using a simple method on a bean.</p>
-
-<p>So the idea is you specify a bean name which will then be resolved in the 
<a shape="rect" href="registry.html">Registry</a> such as the <a shape="rect" 
href="spring.html">Spring</a> ApplicationContext then a method is invoked to 
evaluate the <a shape="rect" href="expression.html">Expression</a> or <a 
shape="rect" href="predicate.html">Predicate</a>.</p>
-
-<p>If no method name is provided then one is attempted to be chosen using the 
rules for <a shape="rect" href="bean-binding.html">Bean Binding</a>; using the 
type of the message body and using any annotations on the bean methods.</p>
-
-<p>The <a shape="rect" href="bean-binding.html">Bean Binding</a> rules are 
used to bind the <a shape="rect" href="message.html">Message</a> Exchange to 
the method parameters; so you can annotate the bean to extract headers or other 
expressions such as <a shape="rect" href="xpath.html">XPath</a> or <a 
shape="rect" href="xquery.html">XQuery</a> from the message.</p>
-
-<h3 id="BookInOnePage-UsingBeanExpressionsfromtheJavaDSL">Using Bean 
Expressions from the Java DSL</h3>
-
-<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;activemq:topic:OrdersTopic&quot;).
+<h2 id="BookInOnePage-BeanLanguage">Bean Language</h2><p>The purpose of the 
Bean Language is to be able to implement an <a shape="rect" 
href="expression.html">Expression</a> or <a shape="rect" 
href="predicate.html">Predicate</a> using a simple method on a bean.</p><p>So 
the idea is you specify a bean name which will then be resolved in the <a 
shape="rect" href="registry.html">Registry</a> such as the <a shape="rect" 
href="spring.html">Spring</a> ApplicationContext then a method is invoked to 
evaluate the <a shape="rect" href="expression.html">Expression</a> or <a 
shape="rect" href="predicate.html">Predicate</a>.</p><p>If no method name is 
provided then one is attempted to be chosen using the rules for <a shape="rect" 
href="bean-binding.html">Bean Binding</a>; using the type of the message body 
and using any annotations on the bean methods.</p><p>The <a shape="rect" 
href="bean-binding.html">Bean Binding</a> rules are used to bind the <a 
shape="rect" href="message.html">Message</a> Ex
 change to the method parameters; so you can annotate the bean to extract 
headers or other expressions such as <a shape="rect" 
href="xpath.html">XPath</a> or <a shape="rect" href="xquery.html">XQuery</a> 
from the message.</p><h3 
id="BookInOnePage-UsingBeanExpressionsfromtheJavaDSL">Using Bean Expressions 
from the Java DSL</h3><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;activemq:topic:OrdersTopic&quot;).
   filter().method(&quot;myBean&quot;, &quot;isGoldCustomer&quot;).
     to(&quot;activemq:BigSpendersQueue&quot;);
 ]]></script>
-</div></div>
-
-<h3 id="BookInOnePage-UsingBeanExpressionsfromXML">Using Bean Expressions from 
XML</h3>
-
-<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;route&gt;
+</div></div><h3 id="BookInOnePage-UsingBeanExpressionsfromXML">Using Bean 
Expressions from XML</h3><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;route&gt;
   &lt;from uri=&quot;activemq:topic:OrdersTopic&quot;/&gt;
   &lt;filter&gt;
     &lt;method ref=&quot;myBean&quot; method=&quot;isGoldCustomer&quot;/&gt;
@@ -7981,107 +7963,53 @@ from(&quot;activemq:topic:OrdersTopic&qu
   &lt;/filter&gt;
 &lt;/route&gt;
 ]]></script>
-</div></div>
-
-    <div class="aui-message success shadowed information-macro">
+</div></div>    <div class="aui-message success shadowed information-macro">
                     <p class="title">Bean attribute now deprecated</p>
                             <span class="aui-icon icon-success">Icon</span>
                 <div class="message-content">
-                            
-<p>Note, the <code>bean</code> attribute of the method expression element is 
now deprecated. You should now make use of <code>ref</code> attribute 
instead.</p>
+                            <p>Note, the <code>bean</code> attribute of the 
method expression element is now deprecated. You should now make use of 
<code>ref</code> attribute instead.</p>
                     </div>
     </div>
-
-
-<h3 id="BookInOnePage-Writingtheexpressionbean">Writing the expression 
bean</h3>
-
-<p>The bean in the above examples is just any old Java Bean with a method 
called isGoldCustomer() that returns some object that is easily converted to a 
<strong>boolean</strong> value in this case, as its used as a predicate.</p>
-
-<p>So we could implement it like this...</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[
-public class MyBean {
+<h3 id="BookInOnePage-Writingtheexpressionbean">Writing the expression 
bean</h3><p>The bean in the above examples is just any old Java Bean with a 
method called isGoldCustomer() that returns some object that is easily 
converted to a <strong>boolean</strong> value in this case, as its used as a 
predicate.</p><p>So we could implement it like this...</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[public class MyBean {
   public boolean isGoldCustomer(Exchange exchange) {
        ...
   }
 }
 ]]></script>
-</div></div>
-
-<p>We can also use the <a shape="rect" href="bean-integration.html">Bean 
Integration</a> annotations. For example you could do...</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[
-public boolean isGoldCustomer(String body) {...}
+</div></div><p>We can also use the <a shape="rect" 
href="bean-integration.html">Bean Integration</a> annotations. For example you 
could do...</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[public boolean isGoldCustomer(String body) 
{...}
 ]]></script>
-</div></div>
-
-<p>or</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[
-public boolean isGoldCustomer(@Header(name = &quot;foo&quot;) Integer 
fooHeader) {...}
+</div></div><p>or</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[public boolean isGoldCustomer(@Header(name = 
&quot;foo&quot;) Integer fooHeader) {...}
 ]]></script>
-</div></div>
-
-<p>So you can bind parameters of the method to the Exchange, the <a 
shape="rect" href="message.html">Message</a> or individual headers, properties, 
the body or other expressions.</p>
-
-<h3 id="BookInOnePage-Nonregistrybeans">Non registry beans</h3>
-<p>The <a shape="rect" href="bean-language.html">Bean Language</a> also 
supports invoking beans that isn't registered in the <a shape="rect" 
href="registry.html">Registry</a>. This is usable for quickly to invoke a bean 
from Java DSL where you don't need to register the bean in the <a shape="rect" 
href="registry.html">Registry</a> such as the <a shape="rect" 
href="spring.html">Spring</a> ApplicationContext.</p>
-
-<p>Camel can instantiate the bean and invoke the method if given a class or 
invoke an already existing instance. This is illustrated from the example 
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(&quot;activemq:topic:OrdersTopic&quot;).
+</div></div><p>So you can bind parameters of the method to the Exchange, the 
<a shape="rect" href="message.html">Message</a> or individual headers, 
properties, the body or other expressions.</p><h3 
id="BookInOnePage-Nonregistrybeans">Non registry beans</h3><p>The <a 
shape="rect" href="bean-language.html">Bean Language</a> also supports invoking 
beans that isn't registered in the <a shape="rect" 
href="registry.html">Registry</a>. This is usable for quickly to invoke a bean 
from Java DSL where you don't need to register the bean in the <a shape="rect" 
href="registry.html">Registry</a> such as the <a shape="rect" 
href="spring.html">Spring</a> ApplicationContext.</p><p>Camel can instantiate 
the bean and invoke the method if given a class or invoke an already existing 
instance. This is illustrated from the example 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(&quot;activemq:topic:OrdersTopic&quot;).
                 filter().expression(BeanLanguage(MyBean.class, 
&quot;isGoldCustomer&quot;)).
                 to(&quot;activemq:BigSpendersQueue&quot;);
 ]]></script>
-</div></div>
-
-<p>The 2nd parameter <code>isGoldCustomer</code> is an optional parameter to 
explicit set the method name to invoke. If not provided Camel will try to 
invoke the best suited method. If case of ambiguity Camel will thrown an 
Exception. In these situations the 2nd parameter can solve this problem. Also 
the code is more readable if the method name is provided. The 1st parameter can 
also be an existing instance of a Bean such as:</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[
-   private MyBean my;
+</div></div><p>The 2nd parameter <code>isGoldCustomer</code> is an optional 
parameter to explicit set the method name to invoke. If not provided Camel will 
try to invoke the best suited method. If case of ambiguity Camel will thrown an 
Exception. In these situations the 2nd parameter can solve this problem. Also 
the code is more readable if the method name is provided. The 1st parameter can 
also be an existing instance of a Bean such as:</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[   private MyBean my;
 
         from(&quot;activemq:topic:OrdersTopic&quot;).
                 filter().expression(BeanLanguage.bean(my, 
&quot;isGoldCustomer&quot;)).
                 to(&quot;activemq:BigSpendersQueue&quot;);
 ]]></script>
-</div></div>
-
-<p>In Camel 2.2 onwards you can avoid the <code>BeanLanguage</code> and have 
it just as:</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[
-   private MyBean my;
+</div></div><p>In Camel 2.2 onwards you can avoid the 
<code>BeanLanguage</code> and have it just as:</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[   private MyBean my;
 
         from(&quot;activemq:topic:OrdersTopic&quot;).
                 filter().expression(bean(my, &quot;isGoldCustomer&quot;)).
                 to(&quot;activemq:BigSpendersQueue&quot;);
 ]]></script>
-</div></div>
-
-<p>Which also can be done in a bit shorter and nice way:</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[
-   private MyBean my;
+</div></div><p>Which also can be done in a bit shorter and nice way:</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[   private MyBean my;
 
         from(&quot;activemq:topic:OrdersTopic&quot;).
                 filter().method(my, &quot;isGoldCustomer&quot;).
                 to(&quot;activemq:BigSpendersQueue&quot;);
 ]]></script>
-</div></div>
-
-
-<h3 id="BookInOnePage-Otherexamples">Other examples</h3>
-
-<p>We have some test cases you can look at if it'll help</p>
-
-<ul><li><a shape="rect" class="external-link" 
href="http://svn.apache.org/repos/asf/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/MethodFilterTest.java";>MethodFilterTest
 </a> is a JUnit test case showing the Java <a shape="rect" 
href="dsl.html">DSL</a> use of the bean expression being used in a 
filter</li><li><a shape="rect" class="external-link" 
href="http://svn.apache.org/repos/asf/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/aggregator.xml";>aggregator.xml</a>
 is a Spring XML test case for the <a shape="rect" 
href="aggregator.html">Aggregator</a> which uses a bean method call to test for 
the completion of the aggregation.</li></ul>
-
-
-<h3 id="BookInOnePage-Dependencies">Dependencies</h3>
-<p>The Bean language is part of <strong>camel-core</strong>.</p>
+</div></div><h3 id="BookInOnePage-Otherexamples">Other examples</h3><p>We have 
some test cases you can look at if it'll help</p><ul><li><a shape="rect" 
class="external-link" 
href="http://svn.apache.org/repos/asf/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/MethodFilterTest.java";>MethodFilterTest
 </a> is a JUnit test case showing the Java <a shape="rect" 
href="dsl.html">DSL</a> use of the bean expression being used in a 
filter</li><li><a shape="rect" class="external-link" 
href="http://svn.apache.org/repos/asf/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/aggregator.xml";>aggregator.xml</a>
 is a Spring XML test case for the <a shape="rect" 
href="aggregator.html">Aggregator</a> which uses a bean method call to test for 
the completion of the aggregation.</li></ul><h3 
id="BookInOnePage-Dependencies">Dependencies</h3><p>The Bean language is part 
of <strong>camel-core</strong>.</p>
 <h2 id="BookInOnePage-ConstantExpressionLanguage">Constant Expression 
Language</h2>
 
 <p>The Constant Expression Language is really just a way to specify constant 
strings as a type of expression. </p>
@@ -21603,11 +21531,11 @@ template.send(&quot;direct:alias-verify&
                     </div>
     </div>
 <p>The <strong>cxf:</strong> component provides integration with <a 
shape="rect" href="http://cxf.apache.org";>Apache CXF</a> for connecting to 
JAX-WS services hosted in CXF.</p><p><style type="text/css">/*<![CDATA[*/
-div.rbtoc1395407990955 {padding: 0px;}
-div.rbtoc1395407990955 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1395407990955 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1395739186506 {padding: 0px;}
+div.rbtoc1395739186506 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1395739186506 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1395407990955">
+/*]]>*/</style></p><div class="toc-macro rbtoc1395739186506">
 <ul class="toc-indentation"><li><a shape="rect" href="#CXF-CXFComponent">CXF 
Component</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#CXF-URIformat">URI 
format</a></li><li><a shape="rect" href="#CXF-Options">Options</a>
 <ul class="toc-indentation"><li><a shape="rect" 
href="#CXF-Thedescriptionsofthedataformats">The descriptions of the 
dataformats</a>

Modified: websites/production/camel/content/book-languages-appendix.html
==============================================================================
--- websites/production/camel/content/book-languages-appendix.html (original)
+++ websites/production/camel/content/book-languages-appendix.html Tue Mar 25 
09:21:02 2014
@@ -91,31 +91,13 @@
 
 <p>To support flexible and powerful <a shape="rect" 
href="enterprise-integration-patterns.html">Enterprise Integration Patterns</a> 
Camel supports various Languages to create an <a shape="rect" 
href="expression.html">Expression</a> or <a shape="rect" 
href="predicate.html">Predicate</a> within either the <a shape="rect" 
href="dsl.html">Routing Domain Specific Language</a> or the <a shape="rect" 
href="xml-configuration.html">Xml Configuration</a>. The following languages 
are supported</p>
 
-<h2 id="BookLanguagesAppendix-BeanLanguage">Bean Language</h2>
-
-<p>The purpose of the Bean Language is to be able to implement an <a 
shape="rect" href="expression.html">Expression</a> or <a shape="rect" 
href="predicate.html">Predicate</a> using a simple method on a bean.</p>
-
-<p>So the idea is you specify a bean name which will then be resolved in the 
<a shape="rect" href="registry.html">Registry</a> such as the <a shape="rect" 
href="spring.html">Spring</a> ApplicationContext then a method is invoked to 
evaluate the <a shape="rect" href="expression.html">Expression</a> or <a 
shape="rect" href="predicate.html">Predicate</a>.</p>
-
-<p>If no method name is provided then one is attempted to be chosen using the 
rules for <a shape="rect" href="bean-binding.html">Bean Binding</a>; using the 
type of the message body and using any annotations on the bean methods.</p>
-
-<p>The <a shape="rect" href="bean-binding.html">Bean Binding</a> rules are 
used to bind the <a shape="rect" href="message.html">Message</a> Exchange to 
the method parameters; so you can annotate the bean to extract headers or other 
expressions such as <a shape="rect" href="xpath.html">XPath</a> or <a 
shape="rect" href="xquery.html">XQuery</a> from the message.</p>
-
-<h3 id="BookLanguagesAppendix-UsingBeanExpressionsfromtheJavaDSL">Using Bean 
Expressions from the Java DSL</h3>
-
-<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;activemq:topic:OrdersTopic&quot;).
+<h2 id="BookLanguagesAppendix-BeanLanguage">Bean Language</h2><p>The purpose 
of the Bean Language is to be able to implement an <a shape="rect" 
href="expression.html">Expression</a> or <a shape="rect" 
href="predicate.html">Predicate</a> using a simple method on a bean.</p><p>So 
the idea is you specify a bean name which will then be resolved in the <a 
shape="rect" href="registry.html">Registry</a> such as the <a shape="rect" 
href="spring.html">Spring</a> ApplicationContext then a method is invoked to 
evaluate the <a shape="rect" href="expression.html">Expression</a> or <a 
shape="rect" href="predicate.html">Predicate</a>.</p><p>If no method name is 
provided then one is attempted to be chosen using the rules for <a shape="rect" 
href="bean-binding.html">Bean Binding</a>; using the type of the message body 
and using any annotations on the bean methods.</p><p>The <a shape="rect" 
href="bean-binding.html">Bean Binding</a> rules are used to bind the <a 
shape="rect" href="message.html">Messag
 e</a> Exchange to the method parameters; so you can annotate the bean to 
extract headers or other expressions such as <a shape="rect" 
href="xpath.html">XPath</a> or <a shape="rect" href="xquery.html">XQuery</a> 
from the message.</p><h3 
id="BookLanguagesAppendix-UsingBeanExpressionsfromtheJavaDSL">Using Bean 
Expressions from the Java DSL</h3><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;activemq:topic:OrdersTopic&quot;).
   filter().method(&quot;myBean&quot;, &quot;isGoldCustomer&quot;).
     to(&quot;activemq:BigSpendersQueue&quot;);
 ]]></script>
-</div></div>
-
-<h3 id="BookLanguagesAppendix-UsingBeanExpressionsfromXML">Using Bean 
Expressions from XML</h3>
-
-<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;route&gt;
+</div></div><h3 id="BookLanguagesAppendix-UsingBeanExpressionsfromXML">Using 
Bean Expressions from XML</h3><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;route&gt;
   &lt;from uri=&quot;activemq:topic:OrdersTopic&quot;/&gt;
   &lt;filter&gt;
     &lt;method ref=&quot;myBean&quot; method=&quot;isGoldCustomer&quot;/&gt;
@@ -123,107 +105,53 @@ from(&quot;activemq:topic:OrdersTopic&qu
   &lt;/filter&gt;
 &lt;/route&gt;
 ]]></script>
-</div></div>
-
-    <div class="aui-message success shadowed information-macro">
+</div></div>    <div class="aui-message success shadowed information-macro">
                     <p class="title">Bean attribute now deprecated</p>
                             <span class="aui-icon icon-success">Icon</span>
                 <div class="message-content">
-                            
-<p>Note, the <code>bean</code> attribute of the method expression element is 
now deprecated. You should now make use of <code>ref</code> attribute 
instead.</p>
+                            <p>Note, the <code>bean</code> attribute of the 
method expression element is now deprecated. You should now make use of 
<code>ref</code> attribute instead.</p>
                     </div>
     </div>
-
-
-<h3 id="BookLanguagesAppendix-Writingtheexpressionbean">Writing the expression 
bean</h3>
-
-<p>The bean in the above examples is just any old Java Bean with a method 
called isGoldCustomer() that returns some object that is easily converted to a 
<strong>boolean</strong> value in this case, as its used as a predicate.</p>
-
-<p>So we could implement it like this...</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[
-public class MyBean {
+<h3 id="BookLanguagesAppendix-Writingtheexpressionbean">Writing the expression 
bean</h3><p>The bean in the above examples is just any old Java Bean with a 
method called isGoldCustomer() that returns some object that is easily 
converted to a <strong>boolean</strong> value in this case, as its used as a 
predicate.</p><p>So we could implement it like this...</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[public class MyBean {
   public boolean isGoldCustomer(Exchange exchange) {
        ...
   }
 }
 ]]></script>
-</div></div>
-
-<p>We can also use the <a shape="rect" href="bean-integration.html">Bean 
Integration</a> annotations. For example you could do...</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[
-public boolean isGoldCustomer(String body) {...}
+</div></div><p>We can also use the <a shape="rect" 
href="bean-integration.html">Bean Integration</a> annotations. For example you 
could do...</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[public boolean isGoldCustomer(String body) 
{...}
 ]]></script>
-</div></div>
-
-<p>or</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[
-public boolean isGoldCustomer(@Header(name = &quot;foo&quot;) Integer 
fooHeader) {...}
+</div></div><p>or</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[public boolean isGoldCustomer(@Header(name = 
&quot;foo&quot;) Integer fooHeader) {...}
 ]]></script>
-</div></div>
-
-<p>So you can bind parameters of the method to the Exchange, the <a 
shape="rect" href="message.html">Message</a> or individual headers, properties, 
the body or other expressions.</p>
-
-<h3 id="BookLanguagesAppendix-Nonregistrybeans">Non registry beans</h3>
-<p>The <a shape="rect" href="bean-language.html">Bean Language</a> also 
supports invoking beans that isn't registered in the <a shape="rect" 
href="registry.html">Registry</a>. This is usable for quickly to invoke a bean 
from Java DSL where you don't need to register the bean in the <a shape="rect" 
href="registry.html">Registry</a> such as the <a shape="rect" 
href="spring.html">Spring</a> ApplicationContext.</p>
-
-<p>Camel can instantiate the bean and invoke the method if given a class or 
invoke an already existing instance. This is illustrated from the example 
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(&quot;activemq:topic:OrdersTopic&quot;).
+</div></div><p>So you can bind parameters of the method to the Exchange, the 
<a shape="rect" href="message.html">Message</a> or individual headers, 
properties, the body or other expressions.</p><h3 
id="BookLanguagesAppendix-Nonregistrybeans">Non registry beans</h3><p>The <a 
shape="rect" href="bean-language.html">Bean Language</a> also supports invoking 
beans that isn't registered in the <a shape="rect" 
href="registry.html">Registry</a>. This is usable for quickly to invoke a bean 
from Java DSL where you don't need to register the bean in the <a shape="rect" 
href="registry.html">Registry</a> such as the <a shape="rect" 
href="spring.html">Spring</a> ApplicationContext.</p><p>Camel can instantiate 
the bean and invoke the method if given a class or invoke an already existing 
instance. This is illustrated from the example 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(&quot;activemq:topic:OrdersTopic&quot;).
                 filter().expression(BeanLanguage(MyBean.class, 
&quot;isGoldCustomer&quot;)).
                 to(&quot;activemq:BigSpendersQueue&quot;);
 ]]></script>
-</div></div>
-
-<p>The 2nd parameter <code>isGoldCustomer</code> is an optional parameter to 
explicit set the method name to invoke. If not provided Camel will try to 
invoke the best suited method. If case of ambiguity Camel will thrown an 
Exception. In these situations the 2nd parameter can solve this problem. Also 
the code is more readable if the method name is provided. The 1st parameter can 
also be an existing instance of a Bean such as:</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[
-   private MyBean my;
+</div></div><p>The 2nd parameter <code>isGoldCustomer</code> is an optional 
parameter to explicit set the method name to invoke. If not provided Camel will 
try to invoke the best suited method. If case of ambiguity Camel will thrown an 
Exception. In these situations the 2nd parameter can solve this problem. Also 
the code is more readable if the method name is provided. The 1st parameter can 
also be an existing instance of a Bean such as:</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[   private MyBean my;
 
         from(&quot;activemq:topic:OrdersTopic&quot;).
                 filter().expression(BeanLanguage.bean(my, 
&quot;isGoldCustomer&quot;)).
                 to(&quot;activemq:BigSpendersQueue&quot;);
 ]]></script>
-</div></div>
-
-<p>In Camel 2.2 onwards you can avoid the <code>BeanLanguage</code> and have 
it just as:</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[
-   private MyBean my;
+</div></div><p>In Camel 2.2 onwards you can avoid the 
<code>BeanLanguage</code> and have it just as:</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[   private MyBean my;
 
         from(&quot;activemq:topic:OrdersTopic&quot;).
                 filter().expression(bean(my, &quot;isGoldCustomer&quot;)).
                 to(&quot;activemq:BigSpendersQueue&quot;);
 ]]></script>
-</div></div>
-
-<p>Which also can be done in a bit shorter and nice way:</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[
-   private MyBean my;
+</div></div><p>Which also can be done in a bit shorter and nice way:</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[   private MyBean my;
 
         from(&quot;activemq:topic:OrdersTopic&quot;).
                 filter().method(my, &quot;isGoldCustomer&quot;).
                 to(&quot;activemq:BigSpendersQueue&quot;);
 ]]></script>
-</div></div>
-
-
-<h3 id="BookLanguagesAppendix-Otherexamples">Other examples</h3>
-
-<p>We have some test cases you can look at if it'll help</p>
-
-<ul><li><a shape="rect" class="external-link" 
href="http://svn.apache.org/repos/asf/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/MethodFilterTest.java";>MethodFilterTest
 </a> is a JUnit test case showing the Java <a shape="rect" 
href="dsl.html">DSL</a> use of the bean expression being used in a 
filter</li><li><a shape="rect" class="external-link" 
href="http://svn.apache.org/repos/asf/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/aggregator.xml";>aggregator.xml</a>
 is a Spring XML test case for the <a shape="rect" 
href="aggregator.html">Aggregator</a> which uses a bean method call to test for 
the completion of the aggregation.</li></ul>
-
-
-<h3 id="BookLanguagesAppendix-Dependencies">Dependencies</h3>
-<p>The Bean language is part of <strong>camel-core</strong>.</p>
+</div></div><h3 id="BookLanguagesAppendix-Otherexamples">Other 
examples</h3><p>We have some test cases you can look at if it'll 
help</p><ul><li><a shape="rect" class="external-link" 
href="http://svn.apache.org/repos/asf/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/MethodFilterTest.java";>MethodFilterTest
 </a> is a JUnit test case showing the Java <a shape="rect" 
href="dsl.html">DSL</a> use of the bean expression being used in a 
filter</li><li><a shape="rect" class="external-link" 
href="http://svn.apache.org/repos/asf/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/aggregator.xml";>aggregator.xml</a>
 is a Spring XML test case for the <a shape="rect" 
href="aggregator.html">Aggregator</a> which uses a bean method call to test for 
the completion of the aggregation.</li></ul><h3 
id="BookLanguagesAppendix-Dependencies">Dependencies</h3><p>The Bean language 
is part of <strong>camel-core</strong>.</p>
 <h2 id="BookLanguagesAppendix-ConstantExpressionLanguage">Constant Expression 
Language</h2>
 
 <p>The Constant Expression Language is really just a way to specify constant 
strings as a type of expression. </p>

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


Reply via email to