You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bu...@apache.org on 2015/11/18 10:22:22 UTC

svn commit: r972830 - in /websites/production/camel/content: amqp.html book-component-appendix.html book-dataformat-appendix.html book-in-one-page.html cache/main.pageCache twitter.html xstream.html

Author: buildbot
Date: Wed Nov 18 09:22:21 2015
New Revision: 972830

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-dataformat-appendix.html
    websites/production/camel/content/book-in-one-page.html
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/twitter.html
    websites/production/camel/content/xstream.html

Modified: websites/production/camel/content/amqp.html
==============================================================================
--- websites/production/camel/content/amqp.html (original)
+++ websites/production/camel/content/amqp.html Wed Nov 18 09:22:21 2015
@@ -95,7 +95,7 @@
 </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">
+</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;
         &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;
@@ -104,7 +104,7 @@
            &lt;/bean&gt;
         &lt;/property&gt;
     &lt;/bean&gt;]]></script>
-</div></div><p>&#160;</p><p>Starting from the Camel 2.16.1 you can also use the AMQP<code>Component#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">
+</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>&#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>

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 Wed Nov 18 09:22:21 2015
@@ -218,7 +218,7 @@ 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">
+</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;
         &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;
@@ -227,7 +227,7 @@ droppable = false}
            &lt;/bean&gt;
         &lt;/property&gt;
     &lt;/bean&gt;]]></script>
-</div></div><p>&#160;</p><p>Starting from the Camel 2.16.1 you can also use the AMQP<code>Component#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">
+</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>&#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">
@@ -1075,11 +1075,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.rbtoc1447406343557 {padding: 0px;}
-div.rbtoc1447406343557 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1447406343557 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1447838278782 {padding: 0px;}
+div.rbtoc1447838278782 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1447838278782 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1447406343557">
+/*]]>*/</style></p><div class="toc-macro rbtoc1447838278782">
 <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>

Modified: websites/production/camel/content/book-dataformat-appendix.html
==============================================================================
--- websites/production/camel/content/book-dataformat-appendix.html (original)
+++ websites/production/camel/content/book-dataformat-appendix.html Wed Nov 18 09:22:21 2015
@@ -386,14 +386,14 @@ from(&quot;direct:marshal&quot;).
   marshal().xstream(&quot;UTF-8&quot;).
   to(&quot;mqseries:Another.Queue&quot;);
 ]]></script>
-</div></div><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p></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;camelContext id=&quot;camel&quot; xmlns=&quot;http://camel.apache.org/schema/spring&quot;&gt;
     
     &lt;!-- we define the json xstream data formats to be used (xstream is default) --&gt;
     &lt;dataFormats&gt;
-        &lt;xstream id=&quot;xstream-utf8&quot; encoding=&quot;UTF-8&quot;/&gt;
-        &lt;xstream id=&quot;xstream-default&quot;/&gt;
+        &lt;xstream id=&quot;xstream-utf8&quot; encoding=&quot;UTF-8&quot; permissions=&quot;org.apache.camel.dataformat.stream.*&quot;/&gt;
+        &lt;xstream id=&quot;xstream-default&quot; permissions=&quot;org.apache.camel.dataformat.stream.*&quot;/&gt;
     &lt;/dataFormats&gt;
 
     &lt;route&gt;
@@ -410,6 +410,14 @@ from(&quot;direct:marshal&quot;).
 
 &lt;/camelContext&gt;
 ]]></script>
+</div></div><h3 id="BookDataFormatAppendix-SettingthetypepermissionsofXstreamDataFormat">Setting the type permissions of Xstream DataFormat</h3><p>In Camel, one can always use its own processing step in the route to filter and block certain XML documents to be routed to the XStream's unmarhall step. From Camel 2.16.1, 2.15.5, you can set&#160;<a shape="rect" class="external-link" href="http://x-stream.github.io/security.html" rel="nofollow">XStream's type permissions</a>&#160;to automatically allow or deny the instantiation of certain types.</p><p>The default type permissions setting used by Camel denies all types except for those from java.lang and java.util packages. This setting can be changed by setting System property org.apache.camel.xstream.permissions. Its value is a string of comma-separated permission terms, each representing a type being allowed or denied, depending on whether the term is prefixed with '+' (note '+' may be omitted) or with '-', respectively.</p><p>Each te
 rm may contain a wildcard character '*'. For example, value "-*,java.lang.*,java.util.*" indicates denying all types except for java.lang.* and java.util.* classes. Setting this value to an empty string "" reverts to the default XStream's type permissions handling which denies certain blacklisted classes and allow others.</p><p>The type permissions setting can be extended at an individual XStream DataFormat instance by setting its type permissions property.</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;dataFormats&gt;
+        &lt;xstream id=&quot;xstream-default&quot; 
+                 permissions=&quot;org.apache.camel.samples.xstream.*&quot;/&gt;
+        ...
+
+
+]]></script>
 </div></div>
 <h2 id="BookDataFormatAppendix-CSV">CSV</h2><p>The CSV <a shape="rect" href="data-format.html">Data Format</a> uses <a shape="rect" class="external-link" href="http://commons.apache.org/proper/commons-csv/">Apache Commons CSV</a> to handle CSV payloads (Comma Separated Values) such as those exported/imported by Excel.</p><p>As of Camel 2.15.0, it now uses the&#160;<a shape="rect" class="external-link" href="http://commons.apache.org/proper/commons-csv/archives/1.1/index.html">Apache Commons CSV 1.1</a> which is based on a completely different set of options.</p><h3 id="BookDataFormatAppendix-AvailableoptionsuntilCamel2.15">Available options until Camel 2.15</h3><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>Type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"
 ><p>config</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>CSVConfig</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Can be used to set a custom <code>CSVConfig</code> object.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>strategy</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>CSVStrategy</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Can be used to set a custom <code>CSVStrategy</code>; the default is <code>CSVStrategy.DEFAULT_STRATEGY</code>.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>autogenColumns</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>boolean</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Whether or not columns are auto-generated in the resulting CSV. The default value is <code>true</code>; subsequent messages use the previously created columns with new fields being added at the end of the line.</p></td></tr><tr><td colspan="1" rowspan="1" class="
 confluenceTd"><p>delimiter</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>String</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.4:</strong> The column delimiter to use; the default value is "<code>,</code>".</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>skipFirstLine</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>boolean</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.10:</strong> Whether or not to skip the first line of CSV input when unmarshalling (e.g. if the content has headers on the first line); the default value is <code>false</code>.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">lazyLoad</td><td colspan="1" rowspan="1" class="confluenceTd">boolean</td><td colspan="1" rowspan="1" class="confluenceTd"><strong>Camel 2.12.2:</strong><span><span>&#160;Whether or not to </span></span><span style="line-height: 1.4285715;">Sequential access CSV input through 
 an iterator which could avoid OOM exception when processing huge CSV file; </span><span>the default value is false </span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">useMaps</td><td colspan="1" rowspan="1" class="confluenceTd">boolean</td><td colspan="1" rowspan="1" class="confluenceTd"><strong>Camel 2.13:</strong> Whether to use List&lt;Map&gt; when unmarshalling instead of List&lt;List&gt;.</td></tr></tbody></table></div><h3 id="BookDataFormatAppendix-AvailableoptionsasofCamel2.15">Available options as of Camel 2.15</h3><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh">Option</th><th colspan="1" rowspan="1" class="confluenceTh">Type</th><th colspan="1" rowspan="1" class="confluenceTh">Description</th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><code>format</code></td><td colspan="1" rowspan="1" class="confluenceTd"><code>CSVFormat</code></td><td colspan="1" rowspan="1" class="confluen
 ceTd">The reference format to use, it will be updated with the other format options, the default value is <code>CSVFormat.DEFAULT</code></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><code>commentMarkerDisabled</code></td><td colspan="1" rowspan="1" class="confluenceTd"><code>boolean</code></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Disables the comment marker of the reference format.</p><p>This option is <code>false</code> by default.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><code>commentMarker</code></td><td colspan="1" rowspan="1" class="confluenceTd"><code>Character</code></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Overrides the comment marker of the reference format.</p><p>This option is <code>null</code> by default. When <code>null</code> it keeps the value of the reference format which is <code>null</code> for <code>CSVFormat.DEFAULT</code>.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><co
 de>delimiter</code></td><td colspan="1" rowspan="1" class="confluenceTd"><code>Character</code></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Overrides the delimiter of the reference format.</p><p>This option is <code>null</code> by defaut. <span>When </span><code>null</code><span> it keeps the value of the reference format which is </span><code>','</code><span> for </span><code>CSVFormat.DEFAULT</code><span>.</span></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><code>escapeDisabled</code></td><td colspan="1" rowspan="1" class="confluenceTd"><code>boolean</code></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Disables the escape character of the reference format.</p><p>This option is <code>false</code> by default.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><code>escape</code></td><td colspan="1" rowspan="1" class="confluenceTd"><code>Character</code></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Overrides the esc
 ape character of the reference format.</p><p>This option is <code>null</code> by default. <span>When </span><code>null</code><span> it keeps the value of the reference format which is </span><code>null</code><span> for </span><code>CSVFormat.DEFAULT</code><span>.</span></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><code>headerDisabled</code></td><td colspan="1" rowspan="1" class="confluenceTd"><code>boolean</code></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Disables the header of the reference format.</p><p>This option is <code>false</code> by default.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><code>header</code></td><td colspan="1" rowspan="1" class="confluenceTd"><code>String[]</code></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Overrides the header of the reference format.</p><p>This option is <code>null</code> by default. <span>When </span><code>null</code><span> it keeps the value of the reference format which 
 is </span><code>null</code><span> for </span><code>CSVFormat.DEFAULT</code><span>.</span></p><p>In the XML DSL, this option is configured using children&#160;<code>&lt;header&gt;</code>&#160;tags:</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;csv &gt;

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 Wed Nov 18 09:22:21 2015
@@ -3700,11 +3700,11 @@ The tutorial has been designed in two pa
 While not actual tutorials you might find working through the source of the various <a shape="rect" href="examples.html">Examples</a> useful.</li></ul>
 
 <h2 id="BookInOnePage-TutorialonSpringRemotingwithJMS">Tutorial on Spring Remoting with JMS</h2><p>&#160;</p><div class="confluence-information-macro confluence-information-macro-information"><p class="title">Thanks</p><span class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>This tutorial was kindly donated to Apache Camel by Martin Gilday.</p></div></div><h2 id="BookInOnePage-Preface">Preface</h2><p>This tutorial aims to guide the reader through the stages of creating a project which uses Camel to facilitate the routing of messages from a JMS queue to a <a shape="rect" class="external-link" href="http://www.springramework.org" rel="nofollow">Spring</a> service. The route works in a synchronous fashion returning a response to the client.</p><p><style type="text/css">/*<![CDATA[*/
-div.rbtoc1447586335331 {padding: 0px;}
-div.rbtoc1447586335331 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1447586335331 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1447838365627 {padding: 0px;}
+div.rbtoc1447838365627 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1447838365627 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1447586335331">
+/*]]>*/</style></p><div class="toc-macro rbtoc1447838365627">
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-TutorialonSpringRemotingwithJMS">Tutorial on Spring Remoting with JMS</a></li><li><a shape="rect" href="#BookInOnePage-Preface">Preface</a></li><li><a shape="rect" href="#BookInOnePage-Prerequisites">Prerequisites</a></li><li><a shape="rect" href="#BookInOnePage-Distribution">Distribution</a></li><li><a shape="rect" href="#BookInOnePage-About">About</a></li><li><a shape="rect" href="#BookInOnePage-CreatetheCamelProject">Create the Camel Project</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-UpdatethePOMwithDependencies">Update the POM with Dependencies</a></li></ul>
 </li><li><a shape="rect" href="#BookInOnePage-WritingtheServer">Writing the Server</a>
@@ -5809,11 +5809,11 @@ So we completed the last piece in the pi
 <p>This example has been removed from <strong>Camel 2.9</strong> onwards. Apache Axis 1.4 is a very old and unsupported framework. We encourage users to use <a shape="rect" href="cxf.html">CXF</a> instead of Axis.</p></div></div>
 
 <style type="text/css">/*<![CDATA[*/
-div.rbtoc1447586336377 {padding: 0px;}
-div.rbtoc1447586336377 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1447586336377 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1447838366709 {padding: 0px;}
+div.rbtoc1447838366709 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1447838366709 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style><div class="toc-macro rbtoc1447586336377">
+/*]]>*/</style><div class="toc-macro rbtoc1447838366709">
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-TutorialusingAxis1.4withApacheCamel">Tutorial using Axis 1.4 with Apache Camel</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-Prerequisites">Prerequisites</a></li><li><a shape="rect" href="#BookInOnePage-Distribution">Distribution</a></li><li><a shape="rect" href="#BookInOnePage-Introduction">Introduction</a></li><li><a shape="rect" href="#BookInOnePage-SettinguptheprojecttorunAxis">Setting up the project to run Axis</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-Maven2">Maven 2</a></li><li><a shape="rect" href="#BookInOnePage-wsdl">wsdl</a></li><li><a shape="rect" href="#BookInOnePage-ConfiguringAxis">Configuring Axis</a></li><li><a shape="rect" href="#BookInOnePage-RunningtheExample">Running the Example</a></li></ul>
@@ -9379,7 +9379,7 @@ from(&quot;direct:marshal&quot;).
   marshal().xstream(&quot;UTF-8&quot;).
   to(&quot;mqseries:Another.Queue&quot;);
 ]]></script>
-</div></div><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p></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;camelContext id=&quot;camel&quot; xmlns=&quot;http://camel.apache.org/schema/spring&quot;&gt;
     
@@ -9403,6 +9403,14 @@ from(&quot;direct:marshal&quot;).
 
 &lt;/camelContext&gt;
 ]]></script>
+</div></div><h3 id="BookInOnePage-SettingthetypepermissionsofXstreamDataFormat">Setting the type permissions of Xstream DataFormat</h3><p>In Camel, one can always use its own processing step in the route to filter and block certain XML documents to be routed to the XStream's unmarhall step. From Camel 2.16.1, 2.15.5, you can set&#160;<a shape="rect" class="external-link" href="http://x-stream.github.io/security.html" rel="nofollow">XStream's type permissions</a>&#160;to automatically allow or deny the instantiation of certain types.</p><p>The default type permissions setting used by Camel denies all types except for those from java.lang and java.util packages. This setting can be changed by setting System property org.apache.camel.xstream.permissions. Its value is a string of comma-separated permission terms, each representing a type being allowed or denied, depending on whether the term is prefixed with '+' (note '+' may be omitted) or with '-', respectively.</p><p>Each term may co
 ntain a wildcard character '*'. For example, value "-*,java.lang.*,java.util.*" indicates denying all types except for java.lang.* and java.util.* classes. Setting this value to an empty string "" reverts to the default XStream's type permissions handling which denies certain blacklisted classes and allow others.</p><p>The type permissions setting can be extended at an individual XStream DataFormat instance by setting its type permissions property.</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;dataFormats&gt;
+        &lt;xstream id=&quot;xstream-default&quot; 
+                 permissions=&quot;org.apache.camel.samples.xstream.*&quot;/&gt;
+        ...
+
+
+]]></script>
 </div></div>
 <h2 id="BookInOnePage-CSV">CSV</h2><p>The CSV <a shape="rect" href="data-format.html">Data Format</a> uses <a shape="rect" class="external-link" href="http://commons.apache.org/proper/commons-csv/">Apache Commons CSV</a> to handle CSV payloads (Comma Separated Values) such as those exported/imported by Excel.</p><p>As of Camel 2.15.0, it now uses the&#160;<a shape="rect" class="external-link" href="http://commons.apache.org/proper/commons-csv/archives/1.1/index.html">Apache Commons CSV 1.1</a> which is based on a completely different set of options.</p><h3 id="BookInOnePage-AvailableoptionsuntilCamel2.15">Available options until Camel 2.15</h3><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>Type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>config</p></td
 ><td colspan="1" rowspan="1" class="confluenceTd"><p>CSVConfig</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Can be used to set a custom <code>CSVConfig</code> object.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>strategy</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>CSVStrategy</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Can be used to set a custom <code>CSVStrategy</code>; the default is <code>CSVStrategy.DEFAULT_STRATEGY</code>.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>autogenColumns</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>boolean</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Whether or not columns are auto-generated in the resulting CSV. The default value is <code>true</code>; subsequent messages use the previously created columns with new fields being added at the end of the line.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>d
 elimiter</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>String</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.4:</strong> The column delimiter to use; the default value is "<code>,</code>".</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>skipFirstLine</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>boolean</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.10:</strong> Whether or not to skip the first line of CSV input when unmarshalling (e.g. if the content has headers on the first line); the default value is <code>false</code>.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">lazyLoad</td><td colspan="1" rowspan="1" class="confluenceTd">boolean</td><td colspan="1" rowspan="1" class="confluenceTd"><strong>Camel 2.12.2:</strong><span><span>&#160;Whether or not to </span></span><span style="line-height: 1.4285715;">Sequential access CSV input through an iterator which 
 could avoid OOM exception when processing huge CSV file; </span><span>the default value is false </span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">useMaps</td><td colspan="1" rowspan="1" class="confluenceTd">boolean</td><td colspan="1" rowspan="1" class="confluenceTd"><strong>Camel 2.13:</strong> Whether to use List&lt;Map&gt; when unmarshalling instead of List&lt;List&gt;.</td></tr></tbody></table></div><h3 id="BookInOnePage-AvailableoptionsasofCamel2.15">Available options as of Camel 2.15</h3><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh">Option</th><th colspan="1" rowspan="1" class="confluenceTh">Type</th><th colspan="1" rowspan="1" class="confluenceTh">Description</th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><code>format</code></td><td colspan="1" rowspan="1" class="confluenceTd"><code>CSVFormat</code></td><td colspan="1" rowspan="1" class="confluenceTd">The reference format 
 to use, it will be updated with the other format options, the default value is <code>CSVFormat.DEFAULT</code></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><code>commentMarkerDisabled</code></td><td colspan="1" rowspan="1" class="confluenceTd"><code>boolean</code></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Disables the comment marker of the reference format.</p><p>This option is <code>false</code> by default.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><code>commentMarker</code></td><td colspan="1" rowspan="1" class="confluenceTd"><code>Character</code></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Overrides the comment marker of the reference format.</p><p>This option is <code>null</code> by default. When <code>null</code> it keeps the value of the reference format which is <code>null</code> for <code>CSVFormat.DEFAULT</code>.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><code>delimiter</code></td><td
  colspan="1" rowspan="1" class="confluenceTd"><code>Character</code></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Overrides the delimiter of the reference format.</p><p>This option is <code>null</code> by defaut. <span>When </span><code>null</code><span> it keeps the value of the reference format which is </span><code>','</code><span> for </span><code>CSVFormat.DEFAULT</code><span>.</span></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><code>escapeDisabled</code></td><td colspan="1" rowspan="1" class="confluenceTd"><code>boolean</code></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Disables the escape character of the reference format.</p><p>This option is <code>false</code> by default.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><code>escape</code></td><td colspan="1" rowspan="1" class="confluenceTd"><code>Character</code></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Overrides the escape character of the refere
 nce format.</p><p>This option is <code>null</code> by default. <span>When </span><code>null</code><span> it keeps the value of the reference format which is </span><code>null</code><span> for </span><code>CSVFormat.DEFAULT</code><span>.</span></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><code>headerDisabled</code></td><td colspan="1" rowspan="1" class="confluenceTd"><code>boolean</code></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Disables the header of the reference format.</p><p>This option is <code>false</code> by default.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><code>header</code></td><td colspan="1" rowspan="1" class="confluenceTd"><code>String[]</code></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Overrides the header of the reference format.</p><p>This option is <code>null</code> by default. <span>When </span><code>null</code><span> it keeps the value of the reference format which is </span><code>null</code>
 <span> for </span><code>CSVFormat.DEFAULT</code><span>.</span></p><p>In the XML DSL, this option is configured using children&#160;<code>&lt;header&gt;</code>&#160;tags:</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;csv &gt;
@@ -16451,7 +16459,7 @@ droppable = false}
 </div></div><h3 id="BookInOnePage-URIformat.2">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="BookInOnePage-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="BookInOnePage-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">
+</div></div><h3 id="BookInOnePage-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="BookInOnePage-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;
         &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;
@@ -16460,7 +16468,7 @@ droppable = false}
            &lt;/bean&gt;
         &lt;/property&gt;
     &lt;/bean&gt;]]></script>
-</div></div><p>&#160;</p><p>Starting from the Camel 2.16.1 you can also use the AMQP<code>Component#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">
+</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>&#160;</p><p>&#160;</p><p></p><h3 id="BookInOnePage-SeeAlso.21">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="BookInOnePage-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="BookInOnePage-URIFormat">URI Format</h3><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
@@ -17308,11 +17316,11 @@ template.send(&quot;direct:alias-verify&
 ]]></script>
 </div></div><p></p><h3 id="BookInOnePage-SeeAlso.28">See Also</h3>
 <ul><li><a shape="rect" href="configuring-camel.html">Configuring Camel</a></li><li><a shape="rect" href="component.html">Component</a></li><li><a shape="rect" href="endpoint.html">Endpoint</a></li><li><a shape="rect" href="getting-started.html">Getting Started</a></li></ul><ul><li><a shape="rect" 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="BookInOnePage-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 consume web 
 services. The bean component's configuration is also simpler and provides the fastest method to implement web services using Camel and CXF.</p></div></div><div class="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.rbtoc1447586388429 {padding: 0px;}
-div.rbtoc1447586388429 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1447586388429 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1447838435076 {padding: 0px;}
+div.rbtoc1447838435076 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1447838435076 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1447586388429">
+/*]]>*/</style></p><div class="toc-macro rbtoc1447838435076">
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-CXFComponent">CXF Component</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-URIformat">URI format</a></li><li><a shape="rect" href="#BookInOnePage-Options">Options</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-Thedescriptionsofthedataformats">The descriptions of the dataformats</a>

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

Modified: websites/production/camel/content/twitter.html
==============================================================================
--- websites/production/camel/content/twitter.html (original)
+++ websites/production/camel/content/twitter.html Wed Nov 18 09:22:21 2015
@@ -96,12 +96,12 @@
 </div></div><h3 id="Twitter-URIformat">URI format</h3><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="brush: text; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[twitter://endpoint[?options]
 ]]></script>
-</div></div><h3 id="Twitter-TwitterComponent:">TwitterComponent:</h3><p>The twitter component can be configured with the Twitter account settings which is mandatory to configure before using.<br clear="none"> You can also configure these options directly in the endpoint.</p><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>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>consumerKey</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The consumer key</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>consumerSecret</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The consumer secret</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>accessToken</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The access token</p></td></tr><tr><td colspan="1" rowspan="1" 
 class="confluenceTd"><p>accessTokenSecret</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The access token secret</p></td></tr></tbody></table></div><h3 id="Twitter-ConsumerEndpoints:">Consumer Endpoints:</h3><p>Rather than the endpoints returning a List through one single route exchange, camel-twitter creates one route exchange per returned object. As an example, if "timeline/home" results in five statuses, the route will be executed five times (one for each Status).</p><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Endpoint</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Context</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Body Type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Notice</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>directmessage</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>direct, polling</p></td><td colspa
 n="1" rowspan="1" class="confluenceTd"><p>twitter4j.DirectMessage</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>search</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>direct, polling</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>twitter4j.Status</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>streaming/filter</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>event, polling</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>twitter4j.Status</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>streaming/sample</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>event, polling</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>twitter4j.Status</p></td><td colspan="1" r
 owspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">streaming/user</td><td colspan="1" rowspan="1" class="confluenceTd">event, polling</td><td colspan="1" rowspan="1" class="confluenceTd"><span>twitter4j.Status</span></td><td colspan="1" rowspan="1" class="confluenceTd"><strong>Camel 2.16</strong>: To receive tweets from protected users and accounts.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>timeline/home</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>direct, polling</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>twitter4j.Status</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>timeline/mentions</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>direct, polling</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>twitter4j.Status</p></td><td colspan="1" rowspan="1" class="conflu
 enceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><s>timeline/public</s></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><s>direct, polling</s></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><s>twitter4j.Status</s></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><s>@deprecated. Use timeline/home or direct/home instead. Removed from <strong>Camel 2.11</strong> onwards.</s></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>timeline/retweetsofme</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>direct, polling</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>twitter4j.Status</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>timeline/user</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>direct, polling</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>twitter4j.Status</
 p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><s>trends/daily</s></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><s><strong>Camel 2.10.1:</strong> direct, polling</s></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><s>twitter4j.Status</s></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><s>@deprecated. Removed from Camel 2.11 onwards.</s></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><s>trends/weekly</s></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><s><strong>Camel 2.10.1:</strong> direct, polling</s></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><s>twitter4j.Status</s></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><s>@deprecated. Removed from Camel 2.11 onwards.</s></p></td></tr></tbody></table></div><h3 id="Twitter-ProducerEndpoints:">Producer Endpoints:</h3><div class="table-wrap"><table clas
 s="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Endpoint</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Body Type</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>directmessage</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>String</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>search</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>List&lt;twitter4j.Status&gt;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>timeline/user</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>String</p></td></tr></tbody></table></div><h3 id="Twitter-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>Description</p></th></tr><tr><td c
 olspan="1" rowspan="1" class="confluenceTd"><p>type</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>direct</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>direct, event, or polling</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>delay</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>60</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>in seconds</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>consumerKey</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Consumer Key. Can also be configured on the <code>TwitterComponent</code> level instead.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>consumerSecret</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Consumer Secret. Can also b
 e configured on the <code>TwitterComponent</code> level instead.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>accessToken</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Access Token. Can also be configured on the <code>TwitterComponent</code> level instead.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>accessTokenSecret</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Access Token Secret. Can also be configured on the <code>TwitterComponent</code> level instead.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>user</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Username, used for user timeline consumption, direct message production, etc.</p></td></tr>
 <tr><td colspan="1" rowspan="1" class="confluenceTd"><p>locations</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>'lat,lon;lat,lon;...' Bounding boxes, created by pairs of lat/lons. Can be used for streaming/filter</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>keywords</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>'foo1,foo2,foo3...' Can be used for search and streaming/filter. See <a shape="rect" class="external-link" href="https://support.twitter.com/articles/71577-using-advanced-search" rel="nofollow">Advanced search</a> for keywords syntax for searching with for example OR.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>userIds</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class="confluenc
 eTd"><p>'username,username...' Can be used for streaming/filter</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>filterOld</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Filter out old tweets, that has previously been polled. This state is stored in memory only, and based on last tweet id. <strong>Since Camel 2.11.0</strong> The search producer supports this option</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>sinceId</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>1</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.11.0:</strong> The last tweet id which will be used for pulling the tweets. It is useful when the camel route is restarted after a long running.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>lang</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.11.0:</strong> The lang string <a shape="rect" class="external-link" href="http://en.wikipedia.org/wiki/ISO_639-1" rel="nofollow">ISO_639-1</a> which will be used for searching</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>count</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.11.0:</strong> Limiting number of results per page.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>numberOfPages</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>1</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.11.0:</strong> The number of pages result which you want camel-twitter to consume.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>httpProxyHost</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.12.3:</strong> The http proxy host which can be used for the camel-twitter.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>httpProxyPort</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.12.3:</strong> The http proxy port which can be used for the camel-twitter.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>httpProxyUser</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.12.3:</strong> The http proxy user which can be used for the camel-twitter.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>httpProxyPassword</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.12.3:</strong> The http proxy password which can be used for the camel-twitter.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">latitude</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" class="confluenceTd"><strong>Camel 2.16:</strong><span>&#160;</span>Used by the non-stream geography search to search by latitude. You need to configure all the following options: longitude, latitude, radius, and distanceMetric.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">longitude</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" class="confluenceTd"><strong>Camel 2.16:</strong><span>&#160;</span>Used by the non-stream geography search to search by longitude. You need to configure all the following options: longitude, latitude, radius, and distanceMetric.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">radius</td><td colspa
 n="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" class="confluenceTd"><strong>Camel 2.16:</strong><span>&#160;</span>Used by the non-stream geography search to search by radius. You need to configure all the following options: longitude, latitude, radius, and distanceMetric.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">distanceMetric</td><td colspan="1" rowspan="1" class="confluenceTd">km</td><td colspan="1" rowspan="1" class="confluenceTd"><strong>Camel 2.16:</strong> Used by the non-stream geography search, to search by radius using the configured metrics. The unit can either be mi for miles, or km for kilometers. You need to configure all the following options: longitude, latitude, radius, and distanceMetric.</td></tr></tbody></table></div><h3 id="Twitter-Messageheader">Message header</h3><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Name</p></th><th colspan="1" r
 owspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelTwitterKeywords</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>This header is used by the search producer to change the search key words dynamically.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelTwitterSearchLanguage</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.11.0:</strong> This header can override the option of <code>lang</code> which set the search language for the search endpoint dynamically</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelTwitterCount</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.11.0</strong> This header can override the option of <code>count</code> which sets the max twitters that will be returned.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>Cam
 elTwitterNumberOfPages</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.11.0</strong> This header can converrid the option of <code>numberOfPages</code> which sets how many pages we want to twitter returns.</p></td></tr></tbody></table></div><h3 id="Twitter-Messagebody">Message body</h3><p>All message bodies utilize objects provided by the Twitter4J API.</p><h3 id="Twitter-Usecases">Use cases</h3><h4 id="Twitter-TocreateastatusupdatewithinyourTwitterprofile,sendthisproduceraStringbody.">To create a status update within your Twitter profile, send this producer a String body.</h4><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><h3 id="Twitter-TwitterComponent:">TwitterComponent:</h3><p>The twitter component can be configured with the Twitter account settings which is mandatory to configure before using.<br clear="none"> You can also configure these options directly in the endpoint.</p><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>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>consumerKey</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The consumer key</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>consumerSecret</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The consumer secret</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>accessToken</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The access token</p></td></tr><tr><td colspan="1" rowspan="1" 
 class="confluenceTd"><p>accessTokenSecret</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The access token secret</p></td></tr></tbody></table></div><h3 id="Twitter-ConsumerEndpoints:">Consumer Endpoints:</h3><p>Rather than the endpoints returning a List through one single route exchange, camel-twitter creates one route exchange per returned object. As an example, if "timeline/home" results in five statuses, the route will be executed five times (one for each Status).</p><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Endpoint</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Context</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Body Type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Notice</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>directmessage</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>direct, polling</p></td><td colspa
 n="1" rowspan="1" class="confluenceTd"><p>twitter4j.DirectMessage</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>search</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>direct, polling</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>twitter4j.Status</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>streaming/filter</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>event, polling</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>twitter4j.Status</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>streaming/sample</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>event, polling</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>twitter4j.Status</p></td><td colspan="1" r
 owspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">streaming/user</td><td colspan="1" rowspan="1" class="confluenceTd">event, polling</td><td colspan="1" rowspan="1" class="confluenceTd"><span>twitter4j.Status</span></td><td colspan="1" rowspan="1" class="confluenceTd"><strong>Camel 2.16</strong>: To receive tweets from protected users and accounts.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>timeline/home</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>direct, polling</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>twitter4j.Status</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>timeline/mentions</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>direct, polling</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>twitter4j.Status</p></td><td colspan="1" rowspan="1" class="conflu
 enceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><s>timeline/public</s></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><s>direct, polling</s></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><s>twitter4j.Status</s></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><s>@deprecated. Use timeline/home or direct/home instead. Removed from <strong>Camel 2.11</strong> onwards.</s></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>timeline/retweetsofme</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>direct, polling</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>twitter4j.Status</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>timeline/user</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>direct, polling</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>twitter4j.Status</
 p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><s>trends/daily</s></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><s><strong>Camel 2.10.1:</strong> direct, polling</s></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><s>twitter4j.Status</s></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><s>@deprecated. Removed from Camel 2.11 onwards.</s></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><s>trends/weekly</s></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><s><strong>Camel 2.10.1:</strong> direct, polling</s></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><s>twitter4j.Status</s></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><s>@deprecated. Removed from Camel 2.11 onwards.</s></p></td></tr></tbody></table></div><h3 id="Twitter-ProducerEndpoints:">Producer Endpoints:</h3><div class="table-wrap"><table clas
 s="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Endpoint</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Body Type</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>directmessage</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>String</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>search</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>List&lt;twitter4j.Status&gt;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>timeline/user</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>String</p></td></tr></tbody></table></div><h3 id="Twitter-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>Description</p></th></tr><tr><td c
 olspan="1" rowspan="1" class="confluenceTd"><p>type</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>direct</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>direct, event, or polling</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>delay</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>60</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>in seconds</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>consumerKey</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Consumer Key. Can also be configured on the <code>TwitterComponent</code> level instead.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>consumerSecret</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Consumer Secret. Can also b
 e configured on the <code>TwitterComponent</code> level instead.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>accessToken</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Access Token. Can also be configured on the <code>TwitterComponent</code> level instead.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>accessTokenSecret</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Access Token Secret. Can also be configured on the <code>TwitterComponent</code> level instead.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>user</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Username, used for user timeline consumption, direct message production, etc.</p></td></tr>
 <tr><td colspan="1" rowspan="1" class="confluenceTd"><p>locations</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>'lat,lon;lat,lon;...' Bounding boxes, created by pairs of lat/lons. Can be used for streaming/filter</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>keywords</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>'foo1,foo2,foo3...' Can be used for search and streaming/filter. See <a shape="rect" class="external-link" href="https://support.twitter.com/articles/71577-using-advanced-search" rel="nofollow">Advanced search</a> for keywords syntax for searching with for example OR.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>userIds</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class="confluenc
 eTd"><p>'username,username...' Can be used for streaming/filter</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>filterOld</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Filter out old tweets, that has previously been polled. This state is stored in memory only, and based on last tweet id. <strong>Since Camel 2.11.0</strong> The search producer supports this option</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>sinceId</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>1</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.11.0:</strong> The last tweet id which will be used for pulling the tweets. It is useful when the camel route is restarted after a long running.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>lang</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.11.0:</strong> The lang string <a shape="rect" class="external-link" href="http://en.wikipedia.org/wiki/ISO_639-1" rel="nofollow">ISO_639-1</a> which will be used for searching</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>count</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.11.0:</strong> Limiting number of results per page.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>numberOfPages</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>1</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.11.0:</strong> The number of pages result which you want camel-twitter to consume.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>httpProxyHost</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.12.3:</strong> The http proxy host which can be used for the camel-twitter.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>httpProxyPort</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.12.3:</strong> The http proxy port which can be used for the camel-twitter.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>httpProxyUser</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.12.3:</strong> The http proxy user which can be used for the camel-twitter.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>httpProxyPassword</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.12.3:</strong> The http proxy password which can be used for the camel-twitter.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">latitude</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" class="confluenceTd"><strong>Camel 2.16:</strong><span>&#160;</span>Used by the non-stream geography search to search by latitude. You need to configure all the following options: longitude, latitude, radius, and distanceMetric.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">longitude</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" class="confluenceTd"><strong>Camel 2.16:</strong><span>&#160;</span>Used by the non-stream geography search to search by longitude. You need to configure all the following options: longitude, latitude, radius, and distanceMetric.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">radius</td><td colspa
 n="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" class="confluenceTd"><strong>Camel 2.16:</strong><span>&#160;</span>Used by the non-stream geography search to search by radius. You need to configure all the following options: longitude, latitude, radius, and distanceMetric.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">distanceMetric</td><td colspan="1" rowspan="1" class="confluenceTd">km</td><td colspan="1" rowspan="1" class="confluenceTd"><strong>Camel 2.16:</strong> Used by the non-stream geography search, to search by radius using the configured metrics. The unit can either be mi for miles, or km for kilometers. You need to configure all the following options: longitude, latitude, radius, and distanceMetric.</td></tr></tbody></table></div><h3 id="Twitter-Messageheader">Message header</h3><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Name</p></th><th colspan="1" r
 owspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelTwitterKeywords</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>This header is used by the search producer to change the search key words dynamically.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelTwitterSearchLanguage</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.11.0:</strong> This header can override the option of <code>lang</code> which set the search language for the search endpoint dynamically</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelTwitterCount</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.11.0</strong> This header can override the option of <code>count</code> which sets the max twitters that will be returned.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>Cam
 elTwitterNumberOfPages</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.11.0</strong> This header can converrid the option of <code>numberOfPages</code> which sets how many pages we want to twitter returns.</p></td></tr></tbody></table></div><h3 id="Twitter-Messagebody">Message body</h3><p>All message bodies utilize objects provided by the Twitter4J API.</p><h3 id="Twitter-Usecases">Use cases</h3><div class="confluence-information-macro has-no-icon confluence-information-macro-tip"><p class="title">API Rate Limits</p><div class="confluence-information-macro-body"><p>Twitter REST APIs encapsulated by <a shape="rect" class="external-link" href="http://twitter4j.org/" rel="nofollow">Twitter4J</a> are subjected to <a shape="rect" class="external-link" href="https://dev.twitter.com/rest/public/rate-limiting" rel="nofollow">API Rate Limiting</a>. You can find the per method limits in the <a shape="rect" class="external-link" href="https://dev.twitter.com/
 rest/public/rate-limits" rel="nofollow">API Rate Limits</a> documentation. Note <span style="color: rgb(41,47,51);">that endpoints/resources not listed in that page are default to 15 requests per allotted user per window.</span></p></div></div><h4 id="Twitter-TocreateastatusupdatewithinyourTwitterprofile,sendthisproduceraStringbody.">To create a status update within your Twitter profile, send this producer a String body.</h4><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:foo&quot;)
   .to(&quot;twitter://timeline/user?consumerKey=[s]&amp;consumerSecret=[s]&amp;accessToken=[s]&amp;accessTokenSecret=[s]);
 ]]></script>
-</div></div><h4 id="Twitter-Topoll,every5sec.,allstatusesonyourhometimeline:">To poll, every 5 sec., all statuses on your home timeline:</h4><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;twitter://timeline/home?type=polling&amp;delay=5&amp;consumerKey=[s]&amp;consumerSecret=[s]&amp;accessToken=[s]&amp;accessTokenSecret=[s]&quot;)
+</div></div><h4 id="Twitter-Topoll,every60sec.,allstatusesonyourhometimeline:">To poll, every 60 sec., all statuses on your home timeline:</h4><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;twitter://timeline/home?type=polling&amp;delay=60&amp;consumerKey=[s]&amp;consumerSecret=[s]&amp;accessToken=[s]&amp;accessTokenSecret=[s]&quot;)
   .to(&quot;bean:blah&quot;);
 ]]></script>
 </div></div><h4 id="Twitter-Tosearchforallstatuseswiththekeyword'camel':">To search for all statuses with the keyword 'camel':</h4><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">

Modified: websites/production/camel/content/xstream.html
==============================================================================
--- websites/production/camel/content/xstream.html (original)
+++ websites/production/camel/content/xstream.html Wed Nov 18 09:22:21 2015
@@ -116,14 +116,14 @@ from(&quot;direct:marshal&quot;).
   marshal().xstream(&quot;UTF-8&quot;).
   to(&quot;mqseries:Another.Queue&quot;);
 ]]></script>
-</div></div><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p></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;camelContext id=&quot;camel&quot; xmlns=&quot;http://camel.apache.org/schema/spring&quot;&gt;
     
     &lt;!-- we define the json xstream data formats to be used (xstream is default) --&gt;
     &lt;dataFormats&gt;
-        &lt;xstream id=&quot;xstream-utf8&quot; encoding=&quot;UTF-8&quot;/&gt;
-        &lt;xstream id=&quot;xstream-default&quot;/&gt;
+        &lt;xstream id=&quot;xstream-utf8&quot; encoding=&quot;UTF-8&quot; permissions=&quot;org.apache.camel.dataformat.stream.*&quot;/&gt;
+        &lt;xstream id=&quot;xstream-default&quot; permissions=&quot;org.apache.camel.dataformat.stream.*&quot;/&gt;
     &lt;/dataFormats&gt;
 
     &lt;route&gt;
@@ -140,6 +140,14 @@ from(&quot;direct:marshal&quot;).
 
 &lt;/camelContext&gt;
 ]]></script>
+</div></div><h3 id="XStream-SettingthetypepermissionsofXstreamDataFormat">Setting the type permissions of Xstream DataFormat</h3><p>In Camel, one can always use its own processing step in the route to filter and block certain XML documents to be routed to the XStream's unmarhall step. From Camel 2.16.1, 2.15.5, you can set&#160;<a shape="rect" class="external-link" href="http://x-stream.github.io/security.html" rel="nofollow">XStream's type permissions</a>&#160;to automatically allow or deny the instantiation of certain types.</p><p>The default type permissions setting used by Camel denies all types except for those from java.lang and java.util packages. This setting can be changed by setting System property org.apache.camel.xstream.permissions. Its value is a string of comma-separated permission terms, each representing a type being allowed or denied, depending on whether the term is prefixed with '+' (note '+' may be omitted) or with '-', respectively.</p><p>Each term may contain 
 a wildcard character '*'. For example, value "-*,java.lang.*,java.util.*" indicates denying all types except for java.lang.* and java.util.* classes. Setting this value to an empty string "" reverts to the default XStream's type permissions handling which denies certain blacklisted classes and allow others.</p><p>The type permissions setting can be extended at an individual XStream DataFormat instance by setting its type permissions property.</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;dataFormats&gt;
+        &lt;xstream id=&quot;xstream-default&quot; 
+                 permissions=&quot;org.apache.camel.samples.xstream.*&quot;/&gt;
+        ...
+
+
+]]></script>
 </div></div></div>
         </td>
         <td valign="top">