camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r897377 [5/27] - in /websites/production/camel/content: ./ 2007/08/17/ 2007/08/20/ 2007/10/01/ 2007/10/28/ 2008/04/08/ 2008/04/22/ 2008/04/28/ 2008/07/22/ 2008/10/31/ 2009/01/19/ 2009/02/03/ 2009/02/17/ 2009/03/17/ 2009/05/19/ 2009/06/15/ 2...
Date Tue, 11 Feb 2014 07:24:26 GMT
Modified: websites/production/camel/content/book-component-appendix.html
==============================================================================
--- websites/production/camel/content/book-component-appendix.html (original)
+++ websites/production/camel/content/book-component-appendix.html Tue Feb 11 07:24:13 2014
@@ -18,11 +18,11 @@
 -->
 <html>
 <head>
-    <link href="http://camel.apache.org/styles/site.css" rel="stylesheet" type="text/css">
-    <link href="http://camel.apache.org/styles/type-settings.css" rel="stylesheet" type="text/css">
-    <script src="http://camel.apache.org/styles/prototype.js" type="text/javascript"></script>
-    <script src="http://camel.apache.org/styles/rico.js" type="text/javascript"></script>    
-    <script src="http://camel.apache.org/styles/site.js" type="text/javascript"></script>
+    <link href="//camel.apache.org/styles/site.css" rel="stylesheet" type="text/css">
+    <link href="//camel.apache.org/styles/type-settings.css" rel="stylesheet" type="text/css">
+    <script src="//camel.apache.org/styles/prototype.js" type="text/javascript"></script>
+    <script src="//camel.apache.org/styles/rico.js" type="text/javascript"></script>    
+    <script src="//camel.apache.org/styles/site.js" type="text/javascript"></script>
 
     <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 
@@ -36,12 +36,12 @@
     <![endif]-->
 
 
-  <link href='http://camel.apache.org/styles/highlighter/styles/shCoreCamel.css' rel='stylesheet' type='text/css' />
-  <link href='http://camel.apache.org/styles/highlighter/styles/shThemeCamel.css' rel='stylesheet' type='text/css' />
-  <script src='http://camel.apache.org/styles/highlighter/scripts/shCore.js' type='text/javascript'></script>
-  <script src='http://camel.apache.org/styles/highlighter/scripts/shBrushJava.js' type='text/javascript'></script>
-  <script src='http://camel.apache.org/styles/highlighter/scripts/shBrushXml.js' type='text/javascript'></script>
-  <script src='http://camel.apache.org/styles/highlighter/scripts/shBrushPlain.js' type='text/javascript'></script>
+  <link href='//camel.apache.org/styles/highlighter/styles/shCoreCamel.css' rel='stylesheet' type='text/css' />
+  <link href='//camel.apache.org/styles/highlighter/styles/shThemeCamel.css' rel='stylesheet' type='text/css' />
+  <script src='//camel.apache.org/styles/highlighter/scripts/shCore.js' type='text/javascript'></script>
+  <script src='//camel.apache.org/styles/highlighter/scripts/shBrushJava.js' type='text/javascript'></script>
+  <script src='//camel.apache.org/styles/highlighter/scripts/shBrushXml.js' type='text/javascript'></script>
+  <script src='//camel.apache.org/styles/highlighter/scripts/shBrushPlain.js' type='text/javascript'></script>
   
   <script type="text/javascript">
   SyntaxHighlighter.defaults['toolbar'] = false;
@@ -745,60 +745,31 @@ from(&quot;direct:start&quot;).bean(Exam
 <h3 id="BookComponentAppendix-SeeAlso.4">See Also</h3>
 <ul><li><a shape="rect" href="configuring-camel.html">Configuring Camel</a></li><li><a shape="rect" href="component.html">Component</a></li><li><a shape="rect" href="endpoint.html">Endpoint</a></li><li><a shape="rect" href="getting-started.html">Getting Started</a></li></ul>
 <ul><li><a shape="rect" href="class.html">Class</a> component</li><li><a shape="rect" href="bean-binding.html">Bean Binding</a></li><li><a shape="rect" href="bean-integration.html">Bean Integration</a></li></ul>
-<h2 id="BookComponentAppendix-BeanValidationComponent">Bean Validation Component</h2>
-
-<p><strong>Available as of Camel 2.3</strong></p>
-
-<p>The Validation component performs bean validation of the message body using the Java Bean Validation API (<a shape="rect" class="external-link" href="http://jcp.org/en/jsr/detail?id=303" rel="nofollow">JSR 303</a>). Camel uses the reference implementation, which is <a shape="rect" class="external-link" href="http://docs.jboss.org/hibernate/validator/4.3/reference/en-US/html_single/" rel="nofollow">Hibernate Validator</a>.</p>
-
-<p>Maven users will need to add the following dependency to their <code>pom.xml</code> for this component:</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;dependency&gt;
+<h2 id="BookComponentAppendix-BeanValidationComponent">Bean Validation Component</h2><p><strong>Available as of Camel 2.3</strong></p><p>The Validation component performs bean validation of the message body using the Java Bean Validation API (<a shape="rect" class="external-link" href="http://jcp.org/en/jsr/detail?id=303" rel="nofollow">JSR 303</a>). Camel uses the reference implementation, which is <a shape="rect" class="external-link" href="http://docs.jboss.org/hibernate/validator/4.3/reference/en-US/html_single/" rel="nofollow">Hibernate Validator</a>.</p><p>Maven users will need to add the following dependency to their <code>pom.xml</code> for this component:</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;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-bean-validator&lt;/artifactId&gt;
-    &lt;version&gt;x.x.x&lt;/version&gt;
+    &lt;version&gt;x.y.z&lt;/version&gt;
     &lt;!-- use the same version as your Camel core version --&gt;
 &lt;/dependency&gt;
 ]]></script>
-</div></div>
-
-
-<h3 id="BookComponentAppendix-URIformat.4">URI format</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[
-bean-validator:something[?options]
+</div></div><h3 id="BookComponentAppendix-URIformat.4">URI format</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[bean-validator:label[?options]
 ]]></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[
-bean-validator://something[?options]
+</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[bean-validator://label[?options]
 ]]></script>
-</div></div>
-
-<p>Where <strong>something</strong> must be present to provide a valid url<br clear="none">
-You can append query options to the URI in the following format, ?option=value&amp;option=value&amp;...</p>
-
-<h3 id="BookComponentAppendix-URIOptions.1">URI Options</h3>
-<div class="confluenceTableSmall">
-<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p> Option </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Default </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Description </p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>group</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>javax.validation.groups.Default</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The custom validation group to use. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>messageInterpolator</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>org.hibernate.validator.engine.<br clear="none" class="atl-forced-newline">ResourceBundleMessageInterpolator</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Reference to a custom <code>javax.validation.MessageInterpolator</code> in the <a shape="rect" href="regis
 try.html" title="Registry">Registry</a>. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>traversableResolver</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>org.hibernate.validator.engine.resolver.<br clear="none" class="atl-forced-newline">DefaultTraversableResolver</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Reference to a custom <code>javax.validation.TraversableResolver</code> in the <a shape="rect" href="registry.html" title="Registry">Registry</a>. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>constraintValidatorFactory</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>org.hibernate.validator.engine.<br clear="none" class="atl-forced-newline">ConstraintValidatorFactoryImpl</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Reference to a custom <code>javax.validation.ConstraintValidatorFactory</code> in the <a shape="rect" h
 ref="registry.html" title="Registry">Registry</a>. </p></td></tr></tbody></table>
-</div>
-
-<h3 id="BookComponentAppendix-ServiceMix4/OSGiDeployment.">ServiceMix4/OSGi Deployment.</h3>
+</div></div><p>Where <strong>label</strong> is an arbitrary text value describing the endpoint.<br clear="none"> You can append query options to the URI in the following format, ?option=value&amp;option=value&amp;...</p><h3 id="BookComponentAppendix-URIOptions.1">URI Options</h3><div class="confluenceTableSmall">
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p> Option </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Default </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Description </p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>group</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>javax.validation.groups.Default</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The custom validation group to use. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>validationProviderResolver</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Depends on JSR303 jar provided. </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Camel <strong>2.13.0</strong>: Reference to a custom <code>javax.validation.ValidationProviderResolver</code> in the <a shape="rect" href="registry.html" title="Registry">Registry</a>. </p>
 </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>messageInterpolator</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>org.hibernate.validator.engine.<br clear="none" class="atl-forced-newline">ResourceBundleMessageInterpolator</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Reference to a custom <code>javax.validation.MessageInterpolator</code> in the <a shape="rect" href="registry.html" title="Registry">Registry</a>. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>traversableResolver</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>org.hibernate.validator.engine.resolver.<br clear="none" class="atl-forced-newline">DefaultTraversableResolver</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Reference to a custom <code>javax.validation.TraversableResolver</code> in the <a shape="rect" href="registry.html" title="Registry">Registry</a>. </p><
 /td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>constraintValidatorFactory</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>org.hibernate.validator.engine.<br clear="none" class="atl-forced-newline">ConstraintValidatorFactoryImpl</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Reference to a custom <code>javax.validation.ConstraintValidatorFactory</code> in the <a shape="rect" href="registry.html" title="Registry">Registry</a>. </p></td></tr></tbody></table>
+</div><h3 id="BookComponentAppendix-ServiceMix4/OSGiDeployment.">ServiceMix4/OSGi Deployment.</h3><p>The bean-validator when deployed in an OSGi environment requires a little help to accommodate the resource loading specified in JSR303, this was fixed in Servicemix-Specs 1.6-SNAPSHOT.</p><p>The other way to load Hibernate Validator in the OSGi environment is to use dedicated <code>ValidationProviderResolver</code> implementation, just as <code>org.apache.camel.component.bean.validator.HibernateValidationProviderResolver</code>. The snippet below demonstrates this approach. Keep in mind that you can use <code>HibernateValidationProviderResolver</code> starting from the Camel 2.13.0.</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>Using HibernateValidationProviderResolver</b></div><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[from(&quot;direct:test&quot;).
+  to(&quot;bean-validator://ValidationProviderResolverTest?validationProviderResolver=#myValidationProviderResolver&quot;);
 
-<p>The bean-validator when deployed in an OSGi environment requires a little help to accommodate the resource loading specified in JSR303, this was fixed in Servicemix-Specs 1.6-SNAPSHOT.</p>
-
-<h3 id="BookComponentAppendix-Example">Example</h3>
+...
 
-<p>Assumed we have a java bean with the following annotations</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>Car.java</b></div><div class="codeContent panelContent pdl">
-<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
-public class Car {
+&lt;bean id=&quot;myValidationProviderResolver&quot; class=&quot;org.apache.camel.component.bean.validator.HibernateValidationProviderResolver&quot;/&gt; ]]></script>
+</div></div><h3 id="BookComponentAppendix-Example">Example</h3><p>Assumed we have a java bean with the following annotations</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>Car.java</b></div><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[public class Car {
 
     @NotNull
     private String manufacturer;
@@ -810,62 +781,32 @@ public class Car {
     // getter and setter
 }
 ]]></script>
-</div></div>
-
-<p>and an interface definition for our custom validation group</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>OptionalChecks.java</b></div><div class="codeContent panelContent pdl">
-<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
-public interface OptionalChecks {
+</div></div><p>and an interface definition for our custom validation group</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>OptionalChecks.java</b></div><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[public interface OptionalChecks {
 }
 ]]></script>
-</div></div>
-
-<p>with the following Camel route, only the <strong>@NotNull</strong> constraints on the attributes manufacturer and licensePlate will be validated (Camel uses the default group <code>javax.validation.groups.Default</code>).</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>with the following Camel route, only the <strong>@NotNull</strong> constraints on the attributes manufacturer and licensePlate will be validated (Camel uses the default group <code>javax.validation.groups.Default</code>).</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;)
 .to(&quot;bean-validator://x&quot;)
 .to(&quot;mock:end&quot;)
 ]]></script>
-</div></div>
-
-<p>If you want to check the constraints from the group <code>OptionalChecks</code>, you have to define the route 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[
-from(&quot;direct:start&quot;)
+</div></div><p>If you want to check the constraints from the group <code>OptionalChecks</code>, you have to define the route 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[from(&quot;direct:start&quot;)
 .to(&quot;bean-validator://x?group=OptionalChecks&quot;)
 .to(&quot;mock:end&quot;)
 ]]></script>
-</div></div>
-
-<p>If you want to check the constraints from both groups, you have to define a new interface first</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>AllChecks.java</b></div><div class="codeContent panelContent pdl">
-<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
-@GroupSequence({Default.class, OptionalChecks.class})
+</div></div><p>If you want to check the constraints from both groups, you have to define a new interface first</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>AllChecks.java</b></div><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[@GroupSequence({Default.class, OptionalChecks.class})
 public interface AllChecks {
 }
 ]]></script>
-</div></div>
-
-<p>and then your route definition should looks 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[
-from(&quot;direct:start&quot;)
+</div></div><p>and then your route definition should looks 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[from(&quot;direct:start&quot;)
 .to(&quot;bean-validator://x?group=AllChecks&quot;)
 .to(&quot;mock:end&quot;)
 ]]></script>
-</div></div>
-
-<p>And if you have to provide your own message interpolator, traversable resolver and constraint validator factory, you have to write a route 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[
-&lt;bean id=&quot;myMessageInterpolator&quot; class=&quot;my.ConstraintValidatorFactory&quot; /&gt;
+</div></div><p>And if you have to provide your own message interpolator, traversable resolver and constraint validator factory, you have to write a route 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[&lt;bean id=&quot;myMessageInterpolator&quot; class=&quot;my.ConstraintValidatorFactory&quot; /&gt;
 &lt;bean id=&quot;myTraversableResolver&quot; class=&quot;my.TraversableResolver&quot; /&gt;
 &lt;bean id=&quot;myConstraintValidatorFactory&quot; class=&quot;my.ConstraintValidatorFactory&quot; /&gt;
 
@@ -874,13 +815,8 @@ from(&quot;direct:start&quot;)
 &amp;traversableResolver=#myTraversableResolver&amp;constraintValidatorFactory=#myConstraintValidatorFactory&quot;)
 .to(&quot;mock:end&quot;)
 ]]></script>
-</div></div>
-
-<p>It's also possible to describe your constraints as XML and not as Java annotations. In this case, you have to provide the file <code>META-INF/validation.xml</code> which could looks like this</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>validation.xml</b></div><div class="codeContent panelContent pdl">
-<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
-&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
+</div></div><p>It's also possible to describe your constraints as XML and not as Java annotations. In this case, you have to provide the file <code>META-INF/validation.xml</code> which could looks like this</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>validation.xml</b></div><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
 &lt;validation-config
 	xmlns=&quot;http://jboss.org/xml/ns/javax/validation/configuration&quot;
 	xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
@@ -893,13 +829,8 @@ from(&quot;direct:start&quot;)
 	&lt;constraint-mapping&gt;/constraints-car.xml&lt;/constraint-mapping&gt;
 &lt;/validation-config&gt;
 ]]></script>
-</div></div>
-
-<p>and the <code>constraints-car.xml</code> file</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>constraints-car.xml</b></div><div class="codeContent panelContent pdl">
-<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
-&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
+</div></div><p>and the <code>constraints-car.xml</code> file</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>constraints-car.xml</b></div><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
 &lt;constraint-mappings xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
 	xsi:schemaLocation=&quot;http://jboss.org/xml/ns/javax/validation/mapping validation-mapping-1.0.xsd&quot;
 	xmlns=&quot;http://jboss.org/xml/ns/javax/validation/mapping&quot;&gt;
@@ -924,10 +855,7 @@ from(&quot;direct:start&quot;)
 	&lt;/bean&gt;
 &lt;/constraint-mappings&gt;
 ]]></script>
-</div></div>
-
-
-<h3 id="BookComponentAppendix-SeeAlso.5">See Also</h3>
+</div></div><p></p><h3 id="BookComponentAppendix-SeeAlso.5">See Also</h3>
 <ul><li><a shape="rect" href="configuring-camel.html">Configuring Camel</a></li><li><a shape="rect" href="component.html">Component</a></li><li><a shape="rect" href="endpoint.html">Endpoint</a></li><li><a shape="rect" href="getting-started.html">Getting Started</a></li></ul>
 <h2 id="BookComponentAppendix-BrowseComponent">Browse Component</h2>
 
@@ -974,105 +902,43 @@ browse:someName[?options]
 
 <h3 id="BookComponentAppendix-SeeAlso.6">See Also</h3>
 <ul><li><a shape="rect" href="configuring-camel.html">Configuring Camel</a></li><li><a shape="rect" href="component.html">Component</a></li><li><a shape="rect" href="endpoint.html">Endpoint</a></li><li><a shape="rect" href="getting-started.html">Getting Started</a></li></ul>
-<h2 id="BookComponentAppendix-CacheComponent">Cache Component</h2>
-
-<p><strong>Available as of Camel 2.1</strong></p>
-
-<p>The <strong>cache</strong> component enables you to perform caching operations using EHCache as the Cache Implementation. The cache itself is created on demand or if a cache of that name already exists then it is simply utilized with its original settings.</p>
-
-<p>This component supports producer and event based consumer endpoints.</p>
-
-<p>The Cache consumer is an event based consumer and can be used to listen and respond to specific cache activities. If you need to perform selections from a pre-existing cache, use the processors defined for the cache component.</p>
-
-<p>Maven users will need to add the following dependency to their <code>pom.xml</code> for this component:</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;dependency&gt;
+<h2 id="BookComponentAppendix-CacheComponent">Cache Component</h2><p><strong>Available as of Camel 2.1</strong></p><p>The <strong>cache</strong> component enables you to perform caching operations using EHCache as the Cache Implementation. The cache itself is created on demand or if a cache of that name already exists then it is simply utilized with its original settings.</p><p>This component supports producer and event based consumer endpoints.</p><p>The Cache consumer is an event based consumer and can be used to listen and respond to specific cache activities. If you need to perform selections from a pre-existing cache, use the processors defined for the cache component.</p><p>Maven users will need to add the following dependency to their <code>pom.xml</code> for this component:</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;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-cache&lt;/artifactId&gt;
     &lt;version&gt;x.x.x&lt;/version&gt;
     &lt;!-- use the same version as your Camel core version --&gt;
 &lt;/dependency&gt;
 ]]></script>
-</div></div>
-
-<h3 id="BookComponentAppendix-URIformat.6">URI format</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[
-cache://cacheName[?options]
+</div></div><h3 id="BookComponentAppendix-URIformat.6">URI format</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[cache://cacheName[?options]
 ]]></script>
-</div></div>
-
-<p>You can append query options to the URI in the following format, <code>?option=value&amp;option=#beanRef&amp;...</code></p>
-
-<h3 id="BookComponentAppendix-Options.3">Options</h3>
-<div class="confluenceTableSmall">
-<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p> Name </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Default Value </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Description </p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>maxElementsInMemory</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>1000</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The number of elements that may be stored in the defined cache </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>memoryStoreEvictionPolicy</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>MemoryStoreEvictionPolicy.LFU</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The number of elements that may be stored in the defined cache. Options include</p>
+</div></div><p>You can append query options to the URI in the following format, <code>?option=value&amp;option=#beanRef&amp;...</code></p><h3 id="BookComponentAppendix-Options.3">Options</h3><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p> Name </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Default Value </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Description </p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>maxElementsInMemory</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>1000</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The number of elements that may be stored in the defined cache </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>memoryStoreEvictionPolicy</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>MemoryStoreEvictionPolicy.LFU</code> </p></td><td colspan="1" rowspan
 ="1" class="confluenceTd"><p> The number of elements that may be stored in the defined cache. Options include</p>
 <ul class="alternate" type="square"><li>MemoryStoreEvictionPolicy.LFU - Least frequently used</li><li>MemoryStoreEvictionPolicy.LRU - Least recently used</li><li>MemoryStoreEvictionPolicy.FIFO - first in first out, the oldest element by creation time</li></ul>
 </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>overflowToDisk</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>true</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Specifies whether cache may overflow to disk </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>eternal</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>false</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Sets whether elements are eternal. If eternal, timeouts are ignored and the<br clear="none" class="atl-forced-newline">
  element never expires. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>timeToLiveSeconds</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>300</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The maximum time between creation time and when an element expires.<br clear="none" class="atl-forced-newline">
  Is used only if the element is not eternal </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>timeToIdleSeconds</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>300</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The maximum amount of time between accesses before an element expires </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>diskPersistent</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>false</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Whether the disk store persists between restarts of the Virtual Machine. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>diskExpiryThreadIntervalSeconds</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>120</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The number of seconds between runs of the disk expiry thread. </p></
 td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>cacheManagerFactory</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>null</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.8:</strong> If you want to use a custom factory which instantiates and creates the EHCache <code>net.sf.ehcache.CacheManager</code>. <br clear="none" class="atl-forced-newline">  <br clear="none" class="atl-forced-newline">  <em>Type:</em> abstract org.apache.camel.component.cache.CacheManagerFactory </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>eventListenerRegistry</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>null</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.8:</strong> Sets a list of EHCache <code>net.sf.ehcache.event.CacheEventListener</code> for all new caches- no need to define it per cache in EHCache xml config anymore. <br c
 lear="none" class="atl-forced-newline">  <br clear="none" class="atl-forced-newline">  <em>Type:</em> org.apache.camel.component.cache.CacheEventListenerRegistry </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>cacheLoaderRegistry</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>null</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.8:</strong> Sets a list of <code>org.apache.camel.component.cache.CacheLoaderWrapper</code> that extends EHCache <code>net.sf.ehcache.loader.CacheLoader</code> for all new caches- no need to define it per cache in EHCache xml config anymore. <br clear="none" class="atl-forced-newline">  <br clear="none" class="atl-forced-newline">  <em>Type:</em> org.apache.camel.component.cache.CacheLoaderRegistry </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>key</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>null</code> </p
 ></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.10:</strong> To configure using a cache key by default. If a key is provided in the message header, then the key from the header takes precedence. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>operation</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>null</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.10:</strong> To configure using an cache operation by default. If an operation in the message header, then the operation from the header takes precedence. </p></td></tr></tbody></table>
-</div>
-
-<h3 id="BookComponentAppendix-Sending/ReceivingMessagesto/fromthecache">Sending/Receiving Messages to/from the cache</h3>
-
-<h4 id="BookComponentAppendix-MessageHeadersuptoCamel2.7">Message Headers up to Camel 2.7</h4>
-<div class="confluenceTableSmall">
+<h3 id="BookComponentAppendix-CacheComponentoptions">Cache Component options</h3><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p> Name </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Default Value </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Description </p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>configuration</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> To use a custom <code>org.apache.camel.component.cache.CacheConfiguration</code> configuration. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>cacheManagerFactory</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> To use a custom <code>org.apache.camel.component.cache.CacheManagerFactory</code>. </p></td></tr><tr><td colsp
 an="1" rowspan="1" class="confluenceTd"><p> <code>configurationFile</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.13/2.12.3:</strong> To configure the location of the <code>ehcache.xml</code> file to use, such as <code>classpath:com/foo/mycache.xml</code> to load from classpath. By default the configuration is loaded from <code>classpath:ehcache.xml</code>. </p></td></tr></tbody></table>
+<h3 id="BookComponentAppendix-Sending/ReceivingMessagesto/fromthecache"><span style="line-height: 1.5625;">Sending/Receiving Messages to/from the cache</span></h3><h4 id="BookComponentAppendix-MessageHeadersuptoCamel2.7">Message Headers up to Camel 2.7</h4><div class="confluenceTableSmall">
 <table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p> Header </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Description </p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>CACHE_OPERATION</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The operation to be performed on the cache. Valid options are</p>
 <ul class="alternate" type="square"><li>GET</li><li>CHECK</li><li>ADD</li><li>UPDATE</li><li>DELETE</li><li>DELETEALL<br clear="none" class="atl-forced-newline">
 <code>GET</code> and <code>CHECK</code> requires <strong>Camel 2.3</strong> onwards. </li></ul>
 </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>CACHE_KEY</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The cache key used to store the Message in the cache. The cache key is optional if the CACHE_OPERATION is DELETEALL </p></td></tr></tbody></table>
-</div>
-
-<h4 id="BookComponentAppendix-MessageHeadersCamel2.8+">Message Headers Camel 2.8+</h4>
-
-    <div class="aui-message hint shadowed information-macro">
+</div><h4 id="BookComponentAppendix-MessageHeadersCamel2.8+">Message Headers Camel 2.8+</h4>    <div class="aui-message hint shadowed information-macro">
                     <p class="title">Header changes in Camel 2.8</p>
                             <span class="aui-icon icon-hint">Icon</span>
                 <div class="message-content">
-                            
-<p>The header names and supported values have changed to be prefixed with 'CamelCache' and use mixed case.  This makes them easier to identify and keep separate from other headers.  The CacheConstants variable names remain unchanged, just their values have been changed.  Also, these headers are now removed from the exchange after the cache operation is performed.</p>
+                            <p>The header names and supported values have changed to be prefixed with 'CamelCache' and use mixed case. This makes them easier to identify and keep separate from other headers. The CacheConstants variable names remain unchanged, just their values have been changed. Also, these headers are now removed from the exchange after the cache operation is performed.</p>
                     </div>
     </div>
-
-
 <div class="confluenceTableSmall">
 <table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p> Header </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Description </p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>CamelCacheOperation</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The operation to be performed on the cache. The valid options are</p>
 <ul class="alternate" type="square"><li>CamelCacheGet</li><li>CamelCacheCheck</li><li>CamelCacheAdd</li><li>CamelCacheUpdate</li><li>CamelCacheDelete</li><li>CamelCacheDeleteAll</li></ul>
 </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>CamelCacheKey</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The cache key used to store the Message in the cache. The cache key is optional if the CamelCacheOperation is CamelCacheDeleteAll </p></td></tr></tbody></table>
-</div>
-
-<p>The <code>CamelCacheAdd</code> and <code>CamelCacheUpdate</code> operations support additional headers: </p>
-<div class="confluenceTableSmall">
+</div><p>The <code>CamelCacheAdd</code> and <code>CamelCacheUpdate</code> operations support additional headers:</p><div class="confluenceTableSmall">
 <table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p> Header </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Type </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>  Description </p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>CamelCacheTimeToLive</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>Integer</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.11:</strong> Time to live in seconds. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>CamelCacheTimeToIdle</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>Integer</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.11:</strong> Time to idle in seconds. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>CamelCacheEternal</code> </p></td><td colspan="1" rowspan="1" class=
 "confluenceTd"><p> <code>Boolean</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.11:</strong> Whether the content is eternal. </p></td></tr></tbody></table>
-</div>
-
-
-<h4 id="BookComponentAppendix-CacheProducer">Cache Producer</h4>
-
-<p>Sending data to the cache involves the ability to direct payloads in exchanges to be stored in a pre-existing or created-on-demand cache. The mechanics of doing this involve</p>
-<ul class="alternate"><li>setting the Message Exchange Headers shown above.</li><li>ensuring that the Message Exchange Body contains the message directed to the cache</li></ul>
-
-
-<h4 id="BookComponentAppendix-CacheConsumer">Cache Consumer</h4>
-
-<p>Receiving data from the cache involves the ability of the CacheConsumer to listen on a pre-existing or created-on-demand Cache using an event Listener and receive automatic notifications when any cache activity take place (i.e CamelCacheGet/CamelCacheUpdate/CamelCacheDelete/CamelCacheDeleteAll). Upon such an activity taking place</p>
-<ul class="alternate"><li>an exchange containing Message Exchange Headers and a Message Exchange Body containing the just added/updated payload is placed and sent.</li><li>in case of a CamelCacheDeleteAll operation, the Message Exchange Header CamelCacheKey and the Message Exchange Body are not populated.</li></ul>
-
-
-<h4 id="BookComponentAppendix-CacheProcessors">Cache Processors</h4>
-
-<p>There are a set of nice processors with the ability to perform cache lookups and selectively replace payload content at the</p>
-<ul class="alternate"><li>body</li><li>token</li><li>xpath level</li></ul>
-
-
-<h3 id="BookComponentAppendix-CacheUsageSamples">Cache Usage Samples</h3>
-
-<h4 id="BookComponentAppendix-Example1:Configuringthecache">Example 1: Configuring the cache</h4>
-<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;cache://MyApplicationCache&quot; +
+</div><h4 id="BookComponentAppendix-CacheProducer">Cache Producer</h4><p>Sending data to the cache involves the ability to direct payloads in exchanges to be stored in a pre-existing or created-on-demand cache. The mechanics of doing this involve</p><ul class="alternate"><li>setting the Message Exchange Headers shown above.</li><li>ensuring that the Message Exchange Body contains the message directed to the cache</li></ul><h4 id="BookComponentAppendix-CacheConsumer">Cache Consumer</h4><p>Receiving data from the cache involves the ability of the CacheConsumer to listen on a pre-existing or created-on-demand Cache using an event Listener and receive automatic notifications when any cache activity take place (i.e CamelCacheGet/CamelCacheUpdate/CamelCacheDelete/CamelCacheDeleteAll). Upon such an activity taking place</p><ul class="alternate"><li>an exchange containing Message Exchange Headers and a Message Exchange Body containing the just added/updated payload is placed and sent.</li><
 li>in case of a CamelCacheDeleteAll operation, the Message Exchange Header CamelCacheKey and the Message Exchange Body are not populated.</li></ul><h4 id="BookComponentAppendix-CacheProcessors">Cache Processors</h4><p>There are a set of nice processors with the ability to perform cache lookups and selectively replace payload content at the</p><ul class="alternate"><li>body</li><li>token</li><li>xpath level</li></ul><h3 id="BookComponentAppendix-CacheUsageSamples">Cache Usage Samples</h3><h4 id="BookComponentAppendix-Example1:Configuringthecache">Example 1: Configuring the cache</h4><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;cache://MyApplicationCache&quot; +
           &quot;?maxElementsInMemory=1000&quot; +
           &quot;&amp;memoryStoreEvictionPolicy=&quot; +
               &quot;MemoryStoreEvictionPolicy.LFU&quot; +
@@ -1083,12 +949,8 @@ from(&quot;cache://MyApplicationCache&qu
           &quot;&amp;diskPersistent=true&quot; +
           &quot;&amp;diskExpiryThreadIntervalSeconds=300&quot;)
 ]]></script>
-</div></div>
-
-<h4 id="BookComponentAppendix-Example2:Addingkeystothecache">Example 2: Adding keys to the cache</h4>
-<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() {
+</div></div><h4 id="BookComponentAppendix-Example2:Addingkeystothecache">Example 2: Adding keys to the cache</h4><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() {
      from(&quot;direct:start&quot;)
      .setHeader(CacheConstants.CACHE_OPERATION, constant(CacheConstants.CACHE_OPERATION_ADD))
@@ -1097,12 +959,8 @@ RouteBuilder builder = new RouteBuilder(
    }
 };
 ]]></script>
-</div></div>
-
-<h4 id="BookComponentAppendix-Example2:Updatingexistingkeysinacache">Example 2: Updating existing keys in a cache</h4>
-<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() {
+</div></div><h4 id="BookComponentAppendix-Example2:Updatingexistingkeysinacache">Example 2: Updating existing keys in a cache</h4><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() {
      from(&quot;direct:start&quot;)
      .setHeader(CacheConstants.CACHE_OPERATION, constant(CacheConstants.CACHE_OPERATION_UPDATE))
@@ -1111,12 +969,8 @@ RouteBuilder builder = new RouteBuilder(
    }
 };
 ]]></script>
-</div></div>
-
-<h4 id="BookComponentAppendix-Example3:Deletingexistingkeysinacache">Example 3: Deleting existing keys in a cache</h4>
-<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() {
+</div></div><h4 id="BookComponentAppendix-Example3:Deletingexistingkeysinacache">Example 3: Deleting existing keys in a cache</h4><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() {
      from(&quot;direct:start&quot;)
      .setHeader(CacheConstants.CACHE_OPERATION, constant(CacheConstants.CACHE_DELETE))
@@ -1125,12 +979,8 @@ RouteBuilder builder = new RouteBuilder(
    }
 };
 ]]></script>
-</div></div>
-
-<h4 id="BookComponentAppendix-Example4:Deletingallexistingkeysinacache">Example 4: Deleting all existing keys in a cache</h4>
-<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() {
+</div></div><h4 id="BookComponentAppendix-Example4:Deletingallexistingkeysinacache">Example 4: Deleting all existing keys in a cache</h4><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() {
      from(&quot;direct:start&quot;)
      .setHeader(CacheConstants.CACHE_OPERATION, constant(CacheConstants.CACHE_DELETEALL))
@@ -1138,12 +988,8 @@ RouteBuilder builder = new RouteBuilder(
     }
 };
 ]]></script>
-</div></div>
-
-<h4 id="BookComponentAppendix-Example5:NotifyinganychangesregisteringinaCachetoProcessorsandotherProducers">Example 5: Notifying any changes registering in a Cache to Processors and other Producers</h4>
-<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() {
+</div></div><h4 id="BookComponentAppendix-Example5:NotifyinganychangesregisteringinaCachetoProcessorsandotherProducers">Example 5: Notifying any changes registering in a Cache to Processors and other Producers</h4><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() {
      from(&quot;cache://TestCache1&quot;)
      .process(new Processor() {
@@ -1158,12 +1004,8 @@ RouteBuilder builder = new RouteBuilder(
    }
 };
 ]]></script>
-</div></div>
-
-<h4 id="BookComponentAppendix-Example6:UsingProcessorstoselectivelyreplacepayloadwithcachevalues">Example 6: Using Processors to selectively replace payload with cache values</h4>
-<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() {
+</div></div><h4 id="BookComponentAppendix-Example6:UsingProcessorstoselectivelyreplacepayloadwithcachevalues">Example 6: Using Processors to selectively replace payload with cache values</h4><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() {
      //Message Body Replacer
      from(&quot;cache://TestCache1&quot;)
@@ -1188,12 +1030,8 @@ RouteBuilder builder = new RouteBuilder(
    }
 };
 ]]></script>
-</div></div>
-
-<h4 id="BookComponentAppendix-Example7:GettinganentryfromtheCache">Example 7: Getting an entry from the Cache</h4>
-<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><h4 id="BookComponentAppendix-Example7:GettinganentryfromtheCache">Example 7: Getting an entry from the Cache</h4><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;)
     // Prepare headers
     .setHeader(CacheConstants.CACHE_OPERATION, constant(CacheConstants.CACHE_OPERATION_GET))
     .setHeader(CacheConstants.CACHE_KEY, constant(&quot;Ralph_Waldo_Emerson&quot;)).
@@ -1208,14 +1046,8 @@ from(&quot;direct:start&quot;)
     .end()
     .to(&quot;direct:nextPhase&quot;);
 ]]></script>
-</div></div>
-
-<h4 id="BookComponentAppendix-Example8:CheckingforanentryintheCache">Example 8: Checking for an entry in the Cache</h4>
-
-<p>Note: The CHECK command tests existence of an entry in the cache but doesn't place a message in the body.</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><h4 id="BookComponentAppendix-Example8:CheckingforanentryintheCache">Example 8: Checking for an entry in the Cache</h4><p>Note: The CHECK command tests existence of an entry in the cache but doesn't place a message in the body.</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;)
     // Prepare headers
     .setHeader(CacheConstants.CACHE_OPERATION, constant(CacheConstants.CACHE_OPERATION_CHECK))
     .setHeader(CacheConstants.CACHE_KEY, constant(&quot;Ralph_Waldo_Emerson&quot;)).
@@ -1229,17 +1061,8 @@ from(&quot;direct:start&quot;)
         .to(&quot;cache://TestCache1&quot;)
     .end();
 ]]></script>
-</div></div>
-
-
-<h3 id="BookComponentAppendix-ManagementofEHCache">Management of EHCache</h3>
-
-<p><a shape="rect" class="external-link" href="http://ehcache.org/" rel="nofollow">EHCache</a> has its own statistics and management from <a shape="rect" href="camel-jmx.html">JMX</a>.</p>
-
-<p>Here's a snippet on how to expose them via JMX in a Spring application context:</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;bean id=&quot;ehCacheManagementService&quot; class=&quot;net.sf.ehcache.management.ManagementService&quot; init-method=&quot;init&quot; lazy-init=&quot;false&quot;&gt;
+</div></div><h3 id="BookComponentAppendix-ManagementofEHCache">Management of EHCache</h3><p><a shape="rect" class="external-link" href="http://ehcache.org/" rel="nofollow">EHCache</a> has its own statistics and management from <a shape="rect" href="camel-jmx.html">JMX</a>.</p><p>Here's a snippet on how to expose them via JMX in a Spring application context:</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;bean id=&quot;ehCacheManagementService&quot; class=&quot;net.sf.ehcache.management.ManagementService&quot; init-method=&quot;init&quot; lazy-init=&quot;false&quot;&gt;
   &lt;constructor-arg&gt;
     &lt;bean class=&quot;net.sf.ehcache.CacheManager&quot; factory-method=&quot;getInstance&quot;/&gt;
   &lt;/constructor-arg&gt;
@@ -1252,51 +1075,16 @@ from(&quot;direct:start&quot;)
   &lt;constructor-arg value=&quot;true&quot;/&gt;
 &lt;/bean&gt;
 ]]></script>
-</div></div>
-
-<p>Of course you can do the same thing in straight Java:</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[
-ManagementService.registerMBeans(CacheManager.getInstance(), mbeanServer, true, true, true, true);
+</div></div><p>Of course you can do the same thing in straight Java:</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[ManagementService.registerMBeans(CacheManager.getInstance(), mbeanServer, true, true, true, true);
 ]]></script>
-</div></div>
-
-<p>You can get cache hits, misses, in-memory hits, disk hits, size stats this way. You can also change CacheConfiguration parameters on the fly.</p>
-
-<h3 id="BookComponentAppendix-CachereplicationCamel2.8+">Cache replication Camel 2.8+</h3>
-
-<p>The Camel Cache component is able to distribute a cache across server nodes using several different replication mechanisms including: RMI, JGroups, JMS and Cache Server.</p>
-
-
-<p>There are two different ways to make it work:</p>
-
-<p><strong>1.</strong> You can configure <code>ehcache.xml</code> manually</p>
-
-<p>OR</p>
-
-<p><strong>2.</strong> You can configure these three options:</p>
-<ul class="alternate"><li>cacheManagerFactory</li><li>eventListenerRegistry</li><li>cacheLoaderRegistry</li></ul>
-
-
-
-<p>Configuring Camel Cache replication using the first option is a bit of hard work as you have to configure all caches separately. So in a situation when the all names of caches are not known, using <code>ehcache.xml</code> is not a good idea.</p>
-
-<p>The second option is much better when you want to use many different caches as you do not need to define options per cache. This is because replication options are set per <code>CacheManager</code> and per <code>CacheEndpoint</code>. Also it is the only way when cache names are not know at the development phase.</p>
-
-
-    <div class="aui-message warning shadowed information-macro">
+</div></div><p>You can get cache hits, misses, in-memory hits, disk hits, size stats this way. You can also change CacheConfiguration parameters on the fly.</p><h3 id="BookComponentAppendix-CachereplicationCamel2.8+">Cache replication Camel 2.8+</h3><p>The Camel Cache component is able to distribute a cache across server nodes using several different replication mechanisms including: RMI, JGroups, JMS and Cache Server.</p><p>There are two different ways to make it work:</p><p><strong>1.</strong> You can configure <code>ehcache.xml</code> manually</p><p>OR</p><p><strong>2.</strong> You can configure these three options:</p><ul class="alternate"><li>cacheManagerFactory</li><li>eventListenerRegistry</li><li>cacheLoaderRegistry</li></ul><p>Configuring Camel Cache replication using the first option is a bit of hard work as you have to configure all caches separately. So in a situation when the all names of caches are not known, using <code>ehcache.xml</code> is not a good idea.</p><p>The
  second option is much better when you want to use many different caches as you do not need to define options per cache. This is because replication options are set per <code>CacheManager</code> and per <code>CacheEndpoint</code>. Also it is the only way when cache names are not know at the development phase.</p>    <div class="aui-message warning shadowed information-macro">
                             <span class="aui-icon icon-warning">Icon</span>
                 <div class="message-content">
-                            
-<p>It might be useful to read the <a shape="rect" class="external-link" href="http://ehcache.org/documentation" rel="nofollow">EHCache manual</a> to get a better understanding of the Camel Cache replication mechanism.</p>
+                            <p>It might be useful to read the <a shape="rect" class="external-link" href="http://ehcache.org/documentation" rel="nofollow">EHCache manual</a> to get a better understanding of the Camel Cache replication mechanism.</p>
                     </div>
     </div>
-
-
-<h4 id="BookComponentAppendix-Example:JMScachereplication">Example: JMS cache replication</h4>
-
-<p>JMS replication is the most powerful and secured replication method. Used together with Camel Cache replication makes it also rather simple.<br clear="none">
-An example is available on <a shape="rect" href="cachereplicationjmsexample.html">a separate page</a>.</p>
+<h4 id="BookComponentAppendix-Example:JMScachereplication">Example: JMS cache replication</h4><p>JMS replication is the most powerful and secured replication method. Used together with Camel Cache replication makes it also rather simple.<br clear="none"> An example is available on <a shape="rect" href="cachereplicationjmsexample.html">a separate page</a>.</p>
 <h2 id="BookComponentAppendix-ClassComponent">Class Component</h2>
 <p><strong>Available as of Camel 2.4</strong></p>
 
@@ -1858,34 +1646,24 @@ template.send(&quot;direct:alias-verify&
 <h3 id="BookComponentAppendix-SeeAlso.9">See Also</h3>
 <ul><li><a shape="rect" href="configuring-camel.html">Configuring Camel</a></li><li><a shape="rect" href="component.html">Component</a></li><li><a shape="rect" href="endpoint.html">Endpoint</a></li><li><a shape="rect" href="getting-started.html">Getting Started</a></li></ul>
 <ul><li><a shape="rect" href="crypto.html">Crypto</a> Crypto is also available as a <a shape="rect" href="data-format.html">Data Format</a></li></ul>
-<h2 id="BookComponentAppendix-CXFComponent">CXF Component</h2>
-
-    <div class="aui-message warning shadowed information-macro">
+<h2 id="BookComponentAppendix-CXFComponent">CXF Component</h2>    <div class="aui-message warning shadowed information-macro">
                             <span class="aui-icon icon-warning">Icon</span>
                 <div class="message-content">
-                            
-<p>When using CXF as a consumer, the <a shape="rect" href="cxf-bean-component.html">CXF Bean Component</a> allows you to factor out how message payloads are received from their processing as a RESTful or SOAP web service. This has the potential of using a multitude of transports to consume web services. The bean component's configuration is also simpler and provides the fastest method to implement web services using Camel and CXF.</p>
+                            <p>When using CXF as a consumer, the <a shape="rect" href="cxf-bean-component.html">CXF Bean Component</a> allows you to factor out how message payloads are received from their processing as a RESTful or SOAP web service. This has the potential of using a multitude of transports to consume web services. The bean component's configuration is also simpler and provides the fastest method to implement web services using Camel and CXF.</p>
                     </div>
     </div>
-
-
     <div class="aui-message success shadowed information-macro">
                             <span class="aui-icon icon-success">Icon</span>
                 <div class="message-content">
-                            
-<p>When using CXF in streaming modes (see DataFormat option), then also read about <a shape="rect" href="stream-caching.html">Stream caching</a>.</p>
+                            <p>When using CXF in streaming modes (see DataFormat option), then also read about <a shape="rect" href="stream-caching.html">Stream caching</a>.</p>
                     </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>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.rbtoc1392103247397 {padding: 0px;}
+div.rbtoc1392103247397 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1392103247397 li {margin-left: 0px;padding-left: 0px;}
 
-<style type="text/css">/*<![CDATA[*/
-div.rbtoc1389903658737 {padding: 0px;}
-div.rbtoc1389903658737 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1389903658737 li {margin-left: 0px;padding-left: 0px;}
-
-/*]]>*/</style><div class="toc-macro rbtoc1389903658737">
+/*]]>*/</style></p><div class="toc-macro rbtoc1392103247397">
 <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>
@@ -1895,71 +1673,42 @@ div.rbtoc1389903658737 li {margin-left: 
 </li></ul>
 </li><li><a shape="rect" href="#CXF-ConfiguretheCXFendpointswithSpring">Configure the CXF endpoints with Spring</a></li><li><a shape="rect" href="#CXF-ConfiguringtheCXFEndpointswithApacheAriesBlueprint.">Configuring the CXF Endpoints with Apache Aries Blueprint.</a></li><li><a shape="rect" href="#CXF-Howtomakethecamel-cxfcomponentuselog4jinsteadofjava.util.logging">How to make the camel-cxf component use log4j instead of java.util.logging</a></li><li><a shape="rect" href="#CXF-Howtoletcamel-cxfresponsemessagewithxmlstartdocument">How to let camel-cxf response message with xml start document</a></li><li><a shape="rect" href="#CXF-Howtoconsumeamessagefromacamel-cxfendpointinPOJOdataformat">How to consume a message from a camel-cxf endpoint in POJO data format</a></li><li><a shape="rect" href="#CXF-Howtopreparethemessageforthecamel-cxfendpointinPOJOdataformat">How to prepare the message for the camel-cxf endpoint in POJO data format</a></li><li><a shape="rect" href="#CXF-Howtodealwitht
 hemessageforacamel-cxfendpointinPAYLOADdataformat">How to deal with the message for a camel-cxf endpoint in PAYLOAD data format</a></li><li><a shape="rect" href="#CXF-HowtogetandsetSOAPheadersinPOJOmode">How to get and set SOAP headers in POJO mode</a></li><li><a shape="rect" href="#CXF-HowtogetandsetSOAPheadersinPAYLOADmode">How to get and set SOAP headers in PAYLOAD mode</a></li><li><a shape="rect" href="#CXF-SOAPheadersarenotavailableinMESSAGEmode">SOAP headers are not available in MESSAGE mode</a></li><li><a shape="rect" href="#CXF-HowtothrowaSOAPFaultfromCamel">How to throw a SOAP Fault from Camel</a></li><li><a shape="rect" href="#CXF-Howtopropagateacamel-cxfendpoint'srequestandresponsecontext">How to propagate a camel-cxf endpoint's request and response context</a></li><li><a shape="rect" href="#CXF-AttachmentSupport">Attachment Support</a></li><li><a shape="rect" href="#CXF-StreamingSupportinPAYLOADmode">Streaming Support in PAYLOAD mode</a></li><li><a shape="rect" href="#CX
 F-SeeAlso">See Also</a></li></ul>
 </li></ul>
-</div>
-
-<p>Maven users will need to add the following dependency to their <code>pom.xml</code> for this component:</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[
-&lt;dependency&gt;
+</div><p>Maven users will need to add the following dependency to their <code>pom.xml</code> for this component:</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;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-cxf&lt;/artifactId&gt;
     &lt;version&gt;x.x.x&lt;/version&gt;
     &lt;!-- use the same version as your Camel core version --&gt;
 &lt;/dependency&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">CXF dependencies</p>
                             <span class="aui-icon icon-success">Icon</span>
                 <div class="message-content">
-                            
-<p>If you want to learn about CXF dependencies you can checkout the <code><a shape="rect" class="external-link" href="http://svn.apache.org/repos/asf/cxf/trunk/distribution/src/main/release/lib/WHICH_JARS">WHICH-JARS</a></code> text file.</p>
+                            <p>If you want to learn about CXF dependencies you can checkout the <code><a shape="rect" class="external-link" href="http://svn.apache.org/repos/asf/cxf/trunk/distribution/src/main/release/lib/WHICH_JARS">WHICH-JARS</a></code> text file.</p>
                     </div>
     </div>
-
-
-<h3 id="BookComponentAppendix-URIformat.11">URI format</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[
-cxf:bean:cxfEndpoint[?options]
+<h3 id="BookComponentAppendix-URIformat.11">URI format</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[cxf:bean:cxfEndpoint[?options]
 ]]></script>
-</div></div>
-<p>Where <strong>cxfEndpoint</strong> represents a bean ID that references a bean in the Spring bean registry. With this URI format, most of the endpoint details are specified in the bean definition.</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[
-cxf://someAddress[?options]
+</div></div><p>Where <strong>cxfEndpoint</strong> represents a bean ID that references a bean in the Spring bean registry. With this URI format, most of the endpoint details are specified in the bean definition.</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[cxf://someAddress[?options]
 ]]></script>
-</div></div>
-<p>Where <strong>someAddress</strong> specifies the CXF endpoint's address. With this URI format, most of the endpoint details are specified using options.</p>
-
-<p>For either style above, you can append options to the URI as follows:</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[
-cxf:bean:cxfEndpoint?wsdlURL=wsdl/hello_world.wsdl&amp;dataFormat=PAYLOAD
+</div></div><p>Where <strong>someAddress</strong> specifies the CXF endpoint's address. With this URI format, most of the endpoint details are specified using options.</p><p>For either style above, you can append options to the URI as follows:</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[cxf:bean:cxfEndpoint?wsdlURL=wsdl/hello_world.wsdl&amp;dataFormat=PAYLOAD
 ]]></script>
-</div></div>
-
-<h3 id="BookComponentAppendix-Options.7">Options</h3>
-<div class="confluenceTableSmall">
-<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p> Name </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Required </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Description </p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>wsdlURL</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> No </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The location of the WSDL. It is obtained from endpoint address by default. <br clear="none" class="atl-forced-newline"> <br clear="none" class="atl-forced-newline"> <em>Example</em>: <a shape="rect" class="external-link" href="file://local/wsdl/hello.wsdl" rel="nofollow">file://local/wsdl/hello.wsdl</a> or <code>wsdl/hello.wsdl</code> </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>serviceClass</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Yes </p></td><td colspan="1" rowspan=
 "1" class="confluenceTd"><p> The name of the SEI (Service Endpoint Interface) class. This class can have, but does not require, JSR181 annotations. <br clear="none" class="atl-forced-newline"> This option is only required by POJO mode. If the wsdlURL option is provided, serviceClass is not required for PAYLOAD and MESSAGE mode. When wsdlURL option is used without serviceClass, the serviceName and portName (endpointName for Spring configuration) options <strong>MUST</strong> be provided. It is possible to use <code>#</code> notation to reference a <code>serviceClass</code> object instance from the registry. E.g. <code>serviceClass=#beanName</code>. The <code>serviceClass</code> for a CXF producer (that is, the <code>to</code> endpoint) should be a Java interface.<br clear="none" class="atl-forced-newline"> <strong>Since 2.8,</strong> it is possible to omit both wsdlURL and serviceClass options for PAYLOAD and MESSAGE mode. When they are omitted, arbitrary XML elements can be put in C
 xfPayload's body in PAYLOAD mode to facilitate CXF Dispatch Mode. <br clear="none" class="atl-forced-newline"> <br clear="none" class="atl-forced-newline"> Please be advised that the <strong>referenced object cannot be a Proxy</strong> (Spring AOP Proxy is OK) as it relies on <code>Object.getClass().getName()</code> method for non Spring AOP Proxy. <br clear="none" class="atl-forced-newline"> <br clear="none" class="atl-forced-newline"> <em>Example</em>: <code>org.apache.camel.Hello</code> </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>serviceName</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> No </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The service name this service is implementing, it maps to the <code>wsdl:service@name</code>. <br clear="none" class="atl-forced-newline"> <br clear="none" class="atl-forced-newline"> <strong>Required</strong> for camel-cxf consumer since camel-2.2.0 or if more than one <code>se
 rviceName</code> is present in WSDL. <br clear="none" class="atl-forced-newline"> <br clear="none" class="atl-forced-newline"> <em>Example</em>: {http:&#173;//org.apache.camel}ServiceName </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>portName</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> No </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The port name this service is implementing, it maps to the <code>wsdl:port@name</code>. <br clear="none" class="atl-forced-newline"> <br clear="none" class="atl-forced-newline"> <strong>Required</strong> for camel-cxf consumer since camel-2.2.0 or if more than one <code>portName</code> is present under <code>serviceName</code>. <br clear="none" class="atl-forced-newline"> <br clear="none" class="atl-forced-newline"> <em>Example</em>: {http:&#173;//org.apache.camel}PortName </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>dataFormat</code> </p></td><td col
 span="1" rowspan="1" class="confluenceTd"><p> No </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The data type messages supported by the CXF endpoint. <br clear="none" class="atl-forced-newline"> <br clear="none" class="atl-forced-newline"> <em>Default</em>: <code>POJO</code> <br clear="none" class="atl-forced-newline"> <em>Example</em>: <code>POJO</code>, <code>PAYLOAD</code>, <code>MESSAGE</code> </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>relayHeaders</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> No </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Please see the <strong>Description of</strong> <code><strong>relayHeaders</strong></code> <strong>option</strong> section for this option.  Should a CXF endpoint relay headers along the route. Currently only available when <code>dataFormat=POJO</code> <br clear="none" class="atl-forced-newline"> <br clear="none" class="atl-forced-newline"> <em>Default</em
 >: <code>true</code> <br clear="none" class="atl-forced-newline"> <em>Example</em>: <code>true</code>, <code>false</code> </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>wrapped</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> No </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Which kind of operation that CXF  endpoint producer will invoke <br clear="none" class="atl-forced-newline"> <br clear="none" class="atl-forced-newline"> <em>Default</em>: <code>false</code> <br clear="none" class="atl-forced-newline"> <em>Example</em>: <code>true</code>, <code>false</code> </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>wrappedStyle</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> No </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>New in 2.5.0</strong> The WSDL style that describes how parameters are represented in the SOAP body. If the value is false, CXF will
  chose the document-literal unwrapped style, If the value is true, CXF will chose the document-literal wrapped style <br clear="none" class="atl-forced-newline"> <br clear="none" class="atl-forced-newline"> <em>Default</em>: <code>Null</code> <br clear="none" class="atl-forced-newline"> <em>Example</em>: <code>true</code>, <code>false</code> </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> No </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Will set the default bus when CXF endpoint create a bus by itself <br clear="none" class="atl-forced-newline"> <br clear="none" class="atl-forced-newline"> <em>Default</em>: <code>false</code> <br clear="none" class="atl-forced-newline"> <em>Example</em>: <code>true</code>, <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="co
 nfluenceTd"><p> No </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> 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>. <br clear="none" class="atl-forced-newline"> <br clear="none" class="atl-forced-newline"> <em>Example</em>: <code>bus=#busName</code> </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>cxfBinding</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> No </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Use <code>#</code> notation to reference a CXF binding object from the registry. The referenced object must be an instance of <code>org.apache.camel.component.cxf.CxfBinding</code> (use an instance of <code>org.apache.camel.component.cxf.DefaultCxfBinding</code>). <br clear="none" class="atl-forced-newline"> <br clear="none" class="atl-forced-newline"> <em>Example<
 /em>: <code>cxfBinding=#bindingName</code> <br clear="none" class="atl-forced-newline"> </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>headerFilterStrategy</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> No </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Use <code>#</code> notation to reference a header filter strategy object from the registry. The referenced object must be an instance of <code>org.apache.camel.spi.HeaderFilterStrategy</code> (use an instance of <code>org.apache.camel.component.cxf.CxfHeaderFilterStrategy</code>). <br clear="none" class="atl-forced-newline"> <br clear="none" class="atl-forced-newline"> <em>Example</em>: <code>headerFilterStrategy=#strategyName</code> </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>loggingFeatureEnabled</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> No </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> New in
  2.3. This option enables CXF Logging Feature which writes inbound and outbound SOAP messages to log. <br clear="none" class="atl-forced-newline"> <br clear="none" class="atl-forced-newline"> <em>Default</em>: <code>false</code> <br clear="none" class="atl-forced-newline"> <em>Example</em>: <code>loggingFeatureEnabled</code><code>=true</code> </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>defaultOperationName</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> No </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> New in 2.4, this option will set the default operationName that will be used by the CxfProducer which invokes the remote service. <br clear="none" class="atl-forced-newline"> <br clear="none" class="atl-forced-newline"> <em>Default</em>: <code>null</code> <br clear="none" class="atl-forced-newline"> <em>Example</em>: <code>defaultOperationName</code><code>=greetMe</code> </p></td></tr><tr><td colspan="1" rowspan="1" 
 class="confluenceTd"><p> <code>defaultOperationNamespace</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> No </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> New in 2.4. This option will set the default operationNamespace that will be used by the CxfProducer which invokes the remote service. <br clear="none" class="atl-forced-newline"> <br clear="none" class="atl-forced-newline"> <em>Default</em>: <code>null</code> <br clear="none" class="atl-forced-newline"> <em>Example</em>: <code>defaultOperationNamespace</code><code>=</code><code><a shape="rect" class="external-link" href="http://apache.org/hello_world_soap_http">http://apache.org/hello_world_soap_http</a></code> </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>synchronous</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> No </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> New in 2.5. This option will let cxf endpoint decide to use sync 
 or async API to do the underlying work. The default value is false which means camel-cxf endpoint will try to use async API by default. <br clear="none" class="atl-forced-newline"> <br clear="none" class="atl-forced-newline"> <em>Default</em>: <code>false</code> <br clear="none" class="atl-forced-newline"> <em>Example</em>: synchronous=true </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>publishedEndpointUrl</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> No </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> New in 2.5. This option can override the endpointUrl that published from the WSDL which can be accessed with service address url plus ?wsdl. <br clear="none" class="atl-forced-newline"> <br clear="none" class="atl-forced-newline"> <em>Default</em>: <code>null</code> <br clear="none" class="atl-forced-newline"> <em>Example</em>: publshedEndpointUrl=<a shape="rect" class="external-link" href="http://example.com/service" 
 rel="nofollow">http://example.com/service</a> </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>properties.XXX</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> No </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.8:</strong> Allows to set custom properties to CXF in the endpoint uri. For example setting <code>properties.mtom-enabled=true</code> to enable MTOM. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>allowStreaming</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> No </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> New in 2.8.2.   This option controls whether the CXF component, when running in PAYLOAD mode (see below), will DOM parse the incoming messages into DOM Elements or keep the payload as a javax.xml.transform.Source object that would allow streaming in some cases. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
 <code>skipFaultLogging</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> No </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> New in 2.11. This option controls whether the PhaseInterceptorChain skips logging the Fault that it catches. </p></td></tr></tbody></table>

[... 2305 lines stripped ...]
Modified: websites/production/camel/content/book-cookbook.html
==============================================================================
--- websites/production/camel/content/book-cookbook.html (original)
+++ websites/production/camel/content/book-cookbook.html Tue Feb 11 07:24:13 2014
@@ -18,11 +18,11 @@
 -->
 <html>
 <head>
-    <link href="http://camel.apache.org/styles/site.css" rel="stylesheet" type="text/css">
-    <link href="http://camel.apache.org/styles/type-settings.css" rel="stylesheet" type="text/css">
-    <script src="http://camel.apache.org/styles/prototype.js" type="text/javascript"></script>
-    <script src="http://camel.apache.org/styles/rico.js" type="text/javascript"></script>    
-    <script src="http://camel.apache.org/styles/site.js" type="text/javascript"></script>
+    <link href="//camel.apache.org/styles/site.css" rel="stylesheet" type="text/css">
+    <link href="//camel.apache.org/styles/type-settings.css" rel="stylesheet" type="text/css">
+    <script src="//camel.apache.org/styles/prototype.js" type="text/javascript"></script>
+    <script src="//camel.apache.org/styles/rico.js" type="text/javascript"></script>    
+    <script src="//camel.apache.org/styles/site.js" type="text/javascript"></script>
 
     <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 
@@ -36,12 +36,12 @@
     <![endif]-->
 
 
-  <link href='http://camel.apache.org/styles/highlighter/styles/shCoreCamel.css' rel='stylesheet' type='text/css' />
-  <link href='http://camel.apache.org/styles/highlighter/styles/shThemeCamel.css' rel='stylesheet' type='text/css' />
-  <script src='http://camel.apache.org/styles/highlighter/scripts/shCore.js' type='text/javascript'></script>
-  <script src='http://camel.apache.org/styles/highlighter/scripts/shBrushJava.js' type='text/javascript'></script>
-  <script src='http://camel.apache.org/styles/highlighter/scripts/shBrushXml.js' type='text/javascript'></script>
-  <script src='http://camel.apache.org/styles/highlighter/scripts/shBrushPlain.js' type='text/javascript'></script>
+  <link href='//camel.apache.org/styles/highlighter/styles/shCoreCamel.css' rel='stylesheet' type='text/css' />
+  <link href='//camel.apache.org/styles/highlighter/styles/shThemeCamel.css' rel='stylesheet' type='text/css' />
+  <script src='//camel.apache.org/styles/highlighter/scripts/shCore.js' type='text/javascript'></script>
+  <script src='//camel.apache.org/styles/highlighter/scripts/shBrushJava.js' type='text/javascript'></script>
+  <script src='//camel.apache.org/styles/highlighter/scripts/shBrushXml.js' type='text/javascript'></script>
+  <script src='//camel.apache.org/styles/highlighter/scripts/shBrushPlain.js' type='text/javascript'></script>
   
   <script type="text/javascript">
   SyntaxHighlighter.defaults['toolbar'] = false;

Modified: websites/production/camel/content/book-dataformat-appendix.html
==============================================================================
--- websites/production/camel/content/book-dataformat-appendix.html (original)
+++ websites/production/camel/content/book-dataformat-appendix.html Tue Feb 11 07:24:13 2014
@@ -18,11 +18,11 @@
 -->
 <html>
 <head>
-    <link href="http://camel.apache.org/styles/site.css" rel="stylesheet" type="text/css">
-    <link href="http://camel.apache.org/styles/type-settings.css" rel="stylesheet" type="text/css">
-    <script src="http://camel.apache.org/styles/prototype.js" type="text/javascript"></script>
-    <script src="http://camel.apache.org/styles/rico.js" type="text/javascript"></script>    
-    <script src="http://camel.apache.org/styles/site.js" type="text/javascript"></script>
+    <link href="//camel.apache.org/styles/site.css" rel="stylesheet" type="text/css">
+    <link href="//camel.apache.org/styles/type-settings.css" rel="stylesheet" type="text/css">
+    <script src="//camel.apache.org/styles/prototype.js" type="text/javascript"></script>
+    <script src="//camel.apache.org/styles/rico.js" type="text/javascript"></script>    
+    <script src="//camel.apache.org/styles/site.js" type="text/javascript"></script>
 
     <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 
@@ -36,12 +36,12 @@
     <![endif]-->
 
 
-  <link href='http://camel.apache.org/styles/highlighter/styles/shCoreCamel.css' rel='stylesheet' type='text/css' />
-  <link href='http://camel.apache.org/styles/highlighter/styles/shThemeCamel.css' rel='stylesheet' type='text/css' />
-  <script src='http://camel.apache.org/styles/highlighter/scripts/shCore.js' type='text/javascript'></script>
-  <script src='http://camel.apache.org/styles/highlighter/scripts/shBrushJava.js' type='text/javascript'></script>
-  <script src='http://camel.apache.org/styles/highlighter/scripts/shBrushXml.js' type='text/javascript'></script>
-  <script src='http://camel.apache.org/styles/highlighter/scripts/shBrushPlain.js' type='text/javascript'></script>
+  <link href='//camel.apache.org/styles/highlighter/styles/shCoreCamel.css' rel='stylesheet' type='text/css' />
+  <link href='//camel.apache.org/styles/highlighter/styles/shThemeCamel.css' rel='stylesheet' type='text/css' />
+  <script src='//camel.apache.org/styles/highlighter/scripts/shCore.js' type='text/javascript'></script>
+  <script src='//camel.apache.org/styles/highlighter/scripts/shBrushJava.js' type='text/javascript'></script>
+  <script src='//camel.apache.org/styles/highlighter/scripts/shBrushXml.js' type='text/javascript'></script>
+  <script src='//camel.apache.org/styles/highlighter/scripts/shBrushPlain.js' type='text/javascript'></script>
   
   <script type="text/javascript">
   SyntaxHighlighter.defaults['toolbar'] = false;



Mime
View raw message