Author: buildbot
Date: Thu Jan 31 12:24:07 2013
New Revision: 848747

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/book-in-one-page.html
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/mongodb.html

Modified: websites/production/camel/content/book-in-one-page.html
==============================================================================
--- websites/production/camel/content/book-in-one-page.html (original)
+++ websites/production/camel/content/book-in-one-page.html Thu Jan 31 12:24:07 
2013
@@ -8385,6 +8385,19 @@ from(<span class="code-quote">"queue:foo
 </pre>
 </div></div>
 
+
+<h3><a shape="rect" 
name="BookInOnePage-Loadingscriptfromexternalresource"></a>Loading script from 
external resource</h3>
+<p><b>Available as of Camel 2.11</b></p>
+
+<p>You can externalize the script and have Camel load it from a resource such 
as <tt>"classpath:"</tt>, <tt>"file:"</tt>, or <tt>"http:"</tt>.<br 
clear="none">
+This is done using the following syntax: <tt>"resource:scheme:location"</tt>, 
eg to refer to a file on the classpath you can do:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-java">
+.setHeader(<span class="code-quote">"myHeader"</span>).jxpath(<span 
class="code-quote">"resource:classpath:myjxpath.txt"</span>)
+</pre>
+</div></div>
+
+
 <h3><a shape="rect" name="BookInOnePage-Dependencies"></a>Dependencies</h3>
 
 <p>To use JXpath in your camel routes you need to add the a dependency on 
<b>camel-jxpath</b> which implements the JXpath language. </p>
@@ -8446,6 +8459,18 @@ from(<span class="code-quote">"queue:foo
 </pre>
 </div></div>
 
+<h3><a shape="rect" 
name="BookInOnePage-Loadingscriptfromexternalresource"></a>Loading script from 
external resource</h3>
+<p><b>Available as of Camel 2.11</b></p>
+
+<p>You can externalize the script and have Camel load it from a resource such 
as <tt>"classpath:"</tt>, <tt>"file:"</tt>, or <tt>"http:"</tt>.<br 
clear="none">
+This is done using the following syntax: <tt>"resource:scheme:location"</tt>, 
eg to refer to a file on the classpath you can do:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-java">
+.setHeader(<span class="code-quote">"myHeader"</span>).mvel(<span 
class="code-quote">"resource:classpath:script.mvel"</span>)
+</pre>
+</div></div>
+
+
 <h3><a shape="rect" name="BookInOnePage-Dependencies"></a>Dependencies</h3>
 
 <p>To use Mvel in your camel routes you need to add the a dependency on 
<b>camel-mvel</b> which implements the Mvel language. </p>
@@ -8507,6 +8532,18 @@ from(<span class="code-quote">"queue:foo
 </pre>
 </div></div>
 
+<h3><a shape="rect" 
name="BookInOnePage-Loadingscriptfromexternalresource"></a>Loading script from 
external resource</h3>
+<p><b>Available as of Camel 2.11</b></p>
+
+<p>You can externalize the script and have Camel load it from a resource such 
as <tt>"classpath:"</tt>, <tt>"file:"</tt>, or <tt>"http:"</tt>.<br 
clear="none">
+This is done using the following syntax: <tt>"resource:scheme:location"</tt>, 
eg to refer to a file on the classpath you can do:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-java">
+.setHeader(<span class="code-quote">"myHeader"</span>).ognl(<span 
class="code-quote">"resource:classpath:myognl.txt"</span>)
+</pre>
+</div></div>
+
+
 <h3><a shape="rect" name="BookInOnePage-Dependencies"></a>Dependencies</h3>
 
 <p>To use OGNL in your camel routes you need to add the a dependency on 
<b>camel-ognl</b> which implements the OGNL language. </p>
@@ -8675,6 +8712,19 @@ For example to set a header name myHeade
 </pre>
 </div></div>
 
+
+<h3><a shape="rect" 
name="BookInOnePage-Loadingscriptfromexternalresource"></a>Loading script from 
external resource</h3>
+<p><b>Available as of Camel 2.11</b></p>
+
+<p>You can externalize the script and have Camel load it from a resource such 
as <tt>"classpath:"</tt>, <tt>"file:"</tt>, or <tt>"http:"</tt>.<br 
clear="none">
+This is done using the following syntax: <tt>"resource:scheme:location"</tt>, 
eg to refer to a file on the classpath you can do:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-java">
+.setHeader(<span class="code-quote">"myHeader"</span>).groovy(<span 
class="code-quote">"resource:classpath:mygroovy.groovy"</span>)
+</pre>
+</div></div>
+
+
 <h3><a shape="rect" name="BookInOnePage-Dependencies"></a>Dependencies</h3>
 
 <p>To use scripting languages in your camel routes you need to add the a 
dependency on <b>camel-script</b> which integrates the JSR-223 scripting 
engine. </p>
@@ -8826,6 +8876,19 @@ For example to set a header name myHeade
 </pre>
 </div></div>
 
+
+<h3><a shape="rect" 
name="BookInOnePage-Loadingscriptfromexternalresource"></a>Loading script from 
external resource</h3>
+<p><b>Available as of Camel 2.11</b></p>
+
+<p>You can externalize the script and have Camel load it from a resource such 
as <tt>"classpath:"</tt>, <tt>"file:"</tt>, or <tt>"http:"</tt>.<br 
clear="none">
+This is done using the following syntax: <tt>"resource:scheme:location"</tt>, 
eg to refer to a file on the classpath you can do:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-java">
+.setHeader(<span class="code-quote">"myHeader"</span>).groovy(<span 
class="code-quote">"resource:classpath:mygroovy.groovy"</span>)
+</pre>
+</div></div>
+
+
 <h3><a shape="rect" name="BookInOnePage-Dependencies"></a>Dependencies</h3>
 
 <p>To use scripting languages in your camel routes you need to add the a 
dependency on <b>camel-script</b> which integrates the JSR-223 scripting 
engine. </p>
@@ -8987,6 +9050,19 @@ For example to set a header name myHeade
 </pre>
 </div></div>
 
+
+<h3><a shape="rect" 
name="BookInOnePage-Loadingscriptfromexternalresource"></a>Loading script from 
external resource</h3>
+<p><b>Available as of Camel 2.11</b></p>
+
+<p>You can externalize the script and have Camel load it from a resource such 
as <tt>"classpath:"</tt>, <tt>"file:"</tt>, or <tt>"http:"</tt>.<br 
clear="none">
+This is done using the following syntax: <tt>"resource:scheme:location"</tt>, 
eg to refer to a file on the classpath you can do:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-java">
+.setHeader(<span class="code-quote">"myHeader"</span>).groovy(<span 
class="code-quote">"resource:classpath:mygroovy.groovy"</span>)
+</pre>
+</div></div>
+
+
 <h3><a shape="rect" name="BookInOnePage-Dependencies"></a>Dependencies</h3>
 
 <p>To use scripting languages in your camel routes you need to add the a 
dependency on <b>camel-script</b> which integrates the JSR-223 scripting 
engine. </p>
@@ -9140,6 +9216,19 @@ For example to set a header name myHeade
 </pre>
 </div></div>
 
+
+<h3><a shape="rect" 
name="BookInOnePage-Loadingscriptfromexternalresource"></a>Loading script from 
external resource</h3>
+<p><b>Available as of Camel 2.11</b></p>
+
+<p>You can externalize the script and have Camel load it from a resource such 
as <tt>"classpath:"</tt>, <tt>"file:"</tt>, or <tt>"http:"</tt>.<br 
clear="none">
+This is done using the following syntax: <tt>"resource:scheme:location"</tt>, 
eg to refer to a file on the classpath you can do:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-java">
+.setHeader(<span class="code-quote">"myHeader"</span>).groovy(<span 
class="code-quote">"resource:classpath:mygroovy.groovy"</span>)
+</pre>
+</div></div>
+
+
 <h3><a shape="rect" name="BookInOnePage-Dependencies"></a>Dependencies</h3>
 
 <p>To use scripting languages in your camel routes you need to add the a 
dependency on <b>camel-script</b> which integrates the JSR-223 scripting 
engine. </p>
@@ -9301,6 +9390,19 @@ For example to set a header name myHeade
 </pre>
 </div></div>
 
+
+<h3><a shape="rect" 
name="BookInOnePage-Loadingscriptfromexternalresource"></a>Loading script from 
external resource</h3>
+<p><b>Available as of Camel 2.11</b></p>
+
+<p>You can externalize the script and have Camel load it from a resource such 
as <tt>"classpath:"</tt>, <tt>"file:"</tt>, or <tt>"http:"</tt>.<br 
clear="none">
+This is done using the following syntax: <tt>"resource:scheme:location"</tt>, 
eg to refer to a file on the classpath you can do:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-java">
+.setHeader(<span class="code-quote">"myHeader"</span>).groovy(<span 
class="code-quote">"resource:classpath:mygroovy.groovy"</span>)
+</pre>
+</div></div>
+
+
 <h3><a shape="rect" name="BookInOnePage-Dependencies"></a>Dependencies</h3>
 
 <p>To use scripting languages in your camel routes you need to add the a 
dependency on <b>camel-script</b> which integrates the JSR-223 scripting 
engine. </p>
@@ -9432,6 +9534,19 @@ For example to set a header name myHeade
 </pre>
 </div></div>
 
+
+<h3><a shape="rect" 
name="BookInOnePage-Loadingscriptfromexternalresource"></a>Loading script from 
external resource</h3>
+<p><b>Available as of Camel 2.11</b></p>
+
+<p>You can externalize the script and have Camel load it from a resource such 
as <tt>"classpath:"</tt>, <tt>"file:"</tt>, or <tt>"http:"</tt>.<br 
clear="none">
+This is done using the following syntax: <tt>"resource:scheme:location"</tt>, 
eg to refer to a file on the classpath you can do:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-java">
+.setHeader(<span class="code-quote">"myHeader"</span>).groovy(<span 
class="code-quote">"resource:classpath:mygroovy.groovy"</span>)
+</pre>
+</div></div>
+
+
 <h3><a shape="rect" name="BookInOnePage-Dependencies"></a>Dependencies</h3>
 
 <p>To use scripting languages in your camel routes you need to add the a 
dependency on <b>camel-script</b> which integrates the JSR-223 scripting 
engine. </p>
@@ -9593,6 +9708,19 @@ For example to set a header name myHeade
 </pre>
 </div></div>
 
+
+<h3><a shape="rect" 
name="BookInOnePage-Loadingscriptfromexternalresource"></a>Loading script from 
external resource</h3>
+<p><b>Available as of Camel 2.11</b></p>
+
+<p>You can externalize the script and have Camel load it from a resource such 
as <tt>"classpath:"</tt>, <tt>"file:"</tt>, or <tt>"http:"</tt>.<br 
clear="none">
+This is done using the following syntax: <tt>"resource:scheme:location"</tt>, 
eg to refer to a file on the classpath you can do:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-java">
+.setHeader(<span class="code-quote">"myHeader"</span>).groovy(<span 
class="code-quote">"resource:classpath:mygroovy.groovy"</span>)
+</pre>
+</div></div>
+
+
 <h3><a shape="rect" name="BookInOnePage-Dependencies"></a>Dependencies</h3>
 
 <p>To use scripting languages in your camel routes you need to add the a 
dependency on <b>camel-script</b> which integrates the JSR-223 scripting 
engine. </p>
@@ -9613,7 +9741,7 @@ For example to set a header name myHeade
 <p>The Simple Expression Language was a really simple language you can use, 
but has since grown more powerful. Its primarily intended for being a really 
small and simple language for evaluating <a shape="rect" href="expression.html" 
title="Expression">Expression</a> and <a shape="rect" href="predicate.html" 
title="Predicate">Predicate</a> without requiring any new dependencies or 
knowledge of <a shape="rect" href="xpath.html" title="XPath">XPath</a>; so its 
ideal for testing in camel-core. Its ideal to cover 95% of the common use cases 
when you need a little bit of expression based script in your Camel routes.</p>
 
 <p>However for much more complex use cases you are generally recommended to 
choose a more expressive and powerful language such as: </p>
-<ul><li><a shape="rect" href="javascript.html" 
title="JavaScript">JavaScript</a></li><li><a shape="rect" href="el.html" 
title="EL">EL</a></li><li><a shape="rect" href="ognl.html" 
title="OGNL">OGNL</a></li><li><a shape="rect" href="mvel.html" 
title="Mvel">Mvel</a></li><li><a shape="rect" href="groovy.html" 
title="Groovy">Groovy</a></li><li>one of the supported <a shape="rect" 
href="scripting-languages.html" title="Scripting Languages">Scripting 
Languages</a></li></ul>
+<ul><li><a shape="rect" href="spel.html" title="SpEL">SpEL</a></li><li><a 
shape="rect" href="mvel.html" title="Mvel">Mvel</a></li><li><a shape="rect" 
href="groovy.html" title="Groovy">Groovy</a></li><li><a shape="rect" 
href="javascript.html" title="JavaScript">JavaScript</a></li><li><a 
shape="rect" href="el.html" title="EL">EL</a></li><li><a shape="rect" 
href="ognl.html" title="OGNL">OGNL</a></li><li>one of the supported <a 
shape="rect" href="scripting-languages.html" title="Scripting 
Languages">Scripting Languages</a></li></ul>
 
 
 <p>The simple language uses <tt>${body</tt>} placeholders for complex 
expressions where the expression contains constant literals. The ${ } 
placeholders can be omitted if the expression is only the token itself.</p>
@@ -10074,6 +10202,17 @@ If the header is not convertible to Map 
 <p>Notice by changing the start/end token you change those in all the Camel 
applications which share the same <b>camel-core</b> on their classpath.<br 
clear="none">
 For example in an OSGi server this may affect many applications, where as a 
Web Application as a WAR file it only affects the Web Application.</p>
 
+<h3><a shape="rect" 
name="BookInOnePage-Loadingscriptfromexternalresource"></a>Loading script from 
external resource</h3>
+<p><b>Available as of Camel 2.11</b></p>
+
+<p>You can externalize the script and have Camel load it from a resource such 
as <tt>"classpath:"</tt>, <tt>"file:"</tt>, or <tt>"http:"</tt>.<br 
clear="none">
+This is done using the following syntax: <tt>"resource:scheme:location"</tt>, 
eg to refer to a file on the classpath you can do:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-java">
+.setHeader(<span class="code-quote">"myHeader"</span>).simple(<span 
class="code-quote">"resource:classpath:mysimple.txt"</span>)
+</pre>
+</div></div>
+
 <h3><a shape="rect" name="BookInOnePage-Dependencies"></a>Dependencies</h3>
 <p>The <a shape="rect" href="simple.html" title="Simple">Simple</a> language 
is part of <b>camel-core</b>.</p>
 <h2><a shape="rect" name="BookInOnePage-FileExpressionLanguage"></a>File 
Expression Language</h2>
@@ -10257,6 +10396,18 @@ from(<span class="code-quote">"queue:foo
 </div>
 
 
+<h3><a shape="rect" 
name="BookInOnePage-Loadingscriptfromexternalresource"></a>Loading script from 
external resource</h3>
+<p><b>Available as of Camel 2.11</b></p>
+
+<p>You can externalize the script and have Camel load it from a resource such 
as <tt>"classpath:"</tt>, <tt>"file:"</tt>, or <tt>"http:"</tt>.<br 
clear="none">
+This is done using the following syntax: <tt>"resource:scheme:location"</tt>, 
eg to refer to a file on the classpath you can do:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-java">
+.setHeader(<span class="code-quote">"myHeader"</span>).sql(<span 
class="code-quote">"resource:classpath:mysql.sql"</span>)
+</pre>
+</div></div>
+
+
 <h2><a shape="rect" name="BookInOnePage-XPath"></a>XPath</h2>
 
 <p>Camel supports <a shape="rect" class="external-link" 
href="http://www.w3.org/TR/xpath"; rel="nofollow">XPath</a> to allow an <a 
shape="rect" href="expression.html" title="Expression">Expression</a> or <a 
shape="rect" href="predicate.html" title="Predicate">Predicate</a> to be used 
in the <a shape="rect" href="dsl.html" title="DSL">DSL</a> or <a shape="rect" 
href="xml-configuration.html" title="Xml Configuration">Xml Configuration</a>. 
For example you could use XPath to create an <a shape="rect" 
href="predicate.html" title="Predicate">Predicate</a> in a <a shape="rect" 
href="message-filter.html" title="Message Filter">Message Filter</a> or as an 
<a shape="rect" href="expression.html" title="Expression">Expression</a> for a 
<a shape="rect" href="recipient-list.html" title="Recipient List">Recipient 
List</a>.</p>
@@ -10757,6 +10908,17 @@ XPathBuilder.xpath(<span class="code-quo
 </pre>
 </div></div>
 
+<h3><a shape="rect" 
name="BookInOnePage-Loadingscriptfromexternalresource"></a>Loading script from 
external resource</h3>
+<p><b>Available as of Camel 2.11</b></p>
+
+<p>You can externalize the script and have Camel load it from a resource such 
as <tt>"classpath:"</tt>, <tt>"file:"</tt>, or <tt>"http:"</tt>.<br 
clear="none">
+This is done using the following syntax: <tt>"resource:scheme:location"</tt>, 
eg to refer to a file on the classpath you can do:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-java">
+.setHeader(<span class="code-quote">"myHeader"</span>).xpath(<span 
class="code-quote">"resource:classpath:myxpath.txt"</span>, <span 
class="code-object">String</span>.class)
+</pre>
+</div></div>
+
 <h3><a shape="rect" name="BookInOnePage-Dependencies"></a>Dependencies</h3>
 <p>The XPath language is part of camel-core.</p>
 <h2><a shape="rect" name="BookInOnePage-XQuery"></a>XQuery</h2>
@@ -10880,6 +11042,17 @@ from(<span class="code-quote">"direct:st
 
 <p>You might also find the <a shape="rect" class="external-link" 
href="http://www.w3.org/TR/xpath-functions/"; rel="nofollow">XQuery function 
reference</a> useful</p>
 
+<h3><a shape="rect" 
name="BookInOnePage-Loadingscriptfromexternalresource"></a>Loading script from 
external resource</h3>
+<p><b>Available as of Camel 2.11</b></p>
+
+<p>You can externalize the script and have Camel load it from a resource such 
as <tt>"classpath:"</tt>, <tt>"file:"</tt>, or <tt>"http:"</tt>.<br 
clear="none">
+This is done using the following syntax: <tt>"resource:scheme:location"</tt>, 
eg to refer to a file on the classpath you can do:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-java">
+.setHeader(<span class="code-quote">"myHeader"</span>).xquery(<span 
class="code-quote">"resource:classpath:myxquery.txt"</span>, <span 
class="code-object">String</span>.class)
+</pre>
+</div></div>
+
 <h3><a shape="rect" name="BookInOnePage-Dependencies"></a>Dependencies</h3>
 
 <p>To use XQuery in your camel routes you need to add the a dependency on 
<b>camel-saxon</b> which implements the XQuery language. </p>

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

Modified: websites/production/camel/content/mongodb.html
==============================================================================
--- websites/production/camel/content/mongodb.html (original)
+++ websites/production/camel/content/mongodb.html Thu Jan 31 12:24:07 2013
@@ -116,7 +116,7 @@ mongodb:connectionBean?database=database
 <div class="table-wrap">
 <table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"> Name </th><th colspan="1" rowspan="1" 
class="confluenceTh"> Default Value </th><th colspan="1" rowspan="1" 
class="confluenceTh"> Description </th><th colspan="1" rowspan="1" 
class="confluenceTh"> Producer </th><th colspan="1" rowspan="1" 
class="confluenceTh"> Tailable Cursor Consumer </th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>database</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> none </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <b>Required.</b> The name of the database to which this 
endpoint will be bound. All operations will be executed against this database 
unless dynamicity is enabled and the&#160;<tt>CamelMongoDbDatabase</tt> header 
is set. </td><td colspan="1" rowspan="1" class="confluenceTd"> <img 
align="middle" class="emoticon" 
src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif"; 
height="16" width="16" alt=
 "" border="0"> </td><td colspan="1" rowspan="1" class="confluenceTd"> <img 
align="middle" class="emoticon" 
src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif"; 
height="16" width="16" alt="" border="0"> </td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>collection</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> none </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <b>Required.</b> The name of the collection (within the 
specified database) to which this endpoint will be bound.&#160;All operations 
will be executed against this database unless dynamicity is enabled and 
the&#160;<tt>CamelMongoDbDatabase</tt> header is set. </td><td colspan="1" 
rowspan="1" class="confluenceTd"> <img align="middle" class="emoticon" 
src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif"; 
height="16" width="16" alt="" border="0"> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <img align="middle" class="emoticon" src="
 https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif"; 
height="16" width="16" alt="" border="0"> </td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>operation</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> none </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <b>Required for producers.</b> The id of the operation 
this endpoint will execute. Pick from the following:
 <ul><li>Query operations: <tt>findById</tt>, <tt>findOneByQuery</tt>, 
<tt>findAll</tt>, <tt>count</tt></li><li>Write operations: <tt>insert</tt>, 
<tt>save</tt>, <tt>update</tt></li><li>Delete operations: 
<tt>remove</tt></li><li>Other operations: <tt>getDbStats</tt>, 
<tt>getColStats</tt></li></ul>
-</td><td colspan="1" rowspan="1" class="confluenceTd"> <img align="middle" 
class="emoticon" 
src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif"; 
height="16" width="16" alt="" border="0"> </td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>createCollection</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> true </td><td colspan="1" rowspan="1" 
class="confluenceTd"> Determines whether the collection will be automatically 
created in the MongoDB database during endpoint initialisation if it doesn't 
exist already. If this option is <tt>false</tt> and the collection doesn't 
exist, an initialisation exception will be thrown. </td><td colspan="1" 
rowspan="1" class="confluenceTd"> <img align="middle" class="emoticon" 
src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif"; 
height="16" width="16" alt="" border="0"> </td><td colspan="1" rowspan="1" 
class="conflue
 nceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>invokeGetLastError</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> false (behaviour may be inherited from connections 
WriteConcern) </td><td colspan="1" rowspan="1" class="confluenceTd"> Instructs 
the MongoDB Java driver to invoke <tt>getLastError()</tt> after every call. 
Default behaviour in version 2.7.2 of the MongoDB Java driver is that only 
network errors will cause the operation to fail, because the actual operation 
is executed asynchronously in the MongoDB server without holding up the client 
- to increase performance. The client can obtain the real result of the 
operation by explicitly invoking <tt>getLastError()</tt> on the 
<tt>WriteResult</tt> object returned or by setting the appropriate 
<tt>WriteConcern</tt>. If the backend operation has not finished yet, the 
client will block until the result is available. Setting this option to 
<tt>true</tt> will make the endpoint behav
 e synchronously and return an Exception if the underlying operation failed. 
</td><td colspan="1" rowspan="1" class="confluenceTd"> <img align="middle" 
class="emoticon" 
src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif"; 
height="16" width="16" alt="" border="0"> </td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>writeConcern</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> none (driver's default) </td><td colspan="1" rowspan="1" 
class="confluenceTd"> Set a <tt>WriteConcern</tt> on the operation out of 
MongoDB's parameterised values. See <a shape="rect" class="external-link" 
href="http://api.mongodb.org/java/current/com/mongodb/WriteConcern.html#valueOf(java.lang.String)"
 rel="nofollow">WriteConcern.valueOf(String)</a>. </td><td colspan="1" 
rowspan="1" class="confluenceTd"> <img align="middle" class="emoticon" 
src="https://cwiki.apache.org/confluence/images/icons/emot
 icons/check.gif" height="16" width="16" alt="" border="0"> </td><td 
colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"> <tt>writeConcernRef</tt> </td><td 
colspan="1" rowspan="1" class="confluenceTd"> none </td><td colspan="1" 
rowspan="1" class="confluenceTd"> Sets a custom <tt>WriteConcern</tt> that 
exists in the Registry. Specify the bean name. </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <img align="middle" class="emoticon" 
src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif"; 
height="16" width="16" alt="" border="0"> </td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>readPreference</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> none </td><td colspan="1" rowspan="1" 
class="confluenceTd"> Sets a <tt>ReadPreference</tt> on the connection. 
Accepted values: the name of any inner subclass of <a sh
 ape="rect" class="external-link" 
href="http://api.mongodb.org/java/current/com/mongodb/ReadPreference.html"; 
rel="nofollow">ReadPreference</a>. For example: <tt>PrimaryReadPreference</tt>, 
<tt>SecondaryReadPreference</tt>, <tt>TaggedReadPreference</tt>. </td><td 
colspan="1" rowspan="1" class="confluenceTd"> <img align="middle" 
class="emoticon" 
src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif"; 
height="16" width="16" alt="" border="0"> </td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>dynamicity</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> false </td><td colspan="1" rowspan="1" 
class="confluenceTd"> If set to true, the endpoint will inspect the 
<tt>CamelMongoDbDatabase</tt> and <tt>CamelMongoDbCollection</tt> headers of 
the incoming message, and if any of them exists, the target collection and/or 
database will be overridden for that particular operation. Set to 
 false by default to avoid triggering the lookup on every Exchange if the 
feature is not desired. </td><td colspan="1" rowspan="1" class="confluenceTd"> 
<img align="middle" class="emoticon" 
src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif"; 
height="16" width="16" alt="" border="0"> </td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>persistentTailTracking</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> false </td><td colspan="1" rowspan="1" 
class="confluenceTd"> Enables or disables persistent tail tracking for Tailable 
Cursor consumers. See below for more information. </td><td colspan="1" 
rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd"> <img align="middle" class="emoticon" 
src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif"; 
height="16" width="16" alt="" border="0"> </td></tr><tr><td colspan="1" rows
 pan="1" class="confluenceTd"> <tt>persistentId</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> none </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <b>Required if persistent tail tracking is enabled.</b> 
The id of this persistent tail tracker, to separate its records from the rest 
on the tail-tracking collection. </td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd"> <img align="middle" class="emoticon" 
src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif"; 
height="16" width="16" alt="" border="0"> </td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>tailTrackingIncreasingField</tt> </td><td 
colspan="1" rowspan="1" class="confluenceTd"> none </td><td colspan="1" 
rowspan="1" class="confluenceTd"> <b>Required if persistent tail tracking is 
enabled.</b> Correlation field in the incoming record which is of increasing 
nature and will be used to position the tailing cu
 rsor every time it is generated. The cursor will be (re)created with a query 
of type: tailTrackIncreasingField &gt; lastValue (where lastValue is possibly 
recovered from persistent tail tracking). Can be of type Integer, Date, String, 
etc. NOTE: No support for dot notation at the current time, so the field should 
be at the top level of the document. </td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd"> <img align="middle" class="emoticon" 
src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif"; 
height="16" width="16" alt="" border="0"> </td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>cursorRegenerationDelay</tt> </td><td 
colspan="1" rowspan="1" class="confluenceTd"> 1000ms </td><td colspan="1" 
rowspan="1" class="confluenceTd"> Establishes how long the endpoint will wait 
to regenerate the cursor after it has been killed by the MongoDB server (normal 
behaviour). </td><td colspan="
 1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd"> <img align="middle" class="emoticon" 
src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif"; 
height="16" width="16" alt="" border="0"> </td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>tailTrackDb</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> same as endpoint's </td><td colspan="1" 
rowspan="1" class="confluenceTd"> Database on which the persistent tail tracker 
will store its runtime information. </td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd"> <img align="middle" class="emoticon" 
src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif"; 
height="16" width="16" alt="" border="0"> </td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>tailTrackCollection</tt> </td><td 
colspan="1" rowspan="1" class="confluenceTd"> camelTailTracking </td><t
 d colspan="1" rowspan="1" class="confluenceTd"> Collection on which the 
persistent tail tracker will store its runtime information. </td><td 
colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" 
rowspan="1" class="confluenceTd"> <img align="middle" class="emoticon" 
src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif"; 
height="16" width="16" alt="" border="0"> </td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>tailTrackField</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> lastTrackingValue </td><td colspan="1" 
rowspan="1" class="confluenceTd"> Field in which the persistent tail tracker 
will store the last tracked value. </td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd"> <img align="middle" class="emoticon" 
src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif"; 
height="16" width="16" alt="" border="0"> </td></tr></tbody></table
 >
+</td><td colspan="1" rowspan="1" class="confluenceTd"> <img align="middle" 
class="emoticon" 
src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif"; 
height="16" width="16" alt="" border="0"> </td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>createCollection</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> true </td><td colspan="1" rowspan="1" 
class="confluenceTd"> Determines whether the collection will be automatically 
created in the MongoDB database during endpoint initialisation if it doesn't 
exist already. If this option is <tt>false</tt> and the collection doesn't 
exist, an initialisation exception will be thrown. </td><td colspan="1" 
rowspan="1" class="confluenceTd"> <img align="middle" class="emoticon" 
src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif"; 
height="16" width="16" alt="" border="0"> </td><td colspan="1" rowspan="1" 
class="conflue
 nceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>invokeGetLastError</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> false (behaviour may be inherited from connections 
WriteConcern) </td><td colspan="1" rowspan="1" class="confluenceTd"> Instructs 
the MongoDB Java driver to invoke <tt>getLastError()</tt> after every call. 
Default behaviour in version 2.7.2 of the MongoDB Java driver is that only 
network errors will cause the operation to fail, because the actual operation 
is executed asynchronously in the MongoDB server without holding up the client 
- to increase performance. The client can obtain the real result of the 
operation by explicitly invoking <tt>getLastError()</tt> on the 
<tt>WriteResult</tt> object returned or by setting the appropriate 
<tt>WriteConcern</tt>. If the backend operation has not finished yet, the 
client will block until the result is available. Setting this option to 
<tt>true</tt> will make the endpoint behav
 e synchronously and return an Exception if the underlying operation failed. 
</td><td colspan="1" rowspan="1" class="confluenceTd"> <img align="middle" 
class="emoticon" 
src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif"; 
height="16" width="16" alt="" border="0"> </td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>writeConcern</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> none (driver's default) </td><td colspan="1" rowspan="1" 
class="confluenceTd"> Set a <tt>WriteConcern</tt> on the operation out of 
MongoDB's parameterised values. See <a shape="rect" class="external-link" 
href="http://api.mongodb.org/java/current/com/mongodb/WriteConcern.html#valueOf(java.lang.String)"
 rel="nofollow">WriteConcern.valueOf(String)</a>. </td><td colspan="1" 
rowspan="1" class="confluenceTd"> <img align="middle" class="emoticon" 
src="https://cwiki.apache.org/confluence/images/icons/emot
 icons/check.gif" height="16" width="16" alt="" border="0"> </td><td 
colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"> <tt>writeConcernRef</tt> </td><td 
colspan="1" rowspan="1" class="confluenceTd"> none </td><td colspan="1" 
rowspan="1" class="confluenceTd"> Sets a custom <tt>WriteConcern</tt> that 
exists in the Registry. Specify the bean name. </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <img align="middle" class="emoticon" 
src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif"; 
height="16" width="16" alt="" border="0"> </td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>readPreference</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> none </td><td colspan="1" rowspan="1" 
class="confluenceTd"> Sets a <tt>ReadPreference</tt> on the connection. 
Accepted values: the name of any inner subclass of <a sh
 ape="rect" class="external-link" 
href="http://api.mongodb.org/java/current/com/mongodb/ReadPreference.html"; 
rel="nofollow">ReadPreference</a>. For example: <tt>PrimaryReadPreference</tt>, 
<tt>SecondaryReadPreference</tt>, <tt>TaggedReadPreference</tt>. </td><td 
colspan="1" rowspan="1" class="confluenceTd"> <img align="middle" 
class="emoticon" 
src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif"; 
height="16" width="16" alt="" border="0"> </td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>dynamicity</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> false </td><td colspan="1" rowspan="1" 
class="confluenceTd"> If set to true, the endpoint will inspect the 
<tt>CamelMongoDbDatabase</tt> and <tt>CamelMongoDbCollection</tt> headers of 
the incoming message, and if any of them exists, the target collection and/or 
database will be overridden for that particular operation. Set to 
 false by default to avoid triggering the lookup on every Exchange if the 
feature is not desired. </td><td colspan="1" rowspan="1" class="confluenceTd"> 
<img align="middle" class="emoticon" 
src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif"; 
height="16" width="16" alt="" border="0"> </td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>writeResultAsHeader</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> false </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <b>Available as of Camel 2.10.3 and 2.11:</b> In write 
operations (save, update, insert, etc.), instead of replacing the body with the 
WriteResult object returned by MongoDB, keep the input body untouched and place 
the WriteResult in the <tt>CamelMongoWriteResult</tt> header (constant 
<tt>MongoDbConstants.WRITERESULT</tt>). </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <img align="middle" class="emotic
 on" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif"; 
height="16" width="16" alt="" border="0"> </td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>persistentTailTracking</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> false </td><td colspan="1" rowspan="1" 
class="confluenceTd"> Enables or disables persistent tail tracking for Tailable 
Cursor consumers. See below for more information. </td><td colspan="1" 
rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd"> <img align="middle" class="emoticon" 
src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif"; 
height="16" width="16" alt="" border="0"> </td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>persistentId</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> none </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <b>Required if per
 sistent tail tracking is enabled.</b> The id of this persistent tail tracker, 
to separate its records from the rest on the tail-tracking collection. </td><td 
colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" 
rowspan="1" class="confluenceTd"> <img align="middle" class="emoticon" 
src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif"; 
height="16" width="16" alt="" border="0"> </td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>tailTrackingIncreasingField</tt> </td><td 
colspan="1" rowspan="1" class="confluenceTd"> none </td><td colspan="1" 
rowspan="1" class="confluenceTd"> <b>Required if persistent tail tracking is 
enabled.</b> Correlation field in the incoming record which is of increasing 
nature and will be used to position the tailing cursor every time it is 
generated. The cursor will be (re)created with a query of type: 
tailTrackIncreasingField &gt; lastValue (where lastValue is possibly recovered 
from persistent tail
  tracking). Can be of type Integer, Date, String, etc. NOTE: No support for 
dot notation at the current time, so the field should be at the top level of 
the document. </td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd"> <img align="middle" class="emoticon" 
src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif"; 
height="16" width="16" alt="" border="0"> </td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>cursorRegenerationDelay</tt> </td><td 
colspan="1" rowspan="1" class="confluenceTd"> 1000ms </td><td colspan="1" 
rowspan="1" class="confluenceTd"> Establishes how long the endpoint will wait 
to regenerate the cursor after it has been killed by the MongoDB server (normal 
behaviour). </td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd"> <img align="middle" class="emoticon" 
src="https://cwiki.apache.org/confluence/images/ico
 ns/emoticons/check.gif" height="16" width="16" alt="" border="0"> 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>tailTrackDb</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 
same as endpoint's </td><td colspan="1" rowspan="1" class="confluenceTd"> 
Database on which the persistent tail tracker will store its runtime 
information. </td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd"> <img align="middle" class="emoticon" 
src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif"; 
height="16" width="16" alt="" border="0"> </td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>tailTrackCollection</tt> </td><td 
colspan="1" rowspan="1" class="confluenceTd"> camelTailTracking </td><td 
colspan="1" rowspan="1" class="confluenceTd"> Collection on which the 
persistent tail tracker will store its runtime information. </td><td 
colspan="1" rowspan="1" class="confluenceTd"
 >&#160;</td><td colspan="1" rowspan="1" class="confluenceTd"> <img 
 >align="middle" class="emoticon" 
 >src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif"; 
 >height="16" width="16" alt="" border="0"> </td></tr><tr><td colspan="1" 
 >rowspan="1" class="confluenceTd"> <tt>tailTrackField</tt> </td><td 
 >colspan="1" rowspan="1" class="confluenceTd"> lastTrackingValue </td><td 
 >colspan="1" rowspan="1" class="confluenceTd"> Field in which the persistent 
 >tail tracker will store the last tracked value. </td><td colspan="1" 
 >rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
 >class="confluenceTd"> <img align="middle" class="emoticon" 
 >src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif"; 
 >height="16" width="16" alt="" border="0"> </td></tr></tbody></table>
 </div>
 
 
@@ -469,7 +469,7 @@ from(<span class="code-quote">"mongodb:m
 <div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
 <pre class="code-java">
 from(<span 
class="code-quote">"mongodb:myDb?database=flights&amp;collection=cancellations&amp;tailTrackIncreasingField=departureTime&amp;persistentTailTracking=<span
 class="code-keyword">true</span>"</span> + 
-     <span 
class="code-quote">"&amp;persistentId=cancellationsTracker"</span>&amp;tailTrackDb=trackers&amp;tailTrackCollection=camelTrackers"
 + 
+     <span 
class="code-quote">"&amp;persistentId=cancellationsTracker&amp;tailTrackDb=trackers&amp;tailTrackCollection=camelTrackers"</span>
 + 
      <span 
class="code-quote">"&amp;tailTrackField=lastProcessedDepartureTime"</span>)
        .id(<span class="code-quote">"tailableCursorConsumer3"</span>)
        .autoStartup(<span class="code-keyword">false</span>)


Reply via email to