Author: buildbot
Date: Tue Dec  1 17:20:27 2015
New Revision: 974176

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/amqp.html
    websites/production/camel/content/book-component-appendix.html
    websites/production/camel/content/book-in-one-page.html
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/camel-2170-release.html

Modified: websites/production/camel/content/amqp.html
==============================================================================
--- websites/production/camel/content/amqp.html (original)
+++ websites/production/camel/content/amqp.html Tue Dec  1 17:20:27 2015
@@ -85,7 +85,7 @@
        <tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><h2 
id="AMQP-AMQP">AMQP</h2><p><strong>Available as of Camel X.X</strong></p><p>The 
<strong>amqp:</strong> component supports the <a shape="rect" 
class="external-link" href="http://www.amqp.org/"; rel="nofollow">AMQP 
protocol</a> using the JMS Client API of the <a shape="rect" 
class="external-link" href="http://qpid.apache.org/";>Qpid</a> project. In case 
you want to use AMQP with RabbitMQ you might also be interested in the <a 
shape="rect" href="rabbitmq.html">Camel RabbitMQ</a> 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">
+<div class="wiki-content maincontent"><h2 id="AMQP-AMQP">AMQP</h2><p>The 
<strong style="line-height: 1.42857;">amqp:</strong> component supports the <a 
shape="rect" class="external-link" href="http://www.amqp.org/"; 
style="line-height: 1.42857;" rel="nofollow">AMQP 1.0 protocol</a> using the 
JMS Client API of the <a shape="rect" class="external-link" 
href="http://qpid.apache.org/"; style="line-height: 1.42857;">Qpid</a> project. 
In case you want to use AMQP 0.9 (in particular RabbitMQ) you might also be 
interested in the <a shape="rect" href="rabbitmq.html">Camel RabbitMQ</a> 
component. Please keep in mind that prior to the Camel 2.17.0 AMQP component 
supported AMQP 0.9 and above, however since Camel 2.17.0 it supports only AMQP 
1.0.</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="brush: xml; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-amqp&lt;/artifactId&gt;
@@ -95,17 +95,27 @@
 </div></div><h3 id="AMQP-URIformat">URI format</h3><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[amqp:[queue:|topic:]destinationName[?options]
 ]]></script>
-</div></div><h3 id="AMQP-AMQPOptions">AMQP Options</h3><p>You can specify all 
of the various configuration options of the <a shape="rect" 
href="jms.html">JMS</a> component after the destination name.</p><h3 
id="AMQP-Usingtopics">Using topics</h3><p>To have using topics working with 
camel-amqp you need to configure the component to use "topic://" as topic 
prefix, as shown below:</p><div class="code panel pdl" style="border-width: 
1px;"><div class="codeContent panelContent pdl">
-<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[ &lt;bean id=&quot;amqp&quot; 
class=&quot;org.apache.camel.component.jms.JmsComponent&quot;&gt;
+</div></div><h3 id="AMQP-AMQPOptions">AMQP Options</h3><p>You can specify all 
of the various configuration options of the <a shape="rect" 
href="jms.html">JMS</a> component after the destination name.</p><h3 
id="AMQP-Usage">Usage</h3><p>As AMQP component is inherited from JMS component, 
the usage of the former is almost identical to the latter:</p><div class="code 
panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" 
style="border-bottom-width: 1px;"><b>Using AMQP component</b></div><div 
class="codeContent panelContent pdl">
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[// Consuming from AMQP queue
+from(&quot;amqp:queue:incoming&quot;).
+  to(...);
+ 
+// Sending message to the AMQP topic
+from(...).
+  to(&quot;amqp:topic:notify&quot;);]]></script>
+</div></div><h3 id="AMQP-Usingtopics">Using topics</h3><p>To have using topics 
working with <code>camel-amqp</code> you need to configure the component to use 
<code>topic://</code> as topic prefix, as shown below:</p><div class="code 
panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[ &lt;bean id=&quot;amqp&quot; 
class=&quot;org.apache.camel.component.amqp.AmqpComponent&quot;&gt;
         &lt;property name=&quot;connectionFactory&quot;&gt;
           &lt;bean 
class=&quot;org.apache.qpid.amqp_1_0.jms.impl.ConnectionFactoryImpl&quot; 
factory-method=&quot;createFromURL&quot;&gt;
-                        &lt;constructor-arg index=&quot;0&quot; 
type=&quot;java.lang.String&quot; value=&quot;amqp://localhost:5672&quot; /&gt;
+            &lt;constructor-arg index=&quot;0&quot; 
type=&quot;java.lang.String&quot; value=&quot;amqp://localhost:5672&quot; /&gt;
             &lt;property name=&quot;topicPrefix&quot; 
value=&quot;topic://&quot; /&gt;  &lt;!-- only necessary when connecting to 
ActiveMQ over AMQP 1.0 --&gt;
-           &lt;/bean&gt;
+          &lt;/bean&gt;
         &lt;/property&gt;
-    &lt;/bean&gt;]]></script>
+ &lt;/bean&gt;]]></script>
 </div></div><p>&#160;</p><p>Starting from the Camel 2.16.1 you can also use 
the <code>AMQPComponent#amqp10Component(String connectionURI)</code> factory 
method to return the AMQP 1.0 component with the pre-configured&#160;topic 
prefix:&#160;</p><div class="code panel pdl" style="border-width: 1px;"><div 
class="codeHeader panelHeader pdl" style="border-bottom-width: 
1px;"><b>Creating AMQP 1.0 component</b></div><div class="codeContent 
panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[ AMQPComponent amqp = 
AMQPComponent.amqp10Component(&quot;amqp://guest:guest@localhost:5672&quot;);]]></script>
+</div></div><p>Keep in mind that starting from the 
Camel&#160;2.17&#160;the&#160;<code>AMQPComponent#amqp10Component(String 
connectionURI)</code>&#160;factory method has been deprecated on the behalf of 
the <code><span>AMQPComponent#amqpComponent(String 
connectionURI)</span></code>:&#160;</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeHeader panelHeader pdl" 
style="border-bottom-width: 1px;"><b>Creating AMQP 1.0 component</b></div><div 
class="codeContent panelContent pdl">
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[ AMQPComponent amqp = 
AMQPComponent.amqpComponent(&quot;amqp://localhost:5672&quot;);]]></script>
 </div></div><p>&#160;</p><p>&#160;</p><p></p><h3 id="AMQP-SeeAlso">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></div>
         </td>

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 Dec  1 
17:20:27 2015
@@ -208,7 +208,7 @@ droppable = false}
 &lt;/dependency&gt;
 ]]></script>
 </div></div><p></p><h3 id="BookComponentAppendix-SeeAlso">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> <div 
class="error"><span class="error">Unable to render {include}</span> The 
included page could not be found.</div> <h2 
id="BookComponentAppendix-AMQP">AMQP</h2><p><strong>Available as of Camel 
X.X</strong></p><p>The <strong>amqp:</strong> component supports the <a 
shape="rect" class="external-link" href="http://www.amqp.org/"; 
rel="nofollow">AMQP protocol</a> using the JMS Client API of the <a 
shape="rect" class="external-link" href="http://qpid.apache.org/";>Qpid</a> 
project. In case you want to use AMQP with RabbitMQ you might also be 
interested in the <a shape="rect" href="rabbitmq.html">Camel RabbitMQ</a> 
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">
+<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> <div 
class="error"><span class="error">Unable to render {include}</span> The 
included page could not be found.</div> <h2 
id="BookComponentAppendix-AMQP">AMQP</h2><p>The <strong style="line-height: 
1.42857;">amqp:</strong> component supports the <a shape="rect" 
class="external-link" href="http://www.amqp.org/"; style="line-height: 1.42857;" 
rel="nofollow">AMQP 1.0 protocol</a> using the JMS Client API of the <a 
shape="rect" class="external-link" href="http://qpid.apache.org/"; 
style="line-height: 1.42857;">Qpid</a> project. In case you want to use AMQP 
0.9 (in particular RabbitMQ) you might also be interested in the <a 
shape="rect" href="rabbitmq.html">Camel RabbitMQ</a> component. Please keep in 
mind that prior to
  the Camel 2.17.0 AMQP component supported AMQP 0.9 and above, however since 
Camel 2.17.0 it supports only AMQP 1.0.</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="brush: xml; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-amqp&lt;/artifactId&gt;
@@ -218,22 +218,32 @@ droppable = false}
 </div></div><h3 id="BookComponentAppendix-URIformat.1">URI format</h3><div 
class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[amqp:[queue:|topic:]destinationName[?options]
 ]]></script>
-</div></div><h3 id="BookComponentAppendix-AMQPOptions">AMQP Options</h3><p>You 
can specify all of the various configuration options of the <a shape="rect" 
href="jms.html">JMS</a> component after the destination name.</p><h3 
id="BookComponentAppendix-Usingtopics">Using topics</h3><p>To have using topics 
working with camel-amqp you need to configure the component to use "topic://" 
as topic prefix, as shown below:</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[ &lt;bean id=&quot;amqp&quot; 
class=&quot;org.apache.camel.component.jms.JmsComponent&quot;&gt;
+</div></div><h3 id="BookComponentAppendix-AMQPOptions">AMQP Options</h3><p>You 
can specify all of the various configuration options of the <a shape="rect" 
href="jms.html">JMS</a> component after the destination name.</p><h3 
id="BookComponentAppendix-Usage">Usage</h3><p>As AMQP component is inherited 
from JMS component, the usage of the former is almost identical to the 
latter:</p><div class="code panel pdl" style="border-width: 1px;"><div 
class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>Using 
AMQP component</b></div><div class="codeContent panelContent pdl">
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[// Consuming from AMQP queue
+from(&quot;amqp:queue:incoming&quot;).
+  to(...);
+ 
+// Sending message to the AMQP topic
+from(...).
+  to(&quot;amqp:topic:notify&quot;);]]></script>
+</div></div><h3 id="BookComponentAppendix-Usingtopics">Using topics</h3><p>To 
have using topics working with <code>camel-amqp</code> you need to configure 
the component to use <code>topic://</code> as topic prefix, as shown 
below:</p><div class="code panel pdl" style="border-width: 1px;"><div 
class="codeContent panelContent pdl">
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[ &lt;bean id=&quot;amqp&quot; 
class=&quot;org.apache.camel.component.amqp.AmqpComponent&quot;&gt;
         &lt;property name=&quot;connectionFactory&quot;&gt;
           &lt;bean 
class=&quot;org.apache.qpid.amqp_1_0.jms.impl.ConnectionFactoryImpl&quot; 
factory-method=&quot;createFromURL&quot;&gt;
-                        &lt;constructor-arg index=&quot;0&quot; 
type=&quot;java.lang.String&quot; value=&quot;amqp://localhost:5672&quot; /&gt;
+            &lt;constructor-arg index=&quot;0&quot; 
type=&quot;java.lang.String&quot; value=&quot;amqp://localhost:5672&quot; /&gt;
             &lt;property name=&quot;topicPrefix&quot; 
value=&quot;topic://&quot; /&gt;  &lt;!-- only necessary when connecting to 
ActiveMQ over AMQP 1.0 --&gt;
-           &lt;/bean&gt;
+          &lt;/bean&gt;
         &lt;/property&gt;
-    &lt;/bean&gt;]]></script>
+ &lt;/bean&gt;]]></script>
 </div></div><p>&#160;</p><p>Starting from the Camel 2.16.1 you can also use 
the <code>AMQPComponent#amqp10Component(String connectionURI)</code> factory 
method to return the AMQP 1.0 component with the pre-configured&#160;topic 
prefix:&#160;</p><div class="code panel pdl" style="border-width: 1px;"><div 
class="codeHeader panelHeader pdl" style="border-bottom-width: 
1px;"><b>Creating AMQP 1.0 component</b></div><div class="codeContent 
panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[ AMQPComponent amqp = 
AMQPComponent.amqp10Component(&quot;amqp://guest:guest@localhost:5672&quot;);]]></script>
+</div></div><p>Keep in mind that starting from the 
Camel&#160;2.17&#160;the&#160;<code>AMQPComponent#amqp10Component(String 
connectionURI)</code>&#160;factory method has been deprecated on the behalf of 
the <code><span>AMQPComponent#amqpComponent(String 
connectionURI)</span></code>:&#160;</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeHeader panelHeader pdl" 
style="border-bottom-width: 1px;"><b>Creating AMQP 1.0 component</b></div><div 
class="codeContent panelContent pdl">
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[ AMQPComponent amqp = 
AMQPComponent.amqpComponent(&quot;amqp://localhost:5672&quot;);]]></script>
 </div></div><p>&#160;</p><p>&#160;</p><p></p><h3 
id="BookComponentAppendix-SeeAlso.1">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-SQSComponent">SQS Component</h2><p><strong>Available 
as of Camel 2.6</strong></p><p>The sqs component supports sending and receiving 
messages to <a shape="rect" class="external-link" 
href="http://aws.amazon.com/sqs"; rel="nofollow">Amazon's SQS</a> 
service.</p><div class="confluence-information-macro 
confluence-information-macro-information"><p 
class="title">Prerequisites</p><span class="aui-icon aui-icon-small 
aui-iconfont-info confluence-information-macro-icon"></span><div 
class="confluence-information-macro-body"><p>You must have a valid Amazon Web 
Services developer account, and be signed up to use Amazon SQS. More 
information are available at <a shape="rect" class="external-link
 " href="http://aws.amazon.com/sqs"; rel="nofollow">Amazon 
SQS</a>.</p></div></div><h3 id="BookComponentAppendix-URIFormat">URI 
Format</h3><div class="code panel pdl" style="border-width: 1px;"><div 
class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[aws-sqs://queue-name[?options]
 ]]></script>
-</div></div><p>The queue will be created if they don't already exists.<br 
clear="none"> You can append query options to the URI in the following format, 
?options=value&amp;option2=value&amp;...</p><h3 
id="BookComponentAppendix-URIOptions">URI Options</h3><div 
class="table-wrap"><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>Context</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>amazonSQSClient</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Shared</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Reference to a 
<code>com.amazonaws.services.sqs.AmazonSQS</code> in the <a shape="rect" 
href="registry.html">Regist
 ry</a>.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>accessKey</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Shared</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Amazon AWS Access Key</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>secretKey</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Shared</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Amazon AWS Secret Key</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>amazonSQSEndpoint</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Shared</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>The region with which the AWS-SQS client wants to work 
with. Only works if Camel crea
 tes the AWS-SQS client, i.e., if you explicitly set amazonSQSClient, then this 
setting will have no effect. You would have to set it on the client you create 
directly</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>attributeNames</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Consumer</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>A list of attributes to set in the 
<code>com.amazonaws.services.sqs.model.ReceiveMessageRequest</code>.</p></td></tr><tr><td
 colspan="1" rowspan="1" class="confluenceTd">concurrentConsumers</td><td 
colspan="1" rowspan="1" class="confluenceTd">1</td><td colspan="1" rowspan="1" 
class="confluenceTd">Consumer</td><td colspan="1" rowspan="1" 
class="confluenceTd">(<strong>as of 2.15.0</strong>) Allows you to use multiple 
threads to poll the sqs queue to increase throughput</td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p>de
 faultVisibilityTimeout</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Shared</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>The visibility timeout (in seconds) to set in the 
<code>com.amazonaws.services.sqs.model.CreateQueueRequest</code>.</p></td></tr><tr><td
 colspan="1" rowspan="1" class="confluenceTd"><p>deleteAfterRead</p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Consumer</p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Delete message from SQS after 
it has been read (and processed by the route)</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>deleteIfFiltered</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Consumer</p></td><td colspan="1" 
rowspan="1" class="confluenc
 eTd"><p><strong>Camel 2.12.2,2.13.0</strong> Whether or not to send the 
DeleteMessage to the SQS queue if an exchange fails to get through a filter. If 
'false' and exchange does not make it through a Camel filter upstream in the 
route, then don't send DeleteMessage.</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>maxMessagesPerPoll</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Consumer</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>The maximum number of messages which can be 
received in one poll to set in the 
<code>com.amazonaws.services.sqs.model.ReceiveMessageRequest</code>.</p></td></tr><tr><td
 colspan="1" rowspan="1" class="confluenceTd"><p>visibilityTimeout</p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Shared</p></td><td colspan="1" 
rowspan="1" class="confluenceTd
 "><p>The duration (in seconds) that the received messages are hidden from 
subsequent retrieve requests after being retrieved by a ReceiveMessage request 
to set in the 
<code>com.amazonaws.services.sqs.model.SetQueueAttributesRequest</code>. This 
only make sense if its different from <code>defaultVisibilityTimeout</code>. It 
changes the queue visibility timeout attribute 
permanently.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>messageVisibilityTimeout</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Consumer</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><strong>Camel 2.8:</strong> The duration 
(in seconds) that the received messages are hidden from subsequent retrieve 
requests after being retrieved by a ReceiveMessage request to set in the 
<code>com.amazonaws.services.sqs.model.ReceiveMessageRequest</code>. It does 
<strong>NOT</strong> change the queue visibi
 lity timeout attribute permanently.</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>extendMessageVisibility</p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Consumer</p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.10:</strong> If 
enabled then a scheduled background task will keep extending the message 
visibility on SQS. This is needed if it taks a long time to process the 
message. If set to true <code>defaultVisibilityTimeout</code> must be set. See 
details at <a shape="rect" class="external-link" 
href="http://docs.amazonwebservices.com/AWSSimpleQueueService/latest/APIReference/Query_QueryChangeMessageVisibility.html";
 rel="nofollow">Amazon docs</a>.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>maximumMessageSize</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1
 " class="confluenceTd"><p>Shared</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><strong>Camel 2.8:</strong> The maximumMessageSize (in 
bytes) an SQS message can contain for this queue, to set in the 
<code>com.amazonaws.services.sqs.model.SetQueueAttributesRequest</code>.</p></td></tr><tr><td
 colspan="1" rowspan="1" 
class="confluenceTd"><p>messageRetentionPeriod</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Shared</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><strong>Camel 2.8:</strong> The messageRetentionPeriod 
(in seconds) a message will be retained by SQS for this queue, to set in the 
<code>com.amazonaws.services.sqs.model.SetQueueAttributesRequest</code>.</p></td></tr><tr><td
 colspan="1" rowspan="1" class="confluenceTd"><p>policy</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"
 ><p>Shared</p></td><td colspan="1" rowspan="1" 
 >class="confluenceTd"><p><strong>Camel 2.8:</strong> The policy for this queue 
 >to set in the 
 ><code>com.amazonaws.services.sqs.model.SetQueueAttributesRequest</code>.</p></td></tr><tr><td
 > colspan="1" rowspan="1" class="confluenceTd"><p>delaySeconds</p></td><td 
 >colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td 
 >colspan="1" rowspan="1" class="confluenceTd"><p>Producer</p></td><td 
 >colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.9.3:</strong> 
 >Delay sending messages for a number of seconds.</p></td></tr><tr><td 
 >colspan="1" rowspan="1" class="confluenceTd"><p>waitTimeSeconds</p></td><td 
 >colspan="1" rowspan="1" class="confluenceTd"><p><code>0</code></p></td><td 
 >colspan="1" rowspan="1" class="confluenceTd"><p>Producer</p></td><td 
 >colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.11:</strong> 
 >Duration in seconds (0 to 20) that the ReceiveMessage action call will wait 
 >until a message is in th
 e queue to include in the response.</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>receiveMessageWaitTimeSeconds</p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>0</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Shared</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><strong>Camel 2.11:</strong> If you do not 
specify WaitTimeSeconds in the request, the queue attribute 
ReceiveMessageWaitTimeSeconds is used to determine how long to 
wait.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>queueOwnerAWSAccountId</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Shared</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><strong>Camel 2.12:</strong> Specify the queue owner 
aws account id when you need to connect the queue with different account 
owner.</p></td></tr><tr><td colspan="1" rowspan="1" class="conflu
 enceTd"><p>region</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Shared</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><strong>Camel 2.12.3:</strong> Specify the queue region 
which could be used with <code>queueOwnerAWSAccountId</code> to build the 
service URL.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>redrivePolicy</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><code>null</code></td><td colspan="1" rowspan="1" 
class="confluenceTd">Shared</td><td colspan="1" rowspan="1" 
class="confluenceTd"><strong>Camel 2.15</strong>: Specify the policy that send 
message to DeadLetter queue. See detail at <a shape="rect" 
class="external-link" 
href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-queues-redrivepolicy.html";
 rel="nofollow">Amazon docs</a>.</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>proxyHost<
 /p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><code>null</code></td><td colspan="1" rowspan="1" 
class="confluenceTd">Shared</td><td colspan="1" rowspan="1" 
class="confluenceTd"><strong>Camel 2.16</strong>: Specify a proxy host to be 
used inside the client definition.</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>proxyPort</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><code>null</code></td><td colspan="1" rowspan="1" 
class="confluenceTd">Shared</td><td colspan="1" rowspan="1" 
class="confluenceTd"><strong>Camel 2.16</strong>: Specify a proxy port to be 
used inside the client definition.</td></tr></tbody></table></div><div 
class="confluence-information-macro 
confluence-information-macro-information"><p class="title">Required SQS 
component options</p><span class="aui-icon aui-icon-small aui-iconfont-info 
confluence-information-macro-icon"></span><div 
class="confluence-information-macro-body"><p>You have to provide the 
amazonSQSClient in the <a sh
 ape="rect" href="registry.html">Registry</a> or your accessKey and secretKey 
to access the <a shape="rect" class="external-link" 
href="http://aws.amazon.com/sqs"; rel="nofollow">Amazon's 
SQS</a>.</p></div></div><h3 id="BookComponentAppendix-BatchConsumer">Batch 
Consumer</h3><p>This component implements the <a shape="rect" 
href="batch-consumer.html">Batch Consumer</a>.</p><p>This allows you for 
instance to know how many messages exists in this batch and for instance let 
the <a shape="rect" href="aggregator.html">Aggregator</a> aggregate this number 
of messages.</p><h3 id="BookComponentAppendix-Usage">Usage</h3><h4 
id="BookComponentAppendix-MessageheaderssetbytheSQSproducer">Message headers 
set by the SQS producer</h4><div class="table-wrap"><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>CamelAwsSqsMD5OfBody</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 MD5 checksum of the Amazon 
SQS message.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsSqsMessageId</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 Amazon SQS message 
ID.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsSqsDelaySeconds</code></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>Integer</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Since <strong>Camel 2.11</strong>, the 
delay seconds that the Amazon SQS message can be see by 
others.</p></td></tr></tbody></table></div><h4 
id="BookComponentAppendix-MessageheaderssetbytheSQSconsumer">
 Message headers set by the SQS consumer</h4><div class="table-wrap"><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>CamelAwsSqsMD5OfBody</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 MD5 checksum of the Amazon 
SQS message.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsSqsMessageId</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 Amazon SQS message 
ID.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsSqsReceiptHandle</code></p></td><td 
colspan="1" row
 span="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>The Amazon SQS message receipt 
handle.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsSqsAttributes</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Map&lt;String, 
String&gt;</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>The Amazon SQS message 
attributes.</p></td></tr></tbody></table></div><h4 
id="BookComponentAppendix-AdvancedAmazonSQSconfiguration">Advanced AmazonSQS 
configuration</h4><p>If your Camel Application is running behind a firewall or 
if you need to have more control over the AmazonSQS instance configuration, you 
can create your own instance:</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>The queue will be created if they don't already exists.<br 
clear="none"> You can append query options to the URI in the following format, 
?options=value&amp;option2=value&amp;...</p><h3 
id="BookComponentAppendix-URIOptions">URI Options</h3><div 
class="table-wrap"><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>Context</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>amazonSQSClient</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Shared</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Reference to a 
<code>com.amazonaws.services.sqs.AmazonSQS</code> in the <a shape="rect" 
href="registry.html">Regist
 ry</a>.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>accessKey</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Shared</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Amazon AWS Access Key</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>secretKey</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Shared</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Amazon AWS Secret Key</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>amazonSQSEndpoint</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Shared</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>The region with which the AWS-SQS client wants to work 
with. Only works if Camel crea
 tes the AWS-SQS client, i.e., if you explicitly set amazonSQSClient, then this 
setting will have no effect. You would have to set it on the client you create 
directly</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>attributeNames</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Consumer</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>A list of attributes to set in the 
<code>com.amazonaws.services.sqs.model.ReceiveMessageRequest</code>.</p></td></tr><tr><td
 colspan="1" rowspan="1" class="confluenceTd">concurrentConsumers</td><td 
colspan="1" rowspan="1" class="confluenceTd">1</td><td colspan="1" rowspan="1" 
class="confluenceTd">Consumer</td><td colspan="1" rowspan="1" 
class="confluenceTd">(<strong>as of 2.15.0</strong>) Allows you to use multiple 
threads to poll the sqs queue to increase throughput</td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p>de
 faultVisibilityTimeout</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Shared</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>The visibility timeout (in seconds) to set in the 
<code>com.amazonaws.services.sqs.model.CreateQueueRequest</code>.</p></td></tr><tr><td
 colspan="1" rowspan="1" class="confluenceTd"><p>deleteAfterRead</p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Consumer</p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Delete message from SQS after 
it has been read (and processed by the route)</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>deleteIfFiltered</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Consumer</p></td><td colspan="1" 
rowspan="1" class="confluenc
 eTd"><p><strong>Camel 2.12.2,2.13.0</strong> Whether or not to send the 
DeleteMessage to the SQS queue if an exchange fails to get through a filter. If 
'false' and exchange does not make it through a Camel filter upstream in the 
route, then don't send DeleteMessage.</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>maxMessagesPerPoll</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Consumer</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>The maximum number of messages which can be 
received in one poll to set in the 
<code>com.amazonaws.services.sqs.model.ReceiveMessageRequest</code>.</p></td></tr><tr><td
 colspan="1" rowspan="1" class="confluenceTd"><p>visibilityTimeout</p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Shared</p></td><td colspan="1" 
rowspan="1" class="confluenceTd
 "><p>The duration (in seconds) that the received messages are hidden from 
subsequent retrieve requests after being retrieved by a ReceiveMessage request 
to set in the 
<code>com.amazonaws.services.sqs.model.SetQueueAttributesRequest</code>. This 
only make sense if its different from <code>defaultVisibilityTimeout</code>. It 
changes the queue visibility timeout attribute 
permanently.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>messageVisibilityTimeout</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Consumer</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><strong>Camel 2.8:</strong> The duration 
(in seconds) that the received messages are hidden from subsequent retrieve 
requests after being retrieved by a ReceiveMessage request to set in the 
<code>com.amazonaws.services.sqs.model.ReceiveMessageRequest</code>. It does 
<strong>NOT</strong> change the queue visibi
 lity timeout attribute permanently.</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>extendMessageVisibility</p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Consumer</p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.10:</strong> If 
enabled then a scheduled background task will keep extending the message 
visibility on SQS. This is needed if it taks a long time to process the 
message. If set to true <code>defaultVisibilityTimeout</code> must be set. See 
details at <a shape="rect" class="external-link" 
href="http://docs.amazonwebservices.com/AWSSimpleQueueService/latest/APIReference/Query_QueryChangeMessageVisibility.html";
 rel="nofollow">Amazon docs</a>.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>maximumMessageSize</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1
 " class="confluenceTd"><p>Shared</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><strong>Camel 2.8:</strong> The maximumMessageSize (in 
bytes) an SQS message can contain for this queue, to set in the 
<code>com.amazonaws.services.sqs.model.SetQueueAttributesRequest</code>.</p></td></tr><tr><td
 colspan="1" rowspan="1" 
class="confluenceTd"><p>messageRetentionPeriod</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Shared</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><strong>Camel 2.8:</strong> The messageRetentionPeriod 
(in seconds) a message will be retained by SQS for this queue, to set in the 
<code>com.amazonaws.services.sqs.model.SetQueueAttributesRequest</code>.</p></td></tr><tr><td
 colspan="1" rowspan="1" class="confluenceTd"><p>policy</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"
 ><p>Shared</p></td><td colspan="1" rowspan="1" 
 >class="confluenceTd"><p><strong>Camel 2.8:</strong> The policy for this queue 
 >to set in the 
 ><code>com.amazonaws.services.sqs.model.SetQueueAttributesRequest</code>.</p></td></tr><tr><td
 > colspan="1" rowspan="1" class="confluenceTd"><p>delaySeconds</p></td><td 
 >colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td 
 >colspan="1" rowspan="1" class="confluenceTd"><p>Producer</p></td><td 
 >colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.9.3:</strong> 
 >Delay sending messages for a number of seconds.</p></td></tr><tr><td 
 >colspan="1" rowspan="1" class="confluenceTd"><p>waitTimeSeconds</p></td><td 
 >colspan="1" rowspan="1" class="confluenceTd"><p><code>0</code></p></td><td 
 >colspan="1" rowspan="1" class="confluenceTd"><p>Producer</p></td><td 
 >colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.11:</strong> 
 >Duration in seconds (0 to 20) that the ReceiveMessage action call will wait 
 >until a message is in th
 e queue to include in the response.</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>receiveMessageWaitTimeSeconds</p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>0</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Shared</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><strong>Camel 2.11:</strong> If you do not 
specify WaitTimeSeconds in the request, the queue attribute 
ReceiveMessageWaitTimeSeconds is used to determine how long to 
wait.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>queueOwnerAWSAccountId</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Shared</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><strong>Camel 2.12:</strong> Specify the queue owner 
aws account id when you need to connect the queue with different account 
owner.</p></td></tr><tr><td colspan="1" rowspan="1" class="conflu
 enceTd"><p>region</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Shared</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><strong>Camel 2.12.3:</strong> Specify the queue region 
which could be used with <code>queueOwnerAWSAccountId</code> to build the 
service URL.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>redrivePolicy</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><code>null</code></td><td colspan="1" rowspan="1" 
class="confluenceTd">Shared</td><td colspan="1" rowspan="1" 
class="confluenceTd"><strong>Camel 2.15</strong>: Specify the policy that send 
message to DeadLetter queue. See detail at <a shape="rect" 
class="external-link" 
href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-queues-redrivepolicy.html";
 rel="nofollow">Amazon docs</a>.</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>proxyHost<
 /p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><code>null</code></td><td colspan="1" rowspan="1" 
class="confluenceTd">Shared</td><td colspan="1" rowspan="1" 
class="confluenceTd"><strong>Camel 2.16</strong>: Specify a proxy host to be 
used inside the client definition.</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>proxyPort</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><code>null</code></td><td colspan="1" rowspan="1" 
class="confluenceTd">Shared</td><td colspan="1" rowspan="1" 
class="confluenceTd"><strong>Camel 2.16</strong>: Specify a proxy port to be 
used inside the client definition.</td></tr></tbody></table></div><div 
class="confluence-information-macro 
confluence-information-macro-information"><p class="title">Required SQS 
component options</p><span class="aui-icon aui-icon-small aui-iconfont-info 
confluence-information-macro-icon"></span><div 
class="confluence-information-macro-body"><p>You have to provide the 
amazonSQSClient in the <a sh
 ape="rect" href="registry.html">Registry</a> or your accessKey and secretKey 
to access the <a shape="rect" class="external-link" 
href="http://aws.amazon.com/sqs"; rel="nofollow">Amazon's 
SQS</a>.</p></div></div><h3 id="BookComponentAppendix-BatchConsumer">Batch 
Consumer</h3><p>This component implements the <a shape="rect" 
href="batch-consumer.html">Batch Consumer</a>.</p><p>This allows you for 
instance to know how many messages exists in this batch and for instance let 
the <a shape="rect" href="aggregator.html">Aggregator</a> aggregate this number 
of messages.</p><h3 id="BookComponentAppendix-Usage.1">Usage</h3><h4 
id="BookComponentAppendix-MessageheaderssetbytheSQSproducer">Message headers 
set by the SQS producer</h4><div class="table-wrap"><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>CamelAwsSqsMD5OfBody</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 MD5 checksum of the Amazon 
SQS message.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsSqsMessageId</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 Amazon SQS message 
ID.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsSqsDelaySeconds</code></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>Integer</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Since <strong>Camel 2.11</strong>, the 
delay seconds that the Amazon SQS message can be see by 
others.</p></td></tr></tbody></table></div><h4 
id="BookComponentAppendix-MessageheaderssetbytheSQSconsumer
 ">Message headers set by the SQS consumer</h4><div class="table-wrap"><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>CamelAwsSqsMD5OfBody</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 MD5 checksum of the Amazon 
SQS message.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsSqsMessageId</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 Amazon SQS message 
ID.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsSqsReceiptHandle</code></p></td><td 
colspan="1" r
 owspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>The Amazon SQS message receipt 
handle.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>CamelAwsSqsAttributes</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>Map&lt;String, 
String&gt;</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>The Amazon SQS message 
attributes.</p></td></tr></tbody></table></div><h4 
id="BookComponentAppendix-AdvancedAmazonSQSconfiguration">Advanced AmazonSQS 
configuration</h4><p>If your Camel Application is running behind a firewall or 
if you need to have more control over the AmazonSQS instance configuration, you 
can create your own instance:</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[AWSCredentials awsCredentials = new 
BasicAWSCredentials(&quot;myAccessKey&quot;, &quot;mySecretKey&quot;);
 
 ClientConfiguration clientConfiguration = new ClientConfiguration();
@@ -1075,11 +1085,11 @@ template.send(&quot;direct:alias-verify&
 ]]></script>
 </div></div><p></p><h3 id="BookComponentAppendix-SeeAlso.8">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="confluence-information-macro confluence-information-macro-note"><span 
class="aui-icon aui-icon-small aui-iconfont-warning 
confluence-information-macro-icon"></span><div 
class="confluence-information-macro-body"><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 cons
 ume 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="confluence-information-macro 
confluence-information-macro-tip"><span class="aui-icon aui-icon-small 
aui-iconfont-approve confluence-information-macro-icon"></span><div 
class="confluence-information-macro-body"><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><style type="text/css">/*<![CDATA[*/
-div.rbtoc1448918405194 {padding: 0px;}
-div.rbtoc1448918405194 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1448918405194 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1448990254545 {padding: 0px;}
+div.rbtoc1448990254545 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1448990254545 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1448918405194">
+/*]]>*/</style></p><div class="toc-macro rbtoc1448990254545">
 <ul class="toc-indentation"><li><a shape="rect" 
href="#BookComponentAppendix-CXFComponent">CXF Component</a>
 <ul class="toc-indentation"><li><a shape="rect" 
href="#BookComponentAppendix-URIformat">URI format</a></li><li><a shape="rect" 
href="#BookComponentAppendix-Options">Options</a>
 <ul class="toc-indentation"><li><a shape="rect" 
href="#BookComponentAppendix-Thedescriptionsofthedataformats">The descriptions 
of the dataformats</a>
@@ -2877,7 +2887,7 @@ The result of the operation will contain
 <div class="table-wrap"><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>definition</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>null</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> The flatpack pzmap configuration file. Can be omitted 
in simpler situations, but its preferred to use the pzmap. 
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>fixed</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>false</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> Delimited or fixed. </p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p> <code>ignoreFirstRecord</code> 
</p></td><td colspan="
 1" rowspan="1" class="confluenceTd"><p> <code>true</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> Whether the first line is 
ignored for delimited files (for the column headers). </p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p> <code>textQualifier</code> 
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>"</code> 
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> If the text is 
qualified with a char such as <code>"</code>. </p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>delimiter</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> <code>,</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> The delimiter char (could be 
<code>;</code> <code>,</code> or similar) </p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>parserFactory</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> <code>null</code> </p></td><td 
cols
 pan="1" rowspan="1" class="confluenceTd"><p> Uses the default Flatpack parser 
factory. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>allowShortLines</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.9.7 and 2.10.5 
onwards</strong>: Allows for lines to be shorter than expected and ignores the 
extra characters. </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>ignoreExtraColumns</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.9.7 and 2.10.5 onwards</strong>: Allows for lines to be longer than expected 
and ignores the extra characters. </p></td></tr></tbody></table></div>
 
 
-<h3 id="BookComponentAppendix-Usage.1">Usage</h3>
+<h3 id="BookComponentAppendix-Usage.2">Usage</h3>
 <p>To use the data format, simply instantiate an instance and invoke the 
marshal or unmarshal operation in the route builder:</p>
 <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[
@@ -5063,7 +5073,7 @@ We store big input streams (by default,
 </div></div><h3 id="BookComponentAppendix-URIformat.31">URI format</h3><div 
class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[jcr://user:password@repository/path/to/node
 ]]></script>
-</div></div><div class="confluence-information-macro 
confluence-information-macro-tip"><p class="title">Consumer added</p><span 
class="aui-icon aui-icon-small aui-iconfont-approve 
confluence-information-macro-icon"></span><div 
class="confluence-information-macro-body"><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"><div class="table-wrap"><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><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><code>CamelJcrNodeType</code></td><td colspan="1" 
rowspan="1" class="confluenceTd"><code>null</code></td><td colspan="1" 
rowspan="1" class="confluenceTd"><strong>Camel 2.16:</strong> To use a specify 
primary node type when creating adding a new 
node.</td></tr></tbody></table></div></div><p>When a message is sent to a JCR 
producer endpoint:</p><ul><li>If the operation is CamelJcrIn
 sert: A new node is created in the content repository, all the message headers 
of the IN message are transformed to <code><a shape="rect" 
class="external-link" 
href="http://www.day.com/specs/javax.jcr/javadocs/jcr-2.0/javax/jcr/Value.html"; 
rel="nofollow">javax.jcr.Value</a></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="confluence-information-macro 
confluence-information-macro-note"><span class="aui-icon aui-icon-small 
aui-iconfont-warning confluence-information-macro-icon"></span><div 
class="confluence-information-macro-body"><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;<a shape="rect" class="external-link" 
href="http://www.day.com/specs/javax.jcr/javadocs/jcr-2.0/javax/jcr/observation/Event.html";
 rel="nofollow">javax.jcr.observation.Event</a>&gt; in the message 
body.</p><div class="confluenceTableSmall"><div class="table-wrap"><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 a
 s 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="confluenceT
 d"><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</code>, 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" r
 owspan="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><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><span style="font-family: 
monospace;">username</span></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>&#160;</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><strong>Camel 2.15:</strong> Allows to specify the 
username as a uri parameter instead of in the authority section of the 
uri</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><span 
style="font-family: monospace;">password</span></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><strong>Camel 2.15:</strong> Allows to specify the 
password as a uri parameter instead of in the authority section of the 
uri</p></td></tr><tr><td colspan="1" rowspan="1" class="conflue
 nceTd"><p><span style="font-family: 
monospace;">workspaceName</span></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.16:</strong><span> Allows to specify a 
workspace different from 
default</span></p></td></tr></tbody></table></div></div><h3 
id="BookComponentAppendix-Example.2">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">
+</div></div><div class="confluence-information-macro 
confluence-information-macro-tip"><p class="title">Consumer added</p><span 
class="aui-icon aui-icon-small aui-iconfont-approve 
confluence-information-macro-icon"></span><div 
class="confluence-information-macro-body"><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.3">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"><div class="table-wrap"><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><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><code>CamelJcrNodeType</code></td><td colspan="1" 
rowspan="1" class="confluenceTd"><code>null</code></td><td colspan="1" 
rowspan="1" class="confluenceTd"><strong>Camel 2.16:</strong> To use a specify 
primary node type when creating adding a new 
node.</td></tr></tbody></table></div></div><p>When a message is sent to a JCR 
producer endpoint:</p><ul><li>If the operation is CamelJcrIn
 sert: A new node is created in the content repository, all the message headers 
of the IN message are transformed to <code><a shape="rect" 
class="external-link" 
href="http://www.day.com/specs/javax.jcr/javadocs/jcr-2.0/javax/jcr/Value.html"; 
rel="nofollow">javax.jcr.Value</a></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="confluence-information-macro 
confluence-information-macro-note"><span class="aui-icon aui-icon-small 
aui-iconfont-warning confluence-information-macro-icon"></span><div 
class="confluence-information-macro-body"><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;<a shape="rect" class="external-link" 
href="http://www.day.com/specs/javax.jcr/javadocs/jcr-2.0/javax/jcr/observation/Event.html";
 rel="nofollow">javax.jcr.observation.Event</a>&gt; in the message 
body.</p><div class="confluenceTableSmall"><div class="table-wrap"><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 a
 s 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="confluenceT
 d"><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</code>, 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" r
 owspan="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><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><span style="font-family: 
monospace;">username</span></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>&#160;</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><strong>Camel 2.15:</strong> Allows to specify the 
username as a uri parameter instead of in the authority section of the 
uri</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><span 
style="font-family: monospace;">password</span></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><strong>Camel 2.15:</strong> Allows to specify the 
password as a uri parameter instead of in the authority section of the 
uri</p></td></tr><tr><td colspan="1" rowspan="1" class="conflue
 nceTd"><p><span style="font-family: 
monospace;">workspaceName</span></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.16:</strong><span> Allows to specify a 
workspace different from 
default</span></p></td></tr></tbody></table></div></div><h3 
id="BookComponentAppendix-Example.2">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="brush: java; gutter: false; theme: Default" 
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>
@@ -5189,7 +5199,7 @@ from(&quot;direct:hello&quot;)
 </div></div><h3 id="BookComponentAppendix-URIformat.33">URI format</h3><div 
class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[jetty:http://hostname[:port][/resourceUri][?options]
 ]]></script>

[... 42 lines stripped ...]

Reply via email to