camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r894419 [2/4] - in /websites/production/camel/content: ./ 2014/ 2014/01/ 2014/01/16/ cache/
Date Thu, 16 Jan 2014 20:24:01 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 Thu Jan 16 20:24:00 2014
@@ -1881,11 +1881,11 @@ template.send("direct:alias-verify&
 <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>
 
 <style type="text/css">/*<![CDATA[*/
-div.rbtoc1388989206167 {padding: 0px;}
-div.rbtoc1388989206167 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1388989206167 li {margin-left: 0px;padding-left: 0px;}
+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 rbtoc1388989206167">
+/*]]>*/</style><div class="toc-macro rbtoc1389903658737">
 <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>
@@ -3450,65 +3450,29 @@ However if you need to access a applicat
 <h3 id="BookComponentAppendix-SeeAlso.15">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="bean.html">Bean</a></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-Esper">Esper</h2>
-
-<p>The Esper component supports the <a shape="rect" class="external-link" href="http://esper.codehaus.org" rel="nofollow">Esper Library</a> for Event Stream Processing. The <strong>camel-esper</strong> library is provided by the <a shape="rect" class="external-link" href="http://code.google.com/p/camel-extra/" rel="nofollow">Camel Extra</a> project which hosts all *GPL related components for Camel.</p>
-
-<h3 id="BookComponentAppendix-URIformat.19">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[
-esper:name[?options]
+<h2 id="BookComponentAppendix-Esper">Esper</h2><p>The Esper component supports the <a shape="rect" class="external-link" href="http://esper.codehaus.org" rel="nofollow">Esper Library</a> for Event Stream Processing. The <strong>camel-esper</strong> library is provided by the <a shape="rect" class="external-link" href="http://code.google.com/p/camel-extra/" rel="nofollow">Camel Extra</a> project which hosts all *GPL related components for Camel.</p><h3 id="BookComponentAppendix-URIformat.19">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[esper:name[?options]
 ]]></script>
-</div></div>
-
-<p>When consuming from an Esper endpoint you must specify a <strong>pattern</strong> or <strong>eql</strong> statement to query the event stream.</p>
-
-<p>Pattern example:</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;esper://cheese?pattern=every event=MyEvent(bar=5)&quot;)
+</div></div><p>When consuming from an Esper endpoint you must specify a <strong>pattern</strong> or <strong>eql</strong> statement to query the event stream.</p><p>Pattern example:</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;esper://cheese?pattern=every event=MyEvent(bar=5)&quot;)
   .to(&quot;activemq:Foo&quot;);
 ]]></script>
-</div></div>
-
-<p>EQL example:</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;esper://esper-dom?eql=insert into DomStream select * from org.w3c.dom.Document&quot;)
+</div></div><p>EQL example:</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;esper://esper-dom?eql=insert into DomStream select * from org.w3c.dom.Document&quot;)
   .to(&quot;log://esper-dom?level=INFO&quot;);
 from(&quot;esper://esper-dom?eql=select childNodes from DomStream&quot;)
   .to(&quot;mock:results&quot;);
 ]]></script>
-</div></div>
-
-<h3 id="BookComponentAppendix-Options.15">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>pattern</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The <a shape="rect" class="external-link" href="http://esper.codehaus.org/esper-4.10.0/doc/reference/en-US/html/event_patterns.html" rel="nofollow">Esper Pattern expression</a> as a String to filter events </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>eql</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The <a shape="rect" class="external-link" href="http://esper.codehaus.org/esper-4.10.0/doc/reference/en
 -US/html/epl_clauses.html" rel="nofollow">Esper EQL expression</a> as a String to filter events </p></td></tr></tbody></table>
-</div>
-
-<p>You can append query options to the URI in the following format, <code>?option=value&amp;option=value&amp;...</code></p>
-
-<h3 id="BookComponentAppendix-EsperMessage">EsperMessage</h3>
-
-<p>From <strong>Camel 2.12</strong> onwards the esper consumer stores new and old events in the <code>org.apacheextras.camel.component.esper.EsperMessage</code> message as the input <a shape="rect" href="message.html">Message</a> on the <a shape="rect" href="exchange.html">Exchange</a>. You can get access to the esper event beans from java code with:</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[
-  EventBean newEvent = exchange.getIn(EsperMessage.class).getNewEvent();
+</div></div><h3 id="BookComponentAppendix-Options.15">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>configured</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> false </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Available as of camel-extra 2.12.3:<br clear="none">
+If flag is set to 'true' the default Esper configuration file (esper.cfg.xml) will be used.&#160;<br clear="none">
+To configure Esper via a configuration file, please refer to the <a shape="rect" class="external-link" href="http://esper.codehaus.org/esper-4.2.0/doc/reference/en/html/configuration.html" rel="nofollow">Esper documentation</a> </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>pattern</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The <a shape="rect" class="external-link" href="http://esper.codehaus.org/esper-4.10.0/doc/reference/en-US/html/event_patterns.html" rel="nofollow">Esper Pattern expression</a> as a String to filter events </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>eql</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The <a shape="rect" class="external-link" href="http://esper.codehaus.org/esper-4.10.0/doc/reference/en-US/html/epl_clauses.h
 tml" rel="nofollow">Esper EQL expression</a> as a String to filter events </p></td></tr></tbody></table>
+</div><p>You can append query options to the URI in the following format, <code>?option=value&amp;option=value&amp;...</code></p><h3 id="BookComponentAppendix-EsperMessage">EsperMessage</h3><p>From <strong>Camel 2.12</strong> onwards the esper consumer stores new and old events in the <code>org.apacheextras.camel.component.esper.EsperMessage</code> message as the input <a shape="rect" href="message.html">Message</a> on the <a shape="rect" href="exchange.html">Exchange</a>. You can get access to the esper event beans from java code with:</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[  EventBean newEvent = exchange.getIn(EsperMessage.class).getNewEvent();
   EventBean oldEvent = exchange.getIn(EsperMessage.class).getOldEvent();
 ]]></script>
-</div></div>
-
-<p>By default if you get the body of <code>org.apacheextras.camel.component.esper.EsperMessage</code> it returns the new <code>EventBean</code> as in previous versions.</p>
-
-<h3 id="BookComponentAppendix-Demo">Demo</h3>
-
-<p>There is a <a shape="rect" class="external-link" href="http://code.google.com/p/camel-extra/wiki/EsperDemo" rel="nofollow">demo which shows how to work with ActiveMQ, Camel and Esper</a> in the <a shape="rect" class="external-link" href="http://code.google.com/p/camel-extra/" rel="nofollow">Camel Extra</a> project</p>
-
-<h3 id="BookComponentAppendix-SeeAlso.16">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" class="external-link" href="http://code.google.com/p/camel-extra/wiki/EsperDemo" rel="nofollow">Esper Camel Demo</a></li></ul>
+</div></div><p>By default if you get the body of <code>org.apacheextras.camel.component.esper.EsperMessage</code> it returns the new <code>EventBean</code> as in previous versions.</p><h3 id="BookComponentAppendix-Demo">Demo</h3><p>There is a <a shape="rect" class="external-link" href="http://code.google.com/p/camel-extra/wiki/EsperDemo" rel="nofollow">demo which shows how to work with ActiveMQ, Camel and Esper</a> in the <a shape="rect" class="external-link" href="http://code.google.com/p/camel-extra/" rel="nofollow">Camel Extra</a> project</p><p></p><h3 id="BookComponentAppendix-SeeAlso.16">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" class="external-link" href="http://code.google.com/p/camel-extra/wiki/EsperDemo" rel="nofollow">Esper Camel Demo</a></li></ul>
 <div class="error"><span class="error">Unable to render {include}</span> The included page could not be found.</div>
 <h2 id="BookComponentAppendix-FileComponent">File Component</h2>
 
@@ -8228,80 +8192,45 @@ We store big input streams (by default, 
 <h3 id="BookComponentAppendix-SeeAlso.28">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" class="external-link" href="http://servicemix.apache.org/servicemix-camel.html">ServiceMix Camel module</a></li><li><a shape="rect" class="external-link" href="http://servicemix.apache.org/3-beginner-using-apache-camel-inside-servicemix.html">Using Camel with ServiceMix</a></li><li><a shape="rect" class="external-link" href="http://servicemix.apache.org/order-file-processing.html">Cookbook on using Camel with ServiceMix</a></li></ul>
-<h2 id="BookComponentAppendix-JCRComponent">JCR Component</h2>
-
-<p>The <strong><code>jcr</code></strong> component allows you to add/read nodes to/from a JCR compliant content repository (for example, <a shape="rect" class="external-link" href="http://jackrabbit.apache.org/">Apache Jackrabbit</a>) with its producer, or register an EventListener with the consumer.</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: java; gutter: false" type="syntaxhighlighter"><![CDATA[
-&lt;dependency&gt;
+<h2 id="BookComponentAppendix-JCRComponent">JCR Component</h2><p>The <strong><code>jcr</code></strong> component allows you to add/read nodes to/from a JCR compliant content repository (for example, <a shape="rect" class="external-link" href="http://jackrabbit.apache.org/">Apache Jackrabbit</a>) with its producer, or register an EventListener with the consumer.</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: java; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-jcr&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.32">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[
-jcr://user:password@repository/path/to/node
+</div></div><h3 id="BookComponentAppendix-URIformat.32">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[jcr://user:password@repository/path/to/node
 ]]></script>
-</div></div>
-
-    <div class="aui-message success shadowed information-macro">
+</div></div>    <div class="aui-message success shadowed information-macro">
                     <p class="title">Consumer added</p>
                             <span class="aui-icon icon-success">Icon</span>
                 <div class="message-content">
-                            
-<p>From <strong>Camel 2.10</strong> onwards you can use consumer as an EventListener in JCR or a producer to read a node by identifier.</p>
+                            <p>From <strong>Camel 2.10</strong> onwards you can use consumer as an EventListener in JCR or a producer to read a node by identifier.</p>
                     </div>
     </div>
-
-
-<h3 id="BookComponentAppendix-Usage.2">Usage</h3>
-<p>The <code>repository</code> element of the URI is used to look up the JCR <code>Repository</code> object in the Camel context registry.</p>
-
-<h4 id="BookComponentAppendix-Producer.1">Producer</h4>
-
-<div class="confluenceTableSmall">
+<h3 id="BookComponentAppendix-Usage.2">Usage</h3><p>The <code>repository</code> element of the URI is used to look up the JCR <code>Repository</code> object in the Camel context registry.</p><h4 id="BookComponentAppendix-Producer.1">Producer</h4><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>CamelJcrOperation</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>CamelJcrInsert</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> CamelJcrInsert or CamelJcrGetById operation to use </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>CamelJcrNodeName</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>null</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Used to determine the node name to use. </p></td></tr></tbody></table>
-</div>
-
-<p>When a message is sent to a JCR producer endpoint:</p>
-<ul><li>If the operation is CamelJcrInsert: A new node is created in the content repository, all the message properties of the IN message are transformed to JCR <code>Value</code> instances and added to the new node and the node's UUID is returned in the OUT message.</li><li>If the operation is CamelJcrGetById: A new node is retrieved from the repository using the message body as node identifier.</li></ul>
-
-
-<h4 id="BookComponentAppendix-Consumer.1">Consumer</h4>
-<p>The consumer will connect to JCR periodically and return a List&lt;javax.jcr.observation.Event&gt; in the message body. </p>
-<div class="confluenceTableSmall">
+</div><p>When a message is sent to a JCR producer endpoint:</p><ul><li>If the operation is CamelJcrInsert: A new node is created in the content repository, all the message headers of the IN message are transformed to <code>javax.jcr.Value</code> instances and added to the new node and the node's UUID is returned in the OUT message.</li><li>If the operation is CamelJcrGetById: A new node is retrieved from the repository using the message body as node identifier.</li></ul>    <div class="aui-message warning shadowed information-macro">
+                            <span class="aui-icon icon-warning">Icon</span>
+                <div class="message-content">
+                            <p>Please note that the JCR Producer used message properties instead of message headers in Camel versions earlier than 2.12.3. See <a shape="rect" class="external-link" href="https://issues.apache.org/jira/browse/CAMEL-7067">https://issues.apache.org/jira/browse/CAMEL-7067</a> for more details.</p>
+                    </div>
+    </div>
+<p>&#160;</p><h4 id="BookComponentAppendix-Consumer.1">Consumer</h4><p>The consumer will connect to JCR periodically and return a List&lt;javax.jcr.observation.Event&gt; in the message body.</p><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>eventTypes</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>0</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> A combination of one or more event types encoded as a bit mask value such as javax.jcr.observation.Event.NODE_ADDED, javax.jcr.observation.Event.NODE_REMOVED, etc. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>deep</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>false</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> When it is true, events whose associated parent node is at current path or within its subgraph are received. </p></td
 ></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>uuids</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>null</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Only events whose associated parent node has one of the identifiers in the comma separated uuid list will be received.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>nodeTypeNames</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>null</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Only events whose associated parent node has one of the node types (or a subtype of one of the node types) in this list will be received. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>noLocal</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>false</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> If <code>noLocal</code> is <code>true</cod
 e>, then events generated by the session through which the listener was registered are ignored. Otherwise, they are not ignored. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>sessionLiveCheckInterval</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>60000</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Interval in milliseconds to wait before each session live checking. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>sessionLiveCheckIntervalOnStart</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>3000</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Interval in milliseconds to wait before the first session live checking. </p></td></tr></tbody></table>
-</div>
-
-<h3 id="BookComponentAppendix-Example.3">Example</h3>
-<p>The snippet below creates a node named <code>node</code> under the <code>/home/test</code> node in the content repository. One additional attribute is added to the node as well: <code>my.contents.property</code> which will contain the body of the message being sent.</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:a&quot;).setProperty(JcrConstants.JCR_NODE_NAME, constant(&quot;node&quot;))
-        .setProperty(&quot;my.contents.property&quot;, body())
-        .to(&quot;jcr://user:pass@repository/home/test&quot;);
-]]></script>
-</div></div>
-
-<p>The following code will register an EventListener under the path import-application/inbox for Event.NODE_ADDED and Event.NODE_REMOVED events (event types 1 and 2, both masked as 3) and listening deep for all the children.</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;route&gt;
+</div><h3 id="BookComponentAppendix-Example.3">Example</h3><p>The snippet below creates a node named <code>node</code> under the <code>/home/test</code> node in the content repository. One additional property is added to the node as well: <code>my.contents.property</code> which will contain the body of the message being sent.</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:a&quot;).setHeader(JcrConstants.JCR_NODE_NAME, constant(&quot;node&quot;))
+    .setHeader(&quot;my.contents.property&quot;, body())
+    .to(&quot;jcr://user:pass@repository/home/test&quot;);]]></script>
+</div></div><p>&#160;</p><p>The following code will register an EventListener under the path import-application/inbox for Event.NODE_ADDED and Event.NODE_REMOVED events (event types 1 and 2, both masked as 3) and listening deep for all the children.</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;route&gt;
     &lt;from uri=&quot;jcr://user:pass@repository/import-application/inbox?eventTypes=3&amp;deep=true&quot; /&gt;
     &lt;to uri=&quot;direct:execute-import-application&quot; /&gt;
 &lt;/route&gt;
 ]]></script>
-</div></div>
-
-<h3 id="BookComponentAppendix-SeeAlso.29">See Also</h3>
+</div></div><p></p><h3 id="BookComponentAppendix-SeeAlso.29">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-JDBCComponent">JDBC Component</h2>
 
@@ -14886,66 +14815,25 @@ ref:someName[?options]
 
 <h3 id="BookComponentAppendix-SeeAlso.52">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-RestletComponent">Restlet Component</h2>
-
-<p>The <strong>Restlet</strong> component provides <a shape="rect" class="external-link" href="http://www.restlet.org" rel="nofollow">Restlet</a> based <a shape="rect" href="endpoint.html">endpoints</a> for consuming and producing RESTful resources.</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-RestletComponent">Restlet Component</h2><p>The <strong>Restlet</strong> component provides <a shape="rect" class="external-link" href="http://www.restlet.org" rel="nofollow">Restlet</a> based <a shape="rect" href="endpoint.html">endpoints</a> for consuming and producing RESTful resources.</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-restlet&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.57">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[
-restlet:restletUrl[?options]
+</div></div><h3 id="BookComponentAppendix-URIformat.57">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[restlet:restletUrl[?options]
 ]]></script>
-</div></div>
-<p>Format of restletUrl:</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[
-protocol://hostname[:port][/resourcePattern]
+</div></div><p>Format of restletUrl:</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[protocol://hostname[:port][/resourcePattern]
 ]]></script>
-</div></div>
-<p>Restlet promotes decoupling of protocol and application concerns.  The reference implementation of <a shape="rect" class="external-link" href="http://www.noelios.com/products/restlet-engine" rel="nofollow">Restlet Engine</a> supports a number of protocols.  However, we have tested the HTTP protocol only.  The default port is port 80.  We do not automatically switch default port based on the protocol yet.</p>
-
-<p>You can append query options to the URI in the following format, <code>?option=value&amp;option=value&amp;...</code></p>
-
-<h3 id="BookComponentAppendix-Options.41">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>headerFilterStrategy=#</code><em>refName</em> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> An instance of <code>RestletHeaderFilterStrategy</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Use the <code>#</code> notation (<code>headerFilterStrategy=#</code><em>refName</em>) to reference a header filter strategy in the Camel Registry.  The strategy will be plugged into the restlet binding if it is <code>HeaderFilterStrategyAware</code>. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>restletBinding=#</code><em>refName</em> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> An instance of
  <code>DefaultRestletBinding</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The bean ID of a <code>RestletBinding</code> object in the Camel Registry. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>restletMethod</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>GET</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> On a producer endpoint, specifies the request method to use.  On a consumer endpoint, specifies that the endpoint consumes only <code>restletMethod</code> requests.  The string value is converted to <a shape="rect" class="external-link" href="http://www.restlet.org/documentation/1.1/api/org/restlet/data/Method.html" rel="nofollow">org.restlet.data.Method</a> by the <code>Method.valueOf(String)</code> method. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>restletMethods</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <em>None</em
 > </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Consumer only</strong> Specify one or more methods separated by commas (e.g. <code>restletMethods=post,put</code>) to be serviced by a restlet consumer endpoint.  If both <code>restletMethod</code> and <code>restletMethods</code> options are specified, the <code>restletMethod</code> setting is ignored. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>restletRealm=#</code><em>refName</em> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>null</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The bean ID of the Realm Map in the Camel Registry. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>restletUriPatterns=#</code><em>refName</em> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <em>None</em> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Consumer only</strong> Specify one ore more U
 RI templates to be serviced by a restlet consumer endpoint, using the <code>#</code> notation to reference a <code>List&lt;String&gt;</code> in the Camel Registry.  If a URI pattern has been defined in the endpoint URI, both the URI pattern defined in the endpoint and the <code>restletUriPatterns</code> option will be honored. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>throwExceptionOnFailure</code> (<strong>2.6 or later</strong>)</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> true </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> *Producer only * Throws exception on a producer failure. </p></td></tr></tbody></table>
-</div>
-
-<h3 id="BookComponentAppendix-ComponentOptions.1">Component Options</h3>
-<p>The Restlet component can be configured with the following options. Notice these are <strong>component</strong> options and cannot be configured on the endpoint, see further below for an example.</p>
-<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>controllerDaemon</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>true</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.10:</strong> Indicates if the controller thread should be a daemon (not blocking JVM exit). </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>controllerSleepTimeMs</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>100</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.10:</strong> Time for the controller thread to sleep between each control. </p></td></tr><tr><td colspan="1" rowspan="1" class="confl
 uenceTd"><p> <code>inboundBufferSize</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>8192</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.10:</strong> The size of the buffer when reading messages. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>minThreads</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>1</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.10:</strong>  Minimum threads waiting to service requests. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>maxThreads</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>10</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.10:</strong> Maximum threads that will service requests. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>maxConnectionsPerHost</code> </p></td><td 
 colspan="1" rowspan="1" class="confluenceTd"><p> <code>-1</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.10:</strong> Maximum number of concurrent connections per host (IP address). </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>maxTotalConnections</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>-1</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.10:</strong> Maximum number of concurrent connections in total. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>outboundBufferSize</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>8192</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.10:</strong> The size of the buffer when writing messages. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>persistingConnections</code> </p></td><td colspan="1" ro
 wspan="1" class="confluenceTd"><p> <code>true</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.10:</strong> Indicates if connections should be kept alive after a call. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>pipeliningConnections</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>false</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.10:</strong> Indicates if pipelining connections are supported. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>threadMaxIdleTimeMs</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>60000</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.10:</strong>  Time for an idle thread to wait for an operation before being collected. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>useForwardedForHeader</code> </p></td
 ><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>false</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.10:</strong> Lookup the "X-Forwarded-For" header supported by popular proxies and caches and uses it to populate the Request.getClientAddresses() method result. This information is only safe for intermediary components within your local network. Other addresses could easily be changed by setting a fake header and should not be trusted for serious security checks.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>reuseAddress</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>true</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.10.5/2.11.1:</strong> Enable/disable the SO_REUSEADDR socket option. See java.io.ServerSocket#reuseAddress property for additional details. </p></td></tr></tbody></table>
-</div>
-
-<h3 id="BookComponentAppendix-MessageHeaders.15">Message Headers</h3>
-
-<div class="confluenceTableSmall">
+</div></div><p>Restlet promotes decoupling of protocol and application concerns. The reference implementation of <a shape="rect" class="external-link" href="http://www.noelios.com/products/restlet-engine" rel="nofollow">Restlet Engine</a> supports a number of protocols. However, we have tested the HTTP protocol only. The default port is port 80. We do not automatically switch default port based on the protocol yet.</p><p>You can append query options to the URI in the following format, <code>?option=value&amp;option=value&amp;...</code></p><h3 id="BookComponentAppendix-Options.41">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>headerFilterStrategy=#</code><em>refName</em> </p></td><td colspan="1" 
 rowspan="1" class="confluenceTd"><p> An instance of <code>RestletHeaderFilterStrategy</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Use the <code>#</code> notation (<code>headerFilterStrategy=#</code><em>refName</em>) to reference a header filter strategy in the Camel Registry.  The strategy will be plugged into the restlet binding if it is <code>HeaderFilterStrategyAware</code>. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>restletBinding=#</code><em>refName</em> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> An instance of <code>DefaultRestletBinding</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The bean ID of a <code>RestletBinding</code> object in the Camel Registry. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>restletMethod</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>GET</code> </p></td><td colspan="1" rowspan="1" class="conf
 luenceTd"><p> On a producer endpoint, specifies the request method to use.  On a consumer endpoint, specifies that the endpoint consumes only <code>restletMethod</code> requests.  The string value is converted to <a shape="rect" class="external-link" href="http://www.restlet.org/documentation/1.1/api/org/restlet/data/Method.html" rel="nofollow">org.restlet.data.Method</a> by the <code>Method.valueOf(String)</code> method. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>restletMethods</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <em>None</em> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Consumer only</strong> Specify one or more methods separated by commas (e.g. <code>restletMethods=post,put</code>) to be serviced by a restlet consumer endpoint.  If both <code>restletMethod</code> and <code>restletMethods</code> options are specified, the <code>restletMethod</code> setting is ignored. </p></td></tr><tr><td 
 colspan="1" rowspan="1" class="confluenceTd"><p> <code>restletRealm=#</code><em>refName</em> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>null</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The bean ID of the Realm Map in the Camel Registry. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>restletUriPatterns=#</code><em>refName</em> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <em>None</em> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Consumer only</strong> Specify one ore more URI templates to be serviced by a restlet consumer endpoint, using the <code>#</code> notation to reference a <code>List&lt;String&gt;</code> in the Camel Registry.  If a URI pattern has been defined in the endpoint URI, both the URI pattern defined in the endpoint and the <code>restletUriPatterns</code> option will be honored. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p
 > <code>throwExceptionOnFailure</code> (<strong>2.6 or later</strong>)</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> true </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> *Producer only * Throws exception on a producer failure. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>connectionTimeout</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> 300000 </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Since Camel 2.12.3</strong> <strong>Producer only</strong> The Client will give up connection if the connection is timeout, 0 for unlimited wait.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>socketTimeout</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> 300000 </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Since Camel 2.12.3</strong> <strong>Producer only</strong> The Client socket receive timeout, 0 for unlimited wait.</p>
 </td></tr></tbody></table>
+<h3 id="BookComponentAppendix-ComponentOptions.1">Component Options</h3><p>The Restlet component can be configured with the following options. Notice these are <strong>component</strong> options and cannot be configured on the endpoint, see further below for an example.</p><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>controllerDaemon</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>true</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.10:</strong> Indicates if the controller thread should be a daemon (not blocking JVM exit). </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>controllerSleepTimeMs</code> </p></td><td col
 span="1" rowspan="1" class="confluenceTd"><p> <code>100</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.10:</strong> Time for the controller thread to sleep between each control. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>inboundBufferSize</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>8192</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.10:</strong> The size of the buffer when reading messages. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>minThreads</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>1</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.10:</strong>  Minimum threads waiting to service requests. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>maxThreads</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd">
 <p> <code>10</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.10:</strong> Maximum threads that will service requests. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>maxConnectionsPerHost</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>-1</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.10:</strong> Maximum number of concurrent connections per host (IP address). </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>maxTotalConnections</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>-1</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.10:</strong> Maximum number of concurrent connections in total. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>outboundBufferSize</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>8192</co
 de> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.10:</strong> The size of the buffer when writing messages. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>persistingConnections</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>true</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.10:</strong> Indicates if connections should be kept alive after a call. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>pipeliningConnections</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>false</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.10:</strong> Indicates if pipelining connections are supported. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>threadMaxIdleTimeMs</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>60000</code> </p><
 /td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.10:</strong>  Time for an idle thread to wait for an operation before being collected. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>useForwardedForHeader</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>false</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.10:</strong> Lookup the "X-Forwarded-For" header supported by popular proxies and caches and uses it to populate the Request.getClientAddresses() method result. This information is only safe for intermediary components within your local network. Other addresses could easily be changed by setting a fake header and should not be trusted for serious security checks.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>reuseAddress</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>true</code> </p></td><td colspan="1" rowsp
 an="1" class="confluenceTd"><p> <strong>Camel 2.10.5/2.11.1:</strong> Enable/disable the SO_REUSEADDR socket option. See java.io.ServerSocket#reuseAddress property for additional details. </p></td></tr></tbody></table>
+<h3 id="BookComponentAppendix-MessageHeaders.15">Message Headers</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> 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>Content-Type</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>String</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Specifies the content type, which can be set on the OUT message by the application/processor.  The value is the <code>content-type</code> of the response message.  If this header is not set, the content type is based on the object type of the OUT message body. In Camel 2.3 onward, if the Content-Type header is specified in the Camel IN message, the value of the header determine the content type for the Restlet request message.&#160;&#160; Otherwise, it is defaulted to "application/x-www-form-urlencoded'.  Prio
 r to release 2.3, it is not possible to change the request content type default. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>CamelAcceptContentType</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>String</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Since Camel 2.9.3, 2.10.0:</strong> The HTTP Accept request header.  </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>CamelHttpMethod</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>String</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The HTTP request method.  This is set in the IN message header. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>CamelHttpQuery</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>String</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The query string of the request URI. 
  It is set on the IN message by <code>DefaultRestletBinding</code> when the restlet component receives a request. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>CamelHttpResponseCode</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>String</code> or <code>Integer</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The response code can be set on the OUT message by the application/processor.  The value is the response code of the response message.  If this header is not set, the response code is set by the restlet runtime engine. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>CamelHttpUri</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>String</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The HTTP request URI.  This is set in the IN message header. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>CamelRestle
 tLogin</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>String</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Login name for basic authentication.  It is set on the IN message by the application and gets filtered before the restlet request header by Camel. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>CamelRestletPassword</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>String</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Password name for basic authentication.  It is set on the IN message by the application and gets filtered before the restlet request header by Camel. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>CamelRestletRequest</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>Request</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.8:</strong> The <code>org.re
 stlet.Request</code> object which holds all request details. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>CamelRestletResponse</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>Response</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.8:</strong> The <code>org.restlet.Response</code> object. You can use this to create responses using the API from Restlet. See examples below. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>org.restlet.*</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Attributes of a Restlet message that get propagated to Camel IN headers. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>cache-control</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>String</code> or <code>List&lt;CacheDirective&gt;</code> </p>
 </td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.11:</strong> User can set the cache-control with the String value or the List of CacheDirective of Restlet from the camel message header. </p></td></tr></tbody></table>
-</div>
-
-<h3 id="BookComponentAppendix-MessageBody.4">Message Body</h3>
-
-<p>Camel will store the restlet response from the external server on the OUT body. All headers from the IN message will be copied to the OUT message, so that headers are preserved during routing.</p>
-
-<h3 id="BookComponentAppendix-Samples.12">Samples</h3>
-
-<h4 id="BookComponentAppendix-RestletEndpointwithAuthentication">Restlet Endpoint with Authentication</h4>
-
-<p>The following route starts a <code>restlet</code> consumer endpoint that listens for <code>POST</code> requests on <a shape="rect" class="external-link" href="http://localhost:8080" rel="nofollow">http://localhost:8080</a>.  The processor creates a response that echoes the request body and the value of the <code>id</code> header.</p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div><h3 id="BookComponentAppendix-MessageBody.4">Message Body</h3><p>Camel will store the restlet response from the external server on the OUT body. All headers from the IN message will be copied to the OUT message, so that headers are preserved during routing.</p><h3 id="BookComponentAppendix-Samples.12">Samples</h3><h4 id="BookComponentAppendix-RestletEndpointwithAuthentication">Restlet Endpoint with Authentication</h4><p>The following route starts a <code>restlet</code> consumer endpoint that listens for <code>POST</code> requests on <a shape="rect" class="external-link" href="http://localhost:8080" rel="nofollow">http://localhost:8080</a>. The processor creates a response that echoes the request body and the value of the <code>id</code> header.</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;restlet:http://localhost:&quot; + port + &quot;/securedOrders?restletMethod=post&amp;restletRealm=#realm&quot;).process(new Processor() {
     public void process(Exchange exchange) throws Exception {
@@ -14956,28 +14844,21 @@ from(&quot;restlet:http://localhost:&quo
     }
 });
 ]]></script>
-</div></div>
-<p>The <code>restletRealm</code> setting in the URI query is used to look up a Realm Map in the registry.  If this option is specified, the restlet consumer uses the information to authenticate user logins.  Only <em>authenticated</em> requests can access the resources.  In this sample, we create a Spring application context that serves as a registry.  The bean ID of the Realm Map should match the <em>restletRealmRef</em>.</p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>The <code>restletRealm</code> setting in the URI query is used to look up a Realm Map in the registry. If this option is specified, the restlet consumer uses the information to authenticate user logins. Only <em>authenticated</em> requests can access the resources. In this sample, we create a Spring application context that serves as a registry. The bean ID of the Realm Map should match the <em>restletRealmRef</em>.</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;util:map id=&quot;realm&quot;&gt;
 	&lt;entry key=&quot;admin&quot; value=&quot;foo&quot; /&gt;
 	&lt;entry key=&quot;bar&quot; value=&quot;foo&quot; /&gt;
 &lt;/util:map&gt;
 ]]></script>
-</div></div>
-<p>The following sample starts a <code>direct</code> endpoint that sends requests to the server on <a shape="rect" class="external-link" href="http://localhost:8080" rel="nofollow">http://localhost:8080</a> (that is, our restlet consumer endpoint).</p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>The following sample starts a <code>direct</code> endpoint that sends requests to the server on <a shape="rect" class="external-link" href="http://localhost:8080" rel="nofollow">http://localhost:8080</a> (that is, our restlet consumer endpoint).</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[
 // Note: restletMethod and restletRealmRef are stripped 
 // from the query before a request is sent as they are 
 // only processed by Camel.
 from(&quot;direct:start-auth&quot;).to(&quot;restlet:http://localhost:&quot; + port + &quot;/securedOrders?restletMethod=post&quot;);
 ]]></script>
-</div></div>
-<p>That is all we need.  We are ready to send a request and try out the restlet component:</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>That is all we need. We are ready to send a request and try out the restlet 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[
 final String id = &quot;89531&quot;;
 
@@ -14989,33 +14870,17 @@ headers.put(&quot;id&quot;, id);
 String response = (String)template.requestBodyAndHeaders(
     &quot;direct:start-auth&quot;, &quot;&lt;order foo=&#39;1&#39;/&gt;&quot;, headers);
 ]]></script>
-</div></div>
-
-<p>The sample client sends a request to the <code>direct:start-auth</code> endpoint with the following headers:</p>
-<ul><li><code>CamelRestletLogin</code> (used internally by Camel)</li><li><code>CamelRestletPassword</code> (used internally by Camel)</li><li><code>id</code> (application header)</li></ul>
-
-
-    <div class="aui-message hint shadowed information-macro">
+</div></div><p>The sample client sends a request to the <code>direct:start-auth</code> endpoint with the following headers:</p><ul><li><code>CamelRestletLogin</code> (used internally by Camel)</li><li><code>CamelRestletPassword</code> (used internally by Camel)</li><li><code>id</code> (application header)</li></ul>    <div class="aui-message hint shadowed information-macro">
                     <p class="title">Note</p>
                             <span class="aui-icon icon-hint">Icon</span>
                 <div class="message-content">
-                            
-<p><code>org.apache.camel.restlet.auth.login</code> and <code>org.apache.camel.restlet.auth.password</code> will not be propagated as Restlet header.</p>
+                            <p><code>org.apache.camel.restlet.auth.login</code> and <code>org.apache.camel.restlet.auth.password</code> will not be propagated as Restlet header.</p>
                     </div>
     </div>
-
-
-<p>The sample client gets a response like the following:</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[
-received [&lt;order foo=&#39;1&#39;/&gt;] as an order id = 89531
+<p>The sample client gets a response like the following:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: text; gutter: false" type="syntaxhighlighter"><![CDATA[received [&lt;order foo=&#39;1&#39;/&gt;] as an order id = 89531
 ]]></script>
-</div></div>
-
-<h4 id="BookComponentAppendix-SinglerestletendpointtoservicemultiplemethodsandURItemplates">Single restlet endpoint to service multiple methods and URI templates</h4>
-
-<p>It is possible to create a single route to service multiple HTTP methods using the <code>restletMethods</code> option.  This snippet also shows how to retrieve the request method from the header:</p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><h4 id="BookComponentAppendix-SinglerestletendpointtoservicemultiplemethodsandURItemplates">Single restlet endpoint to service multiple methods and URI templates</h4><p>It is possible to create a single route to service multiple HTTP methods using the <code>restletMethods</code> option. This snippet also shows how to retrieve the request method from the header:</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;restlet:http://localhost:&quot; + portNum + &quot;/users/{username}?restletMethods=post,get,put&quot;)
     .process(new Processor() {
@@ -15025,11 +14890,7 @@ from(&quot;restlet:http://localhost:&quo
         }
     });
 ]]></script>
-</div></div>
-
-<p>In addition to servicing multiple methods, the next snippet shows how to create an endpoint that supports multiple URI templates using the <code>restletUriPatterns</code> option.  The request URI is available in the header of the IN message as well.  If a URI pattern has been defined in the endpoint URI (which is not the case in this sample), both the URI pattern defined in the endpoint and the <code>restletUriPatterns</code> option will be honored.</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>In addition to servicing multiple methods, the next snippet shows how to create an endpoint that supports multiple URI templates using the <code>restletUriPatterns</code> option. The request URI is available in the header of the IN message as well. If a URI pattern has been defined in the endpoint URI (which is not the case in this sample), both the URI pattern defined in the endpoint and the <code>restletUriPatterns</code> option will be honored.</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;restlet:http://localhost:&quot; + portNum + &quot;?restletMethods=post,get&amp;restletUriPatterns=#uriTemplates&quot;)
     .process(new Processor() {
@@ -15046,24 +14907,13 @@ from(&quot;restlet:http://localhost:&quo
         }
     });
 ]]></script>
-</div></div>
-
-<p>The <code>restletUriPatterns=#uriTemplates</code> option references the <code>List&lt;String&gt;</code> bean defined in the Spring XML configuration.</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;util:list id=&quot;uriTemplates&quot;&gt;
+</div></div><p>The <code>restletUriPatterns=#uriTemplates</code> option references the <code>List&lt;String&gt;</code> bean defined in the Spring XML configuration.</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;util:list id=&quot;uriTemplates&quot;&gt;
     &lt;value&gt;/users/{username}&lt;/value&gt;
     &lt;value&gt;/atom/collection/{id}/component/{cid}&lt;/value&gt;
 &lt;/util:list&gt;
 ]]></script>
-</div></div>
-
-<h4 id="BookComponentAppendix-UsingRestletAPItopopulateresponse">Using Restlet API to populate response</h4>
-<p><strong>Available as of Camel 2.8</strong></p>
-
-<p>You may want to use the <code>org.restlet.Response</code> API to populate the response. This gives you full access to the Restlet API and fine grained control of the response. See the route snippet below where we generate the response from an inlined Camel <a shape="rect" href="processor.html">Processor</a>:</p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>Generating response using Restlet Response API</b></div><div class="codeContent panelContent pdl">
+</div></div><h4 id="BookComponentAppendix-UsingRestletAPItopopulateresponse">Using Restlet API to populate response</h4><p><strong>Available as of Camel 2.8</strong></p><p>You may want to use the <code>org.restlet.Response</code> API to populate the response. This gives you full access to the Restlet API and fine grained control of the response. See the route snippet below where we generate the response from an inlined Camel <a shape="rect" href="processor.html">Processor</a>:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>Generating response using Restlet Response API</b></div><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 from(&quot;restlet:http://localhost:&quot; + portNum + &quot;/users/{id}/like/{beer}&quot;)
     .process(new Processor() {
@@ -15081,29 +14931,13 @@ from(&quot;restlet:http://localhost:&quo
         }
     });
 ]]></script>
-</div></div>
-
-<h4 id="BookComponentAppendix-Configuringmaxthreadsoncomponent">Configuring max threads on component</h4>
-
-<p>To configure the max threads options you must do this on the component, such as:</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;restlet&quot; class=&quot;org.apache.camel.component.RestletComponent&quot;&gt;
+</div></div><h4 id="BookComponentAppendix-Configuringmaxthreadsoncomponent">Configuring max threads on component</h4><p>To configure the max threads options you must do this on the component, such as:</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;restlet&quot; class=&quot;org.apache.camel.component.RestletComponent&quot;&gt;
   &lt;property name=&quot;maxThreads&quot; value=&quot;100&quot;/&gt;
 &lt;/bean&gt;
 ]]></script>
-</div></div>
-
-<h4 id="BookComponentAppendix-UsingtheRestletservletwithinawebapp">Using the Restlet servlet within a webapp</h4>
-<p><strong>Available as of Camel 2.8</strong><br clear="none">
-There are <a shape="rect" class="external-link" href="http://www.restlet.org/documentation/2.0/jee/ext/org/restlet/ext/servlet/ServerServlet.html" rel="nofollow">three possible ways</a> to configure a Restlet application within a servlet container and using the subclassed SpringServerServlet enables configuration within Camel by injecting the Restlet Component.</p>
-
-<p>Use of the Restlet servlet within a servlet container enables routes to be configured with relative paths in URIs (removing the restrictions of hard-coded absolute URIs) and for the hosting servlet container to handle incoming requests (rather than have to spawn a separate server process on a new port).</p>
-
-<p>To configure, add the following to your camel-context.xml;</p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
-&lt;camelContext&gt;
+</div></div><h4 id="BookComponentAppendix-UsingtheRestletservletwithinawebapp">Using the Restlet servlet within a webapp</h4><p><strong>Available as of Camel 2.8</strong><br clear="none"> There are <a shape="rect" class="external-link" href="http://www.restlet.org/documentation/2.0/jee/ext/org/restlet/ext/servlet/ServerServlet.html" rel="nofollow">three possible ways</a> to configure a Restlet application within a servlet container and using the subclassed SpringServerServlet enables configuration within Camel by injecting the Restlet Component.</p><p>Use of the Restlet servlet within a servlet container enables routes to be configured with relative paths in URIs (removing the restrictions of hard-coded absolute URIs) and for the hosting servlet container to handle incoming requests (rather than have to spawn a separate server process on a new port).</p><p>To configure, add the following to your camel-context.xml;</p><div class="code panel pdl" style="border-width: 1px;"><div class=
 "codeContent panelContent pdl">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;camelContext&gt;
   &lt;route id=&quot;RS_RestletDemo&quot;&gt;
     &lt;from uri=&quot;restlet:/demo/{id}&quot; /&gt;
     &lt;transform&gt;
@@ -15120,12 +14954,8 @@ There are <a shape="rect" class="externa
   &lt;/constructor-arg&gt;
 &lt;/bean&gt;
 ]]></script>
-</div></div>
-
-<p>And add this to your web.xml;</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;!-- Restlet Servlet --&gt;
+</div></div><p>And add this to your web.xml;</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;!-- Restlet Servlet --&gt;
 &lt;servlet&gt;
   &lt;servlet-name&gt;RestletServlet&lt;/servlet-name&gt;
   &lt;servlet-class&gt;org.restlet.ext.spring.SpringServerServlet&lt;/servlet-class&gt;
@@ -15140,41 +14970,24 @@ There are <a shape="rect" class="externa
   &lt;url-pattern&gt;/rs/*&lt;/url-pattern&gt;
 &lt;/servlet-mapping&gt;
 ]]></script>
-</div></div>
-<p>You will then be able to access the deployed route at <a shape="rect" class="external-link" href="http://localhost:8080/mywebapp/rs/demo/1234" rel="nofollow">http://localhost:8080/mywebapp/rs/demo/1234</a> where;</p>
-
-<p>localhost:8080 is the server and port of your servlet container<br clear="none">
-mywebapp is the name of your deployed webapp<br clear="none">
-Your browser will then show the following content;</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[
-&quot;Request type : GET and ID : 1234&quot;
+</div></div><p>You will then be able to access the deployed route at <a shape="rect" class="external-link" href="http://localhost:8080/mywebapp/rs/demo/1234" rel="nofollow">http://localhost:8080/mywebapp/rs/demo/1234</a> where;</p><p>localhost:8080 is the server and port of your servlet container<br clear="none"> mywebapp is the name of your deployed webapp<br clear="none"> Your browser will then show the following content;</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[&quot;Request type : GET and ID : 1234&quot;
 ]]></script>
-</div></div>
-
-<p>You will need to add dependency on the Spring extension to restlet which you can do in your Maven pom.xml file:</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;
+</div></div><p>You will need to add dependency on the Spring extension to restlet which you can do in your Maven pom.xml file:</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.restlet.jee&lt;/groupId&gt;
   &lt;artifactId&gt;org.restlet.ext.spring&lt;/artifactId&gt;
   &lt;version&gt;${restlet-version}&lt;/version&gt;
 &lt;/dependency&gt;
 ]]></script>
-</div></div>
-
-<p>And you would need to add dependency on the restlet maven repository as well:</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;repository&gt;  
+</div></div><p>And you would need to add dependency on the restlet maven repository as well:</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;repository&gt;  
    &lt;id&gt;maven-restlet&lt;/id&gt;  
    &lt;name&gt;Public online Restlet repository&lt;/name&gt;  
    &lt;url&gt;http://maven.restlet.org&lt;/url&gt;  
 &lt;/repository&gt;
 ]]></script>
-</div></div>
-
-<h3 id="BookComponentAppendix-SeeAlso.53">See Also</h3>
+</div></div><p></p><h3 id="BookComponentAppendix-SeeAlso.53">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-RMIComponent">RMI Component</h2>
 
@@ -15251,113 +15064,53 @@ from(endpoint).to(&quot;pojo:bar&quot;);
 
 <h3 id="BookComponentAppendix-SeeAlso.54">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-RSSComponent">RSS Component</h2>
-
-<p>The <strong>rss:</strong> component is used for polling RSS feeds. Camel will default poll the feed every 60th seconds.</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-RSSComponent">RSS Component</h2><p>The <strong>rss:</strong> component is used for polling RSS feeds. Camel will default poll the feed every 60th seconds.</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-rss&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>
-
-<p><strong>Note:</strong> The component currently only supports polling (consuming) feeds.</p>
-
-    <div class="aui-message warning shadowed information-macro">
+</div></div><p><strong>Note:</strong> The component currently only supports polling (consuming) feeds.</p>    <div class="aui-message warning shadowed information-macro">
                             <span class="aui-icon icon-warning">Icon</span>
                 <div class="message-content">
-                            
-<p>Camel-rss internally uses a <a shape="rect" class="external-link" href="http://svn.apache.org/repos/asf/servicemix/smx4/bundles/trunk/rome-1.0/">patched version</a> of <a shape="rect" class="external-link" href="http://rometools.org/" rel="nofollow">ROME</a> hosted on ServiceMix to solve some OSGi <a shape="rect" class="external-link" href="https://issues.apache.org/jira/browse/SMX4-510">class loading issues</a>.</p>
+                            <p>Camel-rss internally uses a <a shape="rect" class="external-link" href="http://svn.apache.org/repos/asf/servicemix/smx4/bundles/trunk/rome-1.0/">patched version</a> of <a shape="rect" class="external-link" href="http://rometools.github.io/rome/" rel="nofollow">ROME</a> hosted on ServiceMix to solve some OSGi <a shape="rect" class="external-link" href="https://issues.apache.org/jira/browse/SMX4-510">class loading issues</a>.</p>
                     </div>
     </div>
-
-
-<h3 id="BookComponentAppendix-URIformat.59">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[
-rss:rssUri
+<h3 id="BookComponentAppendix-URIformat.59">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[rss:rssUri
 ]]></script>
-</div></div>
-
-<p>Where <code>rssUri</code> is the URI to the RSS feed to poll. </p>
-
-<p>You can append query options to the URI in the following format, <code>?option=value&amp;option=value&amp;...</code></p>
-
-<h3 id="BookComponentAppendix-Options.43">Options</h3>
-<div class="confluenceTableSmall">
+</div></div><p>Where <code>rssUri</code> is the URI to the RSS feed to poll.</p><p>You can append query options to the URI in the following format, <code>?option=value&amp;option=value&amp;...</code></p><h3 id="BookComponentAppendix-Options.43">Options</h3><div class="confluenceTableSmall">
 <table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p> Property </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>splitEntries</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>true</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> If <code>true</code>, Camel splits a feed into its individual entries and returns each entry, poll by poll. For example, if a feed contains seven entries, Camel returns the first entry on the first poll, the second entry on the second poll, and so on. When no more entries are left in the feed, Camel contacts the remote RSS URI to obtain a new feed. If <code>false</code>, Camel obtains a fresh feed on every poll and returns all of the feed's entries. </p></td></tr><tr><td colspan="1" rowspan="1" class="con
 fluenceTd"><p> <code>filter</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>true</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>  Use in combination with the <code>splitEntries</code> option in order to filter returned entries. By default, Camel applies the <code>UpdateDateFilter</code> filter, which returns only new entries from the feed, ensuring that the consumer endpoint never receives an entry more than once. The filter orders the entries chronologically, with the newest returned last. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>throttleEntries</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>true</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.5:</strong> Sets whether all entries identified in a single feed poll should be delivered immediately. If true, only one entry is processed per consumer.delay. Only applicable when splitEntries i
 s set to true. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>lastUpdate</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>null</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Use in combination with the <code>filter</code> option to block entries earlier than a specific date/time (uses the <code>entry.updated</code> timestamp). The format is: <code>yyyy-MM-ddTHH:MM:ss</code>. Example: <code>2007-12-24T17:45:59</code>. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>feedHeader</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 to add the ROME <code>SyndFeed</code> object as a header. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>sortEntries</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>false</code> </p></td
 ><td colspan="1" rowspan="1" class="confluenceTd"><p> If <code>splitEntries</code> is <code>true</code>, this specifies whether to sort the entries by updated date. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>consumer.delay</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>60000</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Delay in milliseconds between each poll. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>consumer.initialDelay</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>1000</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Milliseconds before polling starts. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>consumer.userFixedDelay</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>false</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Set to <code>t
 rue</code> to use fixed delay between pools, otherwise fixed rate is used. See <a shape="rect" class="external-link" href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/ScheduledExecutorService.html" rel="nofollow">ScheduledExecutorService</a> in JDK for details. </p></td></tr></tbody></table>
-</div>
-
-<h3 id="BookComponentAppendix-Exchangedatatypes">Exchange data types</h3>
-
-<p>Camel initializes the In body on the Exchange with a ROME <code>SyndFeed</code>. Depending on the value of the <code>splitEntries</code> flag, Camel returns either a <code>SyndFeed</code> with one <code>SyndEntry</code> or a <code>java.util.List</code> of <code>SyndEntrys</code>.</p>
-<div class="confluenceTableSmall">
+</div><h3 id="BookComponentAppendix-Exchangedatatypes">Exchange data types</h3><p>Camel initializes the In body on the Exchange with a ROME <code>SyndFeed</code>. Depending on the value of the <code>splitEntries</code> flag, Camel returns either a <code>SyndFeed</code> with one <code>SyndEntry</code> or a <code>java.util.List</code> of <code>SyndEntrys</code>.</p><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> Value </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Behavior </p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>splitEntries</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>true</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>  A single entry from the current feed is set in the exchange. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>splitEntries</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>false</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The entire list of entries from the current feed is set in the exchange. </p></td></tr></tbody></table>
-</div>
-
-<h3 id="BookComponentAppendix-MessageHeaders.16">Message Headers</h3>
-<div class="confluenceTableSmall">
+</div><h3 id="BookComponentAppendix-MessageHeaders.16">Message Headers</h3><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>CamelRssFeed</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The entire <code>SyncFeed</code> object. </p></td></tr></tbody></table>
-</div>
-
-<h3 id="BookComponentAppendix-RSSDataformat">RSS Dataformat</h3>
-
-<p>The RSS component ships with an RSS dataformat that can be used to convert between String (as XML) and ROME RSS model objects. </p>
-
-<ul><li>marshal = from ROME <code>SyndFeed</code> to XML <code>String</code></li><li>unmarshal = from XML <code>String</code> to ROME <code>SyndFeed</code></li></ul>
-
-
-<p>A route using this would look something like this:</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div><h3 id="BookComponentAppendix-RSSDataformat">RSS Dataformat</h3><p>The RSS component ships with an RSS dataformat that can be used to convert between String (as XML) and ROME RSS model objects.</p><ul><li>marshal = from ROME <code>SyndFeed</code> to XML <code>String</code></li><li>unmarshal = from XML <code>String</code> to ROME <code>SyndFeed</code></li></ul><p>A route using this would look something 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;rss:file:src/test/data/rss20.xml?splitEntries=false&amp;consumer.delay=1000&quot;).marshal().rss().to(&quot;mock:marshal&quot;);
 ]]></script>
-</div></div>
-
-<p>The purpose of this feature is to make it possible to use Camel's lovely built-in expressions for manipulating RSS messages. As shown below, an XPath expression can be used to filter the RSS message:</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>The purpose of this feature is to make it possible to use Camel's lovely built-in expressions for manipulating RSS messages. As shown below, an XPath expression can be used to filter the RSS message:</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[
 // only entries with Camel in the title will get through the filter
 from(&quot;rss:file:src/test/data/rss20.xml?splitEntries=true&amp;consumer.delay=100&quot;)
     .marshal().rss().filter().xpath(&quot;//item/title[contains(.,&#39;Camel&#39;)]&quot;).to(&quot;mock:result&quot;);
 ]]></script>
-</div></div>
-
-    <div class="aui-message success shadowed information-macro">
+</div></div>    <div class="aui-message success shadowed information-macro">
                     <p class="title">Query parameters</p>
                             <span class="aui-icon icon-success">Icon</span>
                 <div class="message-content">
-                            
-<p>If the URL for the RSS feed uses query parameters, this component will understand them as well, for example if the feed uses <code>alt=rss</code>, then you can for example do<br clear="none">
-<code>from("rss:<a shape="rect" class="external-link" href="http://someserver.com/feeds/posts/default?alt=rss&amp;splitEntries=false&amp;consumer.delay=1000" rel="nofollow">http://someserver.com/feeds/posts/default?alt=rss&amp;splitEntries=false&amp;consumer.delay=1000</a>").to("bean:rss");</code></p>
+                            <p>If the URL for the RSS feed uses query parameters, this component will understand them as well, for example if the feed uses <code>alt=rss</code>, then you can for example do<br clear="none"> <code>from("rss:<a shape="rect" class="external-link" href="http://someserver.com/feeds/posts/default?alt=rss&amp;splitEntries=false&amp;consumer.delay=1000" rel="nofollow">http://someserver.com/feeds/posts/default?alt=rss&amp;splitEntries=false&amp;consumer.delay=1000</a>").to("bean:rss");</code></p>
                     </div>
     </div>
-
-
-<h3 id="BookComponentAppendix-Filteringentries">Filtering entries</h3>
-

[... 42 lines stripped ...]


Mime
View raw message