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/05/04 18:19:41 UTC

svn commit: r950072 - in /websites/production/camel/content: book-component-appendix.html book-in-one-page.html cache/main.pageCache hazelcast-component.html

Author: buildbot
Date: Mon May  4 16:19:40 2015
New Revision: 950072

Log:
Production update by buildbot for camel

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

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 Mon May  4 16:19:40 2015
@@ -1334,11 +1334,11 @@ template.send("direct:alias-verify&
                     </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.rbtoc1430659138917 {padding: 0px;}
-div.rbtoc1430659138917 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1430659138917 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1430756278944 {padding: 0px;}
+div.rbtoc1430756278944 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1430756278944 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1430659138917">
+/*]]>*/</style></p><div class="toc-macro rbtoc1430756278944">
 <ul class="toc-indentation"><li><a shape="rect" href="#CXF-CXFComponent">CXF Component</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#CXF-URIformat">URI format</a></li><li><a shape="rect" href="#CXF-Options">Options</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#CXF-Thedescriptionsofthedataformats">The descriptions of the dataformats</a>
@@ -3866,7 +3866,7 @@ http://java.sun.com/xml/ns/javaee/web-ap
                             <p>You have to use the second prefix to define which type of data store you want to use.</p>
                     </div>
     </div>
-<h3 id="BookComponentAppendix-Sections">Sections</h3><ol><li>Usage of <a shape="rect" href="#BookComponentAppendix-map">#map</a></li><li>Usage of <a shape="rect" href="#BookComponentAppendix-multimap">#multimap</a></li><li>Usage of <a shape="rect" href="#BookComponentAppendix-queue">#queue</a></li><li>Usage of <a shape="rect" href="#BookComponentAppendix-topic">#topic</a></li><li>Usage of <a shape="rect" href="#BookComponentAppendix-list">#list</a></li><li>Usage of <a shape="rect" href="#BookComponentAppendix-seda">#seda</a></li><li>Usage of <a shape="rect" href="#BookComponentAppendix-atomicnumber">atomic number</a></li><li>Usage of <a shape="rect" href="#BookComponentAppendix-cluster">#cluster</a> support (instance)</li></ol><p><span class="confluence-anchor-link" id="BookComponentAppendix-map"></span></p><h3 id="BookComponentAppendix-UsageofMap">Usage of Map</h3><h4 id="BookComponentAppendix-mapcacheproducer-to(&quot;hazelcast:map:foo&quot;)">map cache producer - to("hazelcast:ma
 p:foo")</h4><p>If you want to store a value in a map you can use the map cache producer. The map cache producer provides 5 operations (put, get, update, delete, query). For the first 4 you have to provide the operation inside the "hazelcast.operation.type" header variable. In Java DSL you can use the constants from <code>org.apache.camel.component.hazelcast.HazelcastConstants</code>.</p><p>Header Variables for the request message:</p><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>Type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>hazelcast.operation.type</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>valid values are: put, delete, get, update, query</p
 ><p><strong>From Camel 2.16:</strong> getAll, clear</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>hazelcast.objectId</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>the object id to store / find your object inside the cache (not needed for the query operation)</p></td></tr></tbody></table></div>    <div class="aui-message problem shadowed information-macro">
+<h3 id="BookComponentAppendix-Sections">Sections</h3><ol><li>Usage of <a shape="rect" href="#BookComponentAppendix-map">#map</a></li><li>Usage of <a shape="rect" href="#BookComponentAppendix-multimap">#multimap</a></li><li>Usage of <a shape="rect" href="#BookComponentAppendix-queue">#queue</a></li><li>Usage of <a shape="rect" href="#BookComponentAppendix-topic">#topic</a></li><li>Usage of <a shape="rect" href="#BookComponentAppendix-list">#list</a></li><li>Usage of <a shape="rect" href="#BookComponentAppendix-seda">#seda</a></li><li>Usage of <a shape="rect" href="#BookComponentAppendix-atomicnumber">atomic number</a></li><li>Usage of <a shape="rect" href="#BookComponentAppendix-cluster">#cluster</a> support (instance)</li><li>Usage of <a shape="rect" href="#BookComponentAppendix-replicatedmap">#replicatedmap</a>&#160;</li></ol><p><span class="confluence-anchor-link" id="BookComponentAppendix-map"></span></p><h3 id="BookComponentAppendix-UsageofMap">Usage of Map</h3><h4 id="BookCompo
 nentAppendix-mapcacheproducer-to(&quot;hazelcast:map:foo&quot;)">map cache producer - to("hazelcast:map:foo")</h4><p>If you want to store a value in a map you can use the map cache producer. The map cache producer provides 5 operations (put, get, update, delete, query). For the first 4 you have to provide the operation inside the "hazelcast.operation.type" header variable. In Java DSL you can use the constants from <code>org.apache.camel.component.hazelcast.HazelcastConstants</code>.</p><p>Header Variables for the request message:</p><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>Type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>hazelcast.operation.type</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><t
 d colspan="1" rowspan="1" class="confluenceTd"><p>valid values are: put, delete, get, update, query</p><p><strong>From Camel 2.16:</strong> getAll, clear</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>hazelcast.objectId</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>the object id to store / find your object inside the cache (not needed for the query operation)</p></td></tr></tbody></table></div>    <div class="aui-message problem shadowed information-macro">
                             <span class="aui-icon icon-problem">Icon</span>
                 <div class="message-content">
                             <p>Header variables have changed in Camel 2.8</p>
@@ -4428,7 +4428,7 @@ template.sendBodyAndHeader(&quot;direct:
                             <p>Header variables have changed in Camel 2.8</p>
                     </div>
     </div>
-<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>Type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastListenerTime</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>Long</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>time of the event in millis <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastListenerType</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>the map consumer sets here "instancelistener" <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr>
 <tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastListenerActionn</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>type of event - here <strong>added</strong> or <strong>removed</strong>. <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastInstanceHost</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>host name of the instance <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastInstancePort</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>Integer</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>port n
 umber of the instance <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr></tbody></table></div><h3 id="BookComponentAppendix-Usinghazelcastreference">Using hazelcast reference</h3><h4 id="BookComponentAppendix-Byitsname">By its name</h4><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<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>Type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastListenerTime</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>Long</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>time of the event in millis <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastListenerType</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>the map consumer sets here "instancelistener" <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr>
 <tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastListenerActionn</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>type of event - here <strong>added</strong> or <strong>removed</strong>. <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastInstanceHost</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>host name of the instance <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastInstancePort</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>Integer</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>port n
 umber of the instance <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr></tbody></table></div><h3 id="BookComponentAppendix-Usinghazelcastreference"><span style="line-height: 1.5625;">Using hazelcast reference</span></h3><h4 id="BookComponentAppendix-Byitsname">By its name</h4><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;bean id=&quot;hazelcastLifecycle&quot; class=&quot;com.hazelcast.core.LifecycleService&quot;
       factory-bean=&quot;hazelcastInstance&quot; factory-method=&quot;getLifecycleService&quot;
       destroy-method=&quot;shutdown&quot; /&gt;
@@ -4516,7 +4516,87 @@ template.sendBodyAndHeader(&quot;direct:
         &lt;to uri=&quot;seda:out&quot; /&gt;
     &lt;/route&gt;
 &lt;/camelContext&gt;]]></script>
-</div></div> <h2 id="BookComponentAppendix-HDFSComponent">HDFS Component</h2><p><strong>Available as of Camel 2.8</strong></p><p>The <strong>hdfs</strong> component enables you to read and write messages from/to an HDFS file system. HDFS is the distributed file system at the heart of <a shape="rect" class="external-link" href="http://hadoop.apache.org">Hadoop</a>.</p><p>Maven users will need to add the following dependency to their <code>pom.xml</code> for this component:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p><span class="confluence-anchor-link" id="BookComponentAppendix-replicatedmap"></span></p><h3 id="BookComponentAppendix-UsageofReplicatedmap">Usage of Replicated map</h3><p><strong>Avalaible from Camel 2.16</strong></p><h4 id="BookComponentAppendix-replicatedmapcacheproducer-to(&quot;hazelcast:replicatedmap:foo&quot;)">replicatedmap cache producer - to("<a shape="rect" class="external-link" href="http://hazelcastreplicatedmapfoo" rel="nofollow">hazelcast:replicatedmap:foo</a>")</h4><p><span style="color: rgb(68,68,68);">A replicated map is a weakly consistent, distributed key-value data structure with no data partition</span>. The replicatedmap producer provides 4 operations (put, get, delete, clear).</p><p>Header Variables for the request message:</p><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>Type</p></th><th colspan="1" rowspan="
 1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>hazelcast.operation.type</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>valid values are: put, get, delete, clear</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>hazelcast.objectId</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>the object id to store / find your object inside the cache</p></td></tr></tbody></table></div>    <div class="aui-message problem shadowed information-macro">
+                            <span class="aui-icon icon-problem">Icon</span>
+                <div class="message-content">
+                            <p>Header variables have changed in Camel 2.8</p>
+                    </div>
+    </div>
+<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>Type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastOperationType</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>valid values are: put, get, removevalue, delete <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastObjectId</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>the object id to store / find your object inside the cache <strong><a shape="rect" class="unresolved" href="#">Versio
 n 2.8</a></strong></p></td></tr></tbody></table></div><h5 id="BookComponentAppendix-Sampleforput:.4">Sample for&#160;<strong>put</strong>:</h5><p>Java DSL:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[from(&quot;direct:put&quot;)
+.setHeader(HazelcastConstants.OPERATION, constant(HazelcastConstants.PUT_OPERATION))
+.to(String.format(&quot;hazelcast:%sbar&quot;, HazelcastConstants.REPLICATEDMAP_PREFIX));
+]]></script>
+</div></div><p>Spring DSL:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;route&gt;
+	&lt;from uri=&quot;direct:put&quot; /&gt;
+	&lt;log message=&quot;put..&quot;/&gt;
+        &lt;!-- If using version 2.8 and above set headerName to &quot;CamelHazelcastOperationType&quot; --&gt;
+	&lt;setHeader headerName=&quot;hazelcast.operation.type&quot;&gt;
+		&lt;constant&gt;put&lt;/constant&gt;
+	&lt;/setHeader&gt;
+	&lt;to uri=&quot;hazelcast:replicatedmap:foo&quot; /&gt;
+&lt;/route&gt;]]></script>
+</div></div><h5 id="BookComponentAppendix-Sampleforget:.5">Sample for&#160;<strong>get</strong>:</h5><p>Java DSL:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[from(&quot;direct:get&quot;)
+.setHeader(HazelcastConstants.OPERATION, constant(HazelcastConstants.GET_OPERATION))
+.toF(&quot;hazelcast:%sbar&quot;, HazelcastConstants.REPLICATEDMAP_PREFIX)
+.to(&quot;seda:out&quot;);
+]]></script>
+</div></div><p>Spring DSL:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;route&gt;
+	&lt;from uri=&quot;direct:get&quot; /&gt;
+	&lt;log message=&quot;get..&quot;/&gt;
+        &lt;!-- If using version 2.8 and above set headerName to &quot;CamelHazelcastOperationType&quot; --&gt;
+	&lt;setHeader headerName=&quot;hazelcast.operation.type&quot;&gt;
+		&lt;constant&gt;get&lt;/constant&gt;
+	&lt;/setHeader&gt;
+	&lt;to uri=&quot;hazelcast:replicatedmap:foo&quot; /&gt;
+	&lt;to uri=&quot;seda:out&quot; /&gt;
+&lt;/route&gt;
+]]></script>
+</div></div><h5 id="BookComponentAppendix-Samplefordelete:.3">Sample for&#160;<strong>delete</strong>:</h5><p>Java DSL:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[from(&quot;direct:delete&quot;)
+.setHeader(HazelcastConstants.OPERATION, constant(HazelcastConstants.DELETE_OPERATION))
+.toF(&quot;hazelcast:%sbar&quot;, HazelcastConstants.REPLICATEDMAP_PREFIX);
+]]></script>
+</div></div><p>Spring DSL:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;route&gt;
+	&lt;from uri=&quot;direct:delete&quot; /&gt;
+	&lt;log message=&quot;delete..&quot;/&gt;
+        &lt;!-- If using version 2.8 and above set headerName to &quot;CamelHazelcastOperationType&quot; --&gt;
+	&lt;setHeader headerName=&quot;hazelcast.operation.type&quot;&gt;
+		&lt;constant&gt;delete&lt;/constant&gt;
+	&lt;/setHeader&gt;
+	&lt;to uri=&quot;hazelcast:replicatedmap:foo&quot; /&gt;
+&lt;/route&gt;
+]]></script>
+</div></div><p>you can call them in your test class with:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[template.sendBodyAndHeader(&quot;direct:[put|get|delete|clear]&quot;, &quot;my-foo&quot;, HazelcastConstants.OBJECT_ID, &quot;4711&quot;);
+]]></script>
+</div></div><h4 id="BookComponentAppendix-replicatedmapcacheconsumer-from(&quot;hazelcast:replicatedmap:foo&quot;)">replicatedmap cache consumer - from("<a shape="rect" class="external-link" href="http://hazelcastreplicatedmapfoo" rel="nofollow">hazelcast:replicatedmap:foo</a>")</h4><p>For the multimap cache this component provides the same listeners / variables as for the map cache consumer (except the update and enviction listener). The only difference is the&#160;<strong>multimap</strong>&#160;prefix inside the URI. Here is a sample:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[fromF(&quot;hazelcast:%sbar&quot;, HazelcastConstants.MULTIMAP_PREFIX)
+.log(&quot;object...&quot;)
+.choice()
+	.when(header(HazelcastConstants.LISTENER_ACTION).isEqualTo(HazelcastConstants.ADDED))
+		.log(&quot;...added&quot;)
+                .to(&quot;mock:added&quot;)
+        //.when(header(HazelcastConstants.LISTENER_ACTION).isEqualTo(HazelcastConstants.ENVICTED))
+        //        .log(&quot;...envicted&quot;)
+        //        .to(&quot;mock:envicted&quot;)
+        .when(header(HazelcastConstants.LISTENER_ACTION).isEqualTo(HazelcastConstants.REMOVED))
+                .log(&quot;...removed&quot;)
+                .to(&quot;mock:removed&quot;)
+        .otherwise()
+                .log(&quot;fail!&quot;);
+]]></script>
+</div></div><p>Header Variables inside the response message:</p><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>Type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>hazelcast.listener.time</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>Long</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>time of the event in millis</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>hazelcast.listener.type</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>the map consumer sets here "cachelistener"</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>hazelcast.listener.action</code></p><
 /td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>type of event - here <strong>added</strong> and <strong>removed</strong> (and soon <strong>envicted</strong>)</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>hazelcast.objectId</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>the oid of the object</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>hazelcast.cache.name</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>the name of the cache - e.g. "foo"</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>hazelcast.cache.type</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" row
 span="1" class="confluenceTd"><p>the type of the cache - here replicatedmap</p></td></tr></tbody></table></div><p>Eviction will be added as feature, soon (this is a Hazelcast issue).</p>    <div class="aui-message problem shadowed information-macro">
+                            <span class="aui-icon icon-problem">Icon</span>
+                <div class="message-content">
+                            <p>Header variables have changed in Camel 2.8</p>
+                    </div>
+    </div>
+<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>Type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastListenerTime</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>Long</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>time of the event in millis <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastListenerType</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>the map consumer sets here "cachelistener" <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr><tr
 ><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastListenerAction</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>type of event - here <strong>added</strong> and <strong>removed</strong> (and soon <strong>envicted</strong>) <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastObjectId</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>the oid of the object <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastCacheName</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="co
 nfluenceTd"><p>the name of the cache - e.g. "foo" <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastCacheType</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>the type of the cache - here replicatedmap <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr></tbody></table></div> <h2 id="BookComponentAppendix-HDFSComponent">HDFS Component</h2><p><strong>Available as of Camel 2.8</strong></p><p>The <strong>hdfs</strong> component enables you to read and write messages from/to an HDFS file system. HDFS is the distributed file system at the heart of <a shape="rect" class="external-link" href="http://hadoop.apache.org">Hadoop</a>.</p><p>Maven users will need to add the following dependency to their <code>pom.xml</code> for this component:</p><
 div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-hdfs&lt;/artifactId&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 Mon May  4 16:19:40 2015
@@ -4040,11 +4040,11 @@ While not actual tutorials you might fin
                     </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.rbtoc1430659147705 {padding: 0px;}
-div.rbtoc1430659147705 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1430659147705 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1430756303542 {padding: 0px;}
+div.rbtoc1430756303542 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1430756303542 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1430659147705">
+/*]]>*/</style></p><div class="toc-macro rbtoc1430756303542">
 <ul class="toc-indentation"><li><a shape="rect" href="#Tutorial-JmsRemoting-TutorialonSpringRemotingwithJMS">Tutorial on Spring Remoting with JMS</a></li><li><a shape="rect" href="#Tutorial-JmsRemoting-Preface">Preface</a></li><li><a shape="rect" href="#Tutorial-JmsRemoting-Prerequisites">Prerequisites</a></li><li><a shape="rect" href="#Tutorial-JmsRemoting-Distribution">Distribution</a></li><li><a shape="rect" href="#Tutorial-JmsRemoting-About">About</a></li><li><a shape="rect" href="#Tutorial-JmsRemoting-CreatetheCamelProject">Create the Camel Project</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#Tutorial-JmsRemoting-UpdatethePOMwithDependencies">Update the POM with Dependencies</a></li></ul>
 </li><li><a shape="rect" href="#Tutorial-JmsRemoting-WritingtheServer">Writing the Server</a>
@@ -6230,11 +6230,11 @@ So we completed the last piece in the pi
 
 
 <style type="text/css">/*<![CDATA[*/
-div.rbtoc1430659148080 {padding: 0px;}
-div.rbtoc1430659148080 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1430659148080 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1430756303867 {padding: 0px;}
+div.rbtoc1430756303867 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1430756303867 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style><div class="toc-macro rbtoc1430659148080">
+/*]]>*/</style><div class="toc-macro rbtoc1430756303867">
 <ul class="toc-indentation"><li><a shape="rect" href="#Tutorial-AXIS-Camel-TutorialusingAxis1.4withApacheCamel">Tutorial using Axis 1.4 with Apache Camel</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#Tutorial-AXIS-Camel-Prerequisites">Prerequisites</a></li><li><a shape="rect" href="#Tutorial-AXIS-Camel-Distribution">Distribution</a></li><li><a shape="rect" href="#Tutorial-AXIS-Camel-Introduction">Introduction</a></li><li><a shape="rect" href="#Tutorial-AXIS-Camel-SettinguptheprojecttorunAxis">Setting up the project to run Axis</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#Tutorial-AXIS-Camel-Maven2">Maven 2</a></li><li><a shape="rect" href="#Tutorial-AXIS-Camel-wsdl">wsdl</a></li><li><a shape="rect" href="#Tutorial-AXIS-Camel-ConfiguringAxis">Configuring Axis</a></li><li><a shape="rect" href="#Tutorial-AXIS-Camel-RunningtheExample">Running the Example</a></li></ul>
@@ -18860,11 +18860,11 @@ template.send(&quot;direct:alias-verify&
                     </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.rbtoc1430659167808 {padding: 0px;}
-div.rbtoc1430659167808 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1430659167808 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1430756324411 {padding: 0px;}
+div.rbtoc1430756324411 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1430756324411 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1430659167808">
+/*]]>*/</style></p><div class="toc-macro rbtoc1430756324411">
 <ul class="toc-indentation"><li><a shape="rect" href="#CXF-CXFComponent">CXF Component</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#CXF-URIformat">URI format</a></li><li><a shape="rect" href="#CXF-Options">Options</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#CXF-Thedescriptionsofthedataformats">The descriptions of the dataformats</a>
@@ -21392,7 +21392,7 @@ http://java.sun.com/xml/ns/javaee/web-ap
                             <p>You have to use the second prefix to define which type of data store you want to use.</p>
                     </div>
     </div>
-<h3 id="BookInOnePage-Sections">Sections</h3><ol><li>Usage of <a shape="rect" href="#BookInOnePage-map">#map</a></li><li>Usage of <a shape="rect" href="#BookInOnePage-multimap">#multimap</a></li><li>Usage of <a shape="rect" href="#BookInOnePage-queue">#queue</a></li><li>Usage of <a shape="rect" href="#BookInOnePage-topic">#topic</a></li><li>Usage of <a shape="rect" href="#BookInOnePage-list">#list</a></li><li>Usage of <a shape="rect" href="#BookInOnePage-seda">#seda</a></li><li>Usage of <a shape="rect" href="#BookInOnePage-atomicnumber">atomic number</a></li><li>Usage of <a shape="rect" href="#BookInOnePage-cluster">#cluster</a> support (instance)</li></ol><p><span class="confluence-anchor-link" id="BookInOnePage-map"></span></p><h3 id="BookInOnePage-UsageofMap">Usage of Map</h3><h4 id="BookInOnePage-mapcacheproducer-to(&quot;hazelcast:map:foo&quot;)">map cache producer - to("hazelcast:map:foo")</h4><p>If you want to store a value in a map you can use the map cache producer. The map
  cache producer provides 5 operations (put, get, update, delete, query). For the first 4 you have to provide the operation inside the "hazelcast.operation.type" header variable. In Java DSL you can use the constants from <code>org.apache.camel.component.hazelcast.HazelcastConstants</code>.</p><p>Header Variables for the request message:</p><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>Type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>hazelcast.operation.type</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>valid values are: put, delete, get, update, query</p><p><strong>From Camel 2.16:</strong> getAll, clear</p></td></tr><tr><td colspan="1" rowspan="1"
  class="confluenceTd"><p><code>hazelcast.objectId</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>the object id to store / find your object inside the cache (not needed for the query operation)</p></td></tr></tbody></table></div>    <div class="aui-message problem shadowed information-macro">
+<h3 id="BookInOnePage-Sections">Sections</h3><ol><li>Usage of <a shape="rect" href="#BookInOnePage-map">#map</a></li><li>Usage of <a shape="rect" href="#BookInOnePage-multimap">#multimap</a></li><li>Usage of <a shape="rect" href="#BookInOnePage-queue">#queue</a></li><li>Usage of <a shape="rect" href="#BookInOnePage-topic">#topic</a></li><li>Usage of <a shape="rect" href="#BookInOnePage-list">#list</a></li><li>Usage of <a shape="rect" href="#BookInOnePage-seda">#seda</a></li><li>Usage of <a shape="rect" href="#BookInOnePage-atomicnumber">atomic number</a></li><li>Usage of <a shape="rect" href="#BookInOnePage-cluster">#cluster</a> support (instance)</li><li>Usage of <a shape="rect" href="#BookInOnePage-replicatedmap">#replicatedmap</a>&#160;</li></ol><p><span class="confluence-anchor-link" id="BookInOnePage-map"></span></p><h3 id="BookInOnePage-UsageofMap">Usage of Map</h3><h4 id="BookInOnePage-mapcacheproducer-to(&quot;hazelcast:map:foo&quot;)">map cache producer - to("hazelcast:map:
 foo")</h4><p>If you want to store a value in a map you can use the map cache producer. The map cache producer provides 5 operations (put, get, update, delete, query). For the first 4 you have to provide the operation inside the "hazelcast.operation.type" header variable. In Java DSL you can use the constants from <code>org.apache.camel.component.hazelcast.HazelcastConstants</code>.</p><p>Header Variables for the request message:</p><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>Type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>hazelcast.operation.type</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>valid values are: put, delete, get, update, query</p><
 p><strong>From Camel 2.16:</strong> getAll, clear</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>hazelcast.objectId</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>the object id to store / find your object inside the cache (not needed for the query operation)</p></td></tr></tbody></table></div>    <div class="aui-message problem shadowed information-macro">
                             <span class="aui-icon icon-problem">Icon</span>
                 <div class="message-content">
                             <p>Header variables have changed in Camel 2.8</p>
@@ -21954,7 +21954,7 @@ template.sendBodyAndHeader(&quot;direct:
                             <p>Header variables have changed in Camel 2.8</p>
                     </div>
     </div>
-<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>Type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastListenerTime</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>Long</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>time of the event in millis <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastListenerType</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>the map consumer sets here "instancelistener" <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr>
 <tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastListenerActionn</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>type of event - here <strong>added</strong> or <strong>removed</strong>. <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastInstanceHost</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>host name of the instance <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastInstancePort</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>Integer</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>port n
 umber of the instance <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr></tbody></table></div><h3 id="BookInOnePage-Usinghazelcastreference">Using hazelcast reference</h3><h4 id="BookInOnePage-Byitsname">By its name</h4><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<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>Type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastListenerTime</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>Long</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>time of the event in millis <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastListenerType</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>the map consumer sets here "instancelistener" <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr>
 <tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastListenerActionn</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>type of event - here <strong>added</strong> or <strong>removed</strong>. <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastInstanceHost</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>host name of the instance <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastInstancePort</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>Integer</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>port n
 umber of the instance <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr></tbody></table></div><h3 id="BookInOnePage-Usinghazelcastreference"><span style="line-height: 1.5625;">Using hazelcast reference</span></h3><h4 id="BookInOnePage-Byitsname">By its name</h4><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;bean id=&quot;hazelcastLifecycle&quot; class=&quot;com.hazelcast.core.LifecycleService&quot;
       factory-bean=&quot;hazelcastInstance&quot; factory-method=&quot;getLifecycleService&quot;
       destroy-method=&quot;shutdown&quot; /&gt;
@@ -22042,7 +22042,87 @@ template.sendBodyAndHeader(&quot;direct:
         &lt;to uri=&quot;seda:out&quot; /&gt;
     &lt;/route&gt;
 &lt;/camelContext&gt;]]></script>
-</div></div> <h2 id="BookInOnePage-HDFSComponent">HDFS Component</h2><p><strong>Available as of Camel 2.8</strong></p><p>The <strong>hdfs</strong> component enables you to read and write messages from/to an HDFS file system. HDFS is the distributed file system at the heart of <a shape="rect" class="external-link" href="http://hadoop.apache.org">Hadoop</a>.</p><p>Maven users will need to add the following dependency to their <code>pom.xml</code> for this component:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p><span class="confluence-anchor-link" id="BookInOnePage-replicatedmap"></span></p><h3 id="BookInOnePage-UsageofReplicatedmap">Usage of Replicated map</h3><p><strong>Avalaible from Camel 2.16</strong></p><h4 id="BookInOnePage-replicatedmapcacheproducer-to(&quot;hazelcast:replicatedmap:foo&quot;)">replicatedmap cache producer - to("<a shape="rect" class="external-link" href="http://hazelcastreplicatedmapfoo" rel="nofollow">hazelcast:replicatedmap:foo</a>")</h4><p><span style="color: rgb(68,68,68);">A replicated map is a weakly consistent, distributed key-value data structure with no data partition</span>. The replicatedmap producer provides 4 operations (put, get, delete, clear).</p><p>Header Variables for the request message:</p><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>Type</p></th><th colspan="1" rowspan="1" class="confluenceTh">
 <p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>hazelcast.operation.type</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>valid values are: put, get, delete, clear</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>hazelcast.objectId</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>the object id to store / find your object inside the cache</p></td></tr></tbody></table></div>    <div class="aui-message problem shadowed information-macro">
+                            <span class="aui-icon icon-problem">Icon</span>
+                <div class="message-content">
+                            <p>Header variables have changed in Camel 2.8</p>
+                    </div>
+    </div>
+<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>Type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastOperationType</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>valid values are: put, get, removevalue, delete <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastObjectId</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>the object id to store / find your object inside the cache <strong><a shape="rect" class="unresolved" href="#">Versio
 n 2.8</a></strong></p></td></tr></tbody></table></div><h5 id="BookInOnePage-Sampleforput:.4">Sample for&#160;<strong>put</strong>:</h5><p>Java DSL:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[from(&quot;direct:put&quot;)
+.setHeader(HazelcastConstants.OPERATION, constant(HazelcastConstants.PUT_OPERATION))
+.to(String.format(&quot;hazelcast:%sbar&quot;, HazelcastConstants.REPLICATEDMAP_PREFIX));
+]]></script>
+</div></div><p>Spring DSL:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;route&gt;
+	&lt;from uri=&quot;direct:put&quot; /&gt;
+	&lt;log message=&quot;put..&quot;/&gt;
+        &lt;!-- If using version 2.8 and above set headerName to &quot;CamelHazelcastOperationType&quot; --&gt;
+	&lt;setHeader headerName=&quot;hazelcast.operation.type&quot;&gt;
+		&lt;constant&gt;put&lt;/constant&gt;
+	&lt;/setHeader&gt;
+	&lt;to uri=&quot;hazelcast:replicatedmap:foo&quot; /&gt;
+&lt;/route&gt;]]></script>
+</div></div><h5 id="BookInOnePage-Sampleforget:.5">Sample for&#160;<strong>get</strong>:</h5><p>Java DSL:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[from(&quot;direct:get&quot;)
+.setHeader(HazelcastConstants.OPERATION, constant(HazelcastConstants.GET_OPERATION))
+.toF(&quot;hazelcast:%sbar&quot;, HazelcastConstants.REPLICATEDMAP_PREFIX)
+.to(&quot;seda:out&quot;);
+]]></script>
+</div></div><p>Spring DSL:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;route&gt;
+	&lt;from uri=&quot;direct:get&quot; /&gt;
+	&lt;log message=&quot;get..&quot;/&gt;
+        &lt;!-- If using version 2.8 and above set headerName to &quot;CamelHazelcastOperationType&quot; --&gt;
+	&lt;setHeader headerName=&quot;hazelcast.operation.type&quot;&gt;
+		&lt;constant&gt;get&lt;/constant&gt;
+	&lt;/setHeader&gt;
+	&lt;to uri=&quot;hazelcast:replicatedmap:foo&quot; /&gt;
+	&lt;to uri=&quot;seda:out&quot; /&gt;
+&lt;/route&gt;
+]]></script>
+</div></div><h5 id="BookInOnePage-Samplefordelete:.3">Sample for&#160;<strong>delete</strong>:</h5><p>Java DSL:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[from(&quot;direct:delete&quot;)
+.setHeader(HazelcastConstants.OPERATION, constant(HazelcastConstants.DELETE_OPERATION))
+.toF(&quot;hazelcast:%sbar&quot;, HazelcastConstants.REPLICATEDMAP_PREFIX);
+]]></script>
+</div></div><p>Spring DSL:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;route&gt;
+	&lt;from uri=&quot;direct:delete&quot; /&gt;
+	&lt;log message=&quot;delete..&quot;/&gt;
+        &lt;!-- If using version 2.8 and above set headerName to &quot;CamelHazelcastOperationType&quot; --&gt;
+	&lt;setHeader headerName=&quot;hazelcast.operation.type&quot;&gt;
+		&lt;constant&gt;delete&lt;/constant&gt;
+	&lt;/setHeader&gt;
+	&lt;to uri=&quot;hazelcast:replicatedmap:foo&quot; /&gt;
+&lt;/route&gt;
+]]></script>
+</div></div><p>you can call them in your test class with:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[template.sendBodyAndHeader(&quot;direct:[put|get|delete|clear]&quot;, &quot;my-foo&quot;, HazelcastConstants.OBJECT_ID, &quot;4711&quot;);
+]]></script>
+</div></div><h4 id="BookInOnePage-replicatedmapcacheconsumer-from(&quot;hazelcast:replicatedmap:foo&quot;)">replicatedmap cache consumer - from("<a shape="rect" class="external-link" href="http://hazelcastreplicatedmapfoo" rel="nofollow">hazelcast:replicatedmap:foo</a>")</h4><p>For the multimap cache this component provides the same listeners / variables as for the map cache consumer (except the update and enviction listener). The only difference is the&#160;<strong>multimap</strong>&#160;prefix inside the URI. Here is a sample:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[fromF(&quot;hazelcast:%sbar&quot;, HazelcastConstants.MULTIMAP_PREFIX)
+.log(&quot;object...&quot;)
+.choice()
+	.when(header(HazelcastConstants.LISTENER_ACTION).isEqualTo(HazelcastConstants.ADDED))
+		.log(&quot;...added&quot;)
+                .to(&quot;mock:added&quot;)
+        //.when(header(HazelcastConstants.LISTENER_ACTION).isEqualTo(HazelcastConstants.ENVICTED))
+        //        .log(&quot;...envicted&quot;)
+        //        .to(&quot;mock:envicted&quot;)
+        .when(header(HazelcastConstants.LISTENER_ACTION).isEqualTo(HazelcastConstants.REMOVED))
+                .log(&quot;...removed&quot;)
+                .to(&quot;mock:removed&quot;)
+        .otherwise()
+                .log(&quot;fail!&quot;);
+]]></script>
+</div></div><p>Header Variables inside the response message:</p><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>Type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>hazelcast.listener.time</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>Long</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>time of the event in millis</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>hazelcast.listener.type</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>the map consumer sets here "cachelistener"</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>hazelcast.listener.action</code></p><
 /td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>type of event - here <strong>added</strong> and <strong>removed</strong> (and soon <strong>envicted</strong>)</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>hazelcast.objectId</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>the oid of the object</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>hazelcast.cache.name</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>the name of the cache - e.g. "foo"</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>hazelcast.cache.type</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" row
 span="1" class="confluenceTd"><p>the type of the cache - here replicatedmap</p></td></tr></tbody></table></div><p>Eviction will be added as feature, soon (this is a Hazelcast issue).</p>    <div class="aui-message problem shadowed information-macro">
+                            <span class="aui-icon icon-problem">Icon</span>
+                <div class="message-content">
+                            <p>Header variables have changed in Camel 2.8</p>
+                    </div>
+    </div>
+<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>Type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastListenerTime</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>Long</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>time of the event in millis <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastListenerType</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>the map consumer sets here "cachelistener" <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr><tr
 ><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastListenerAction</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>type of event - here <strong>added</strong> and <strong>removed</strong> (and soon <strong>envicted</strong>) <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastObjectId</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>the oid of the object <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastCacheName</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="co
 nfluenceTd"><p>the name of the cache - e.g. "foo" <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastCacheType</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>the type of the cache - here replicatedmap <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr></tbody></table></div> <h2 id="BookInOnePage-HDFSComponent">HDFS Component</h2><p><strong>Available as of Camel 2.8</strong></p><p>The <strong>hdfs</strong> component enables you to read and write messages from/to an HDFS file system. HDFS is the distributed file system at the heart of <a shape="rect" class="external-link" href="http://hadoop.apache.org">Hadoop</a>.</p><p>Maven users will need to add the following dependency to their <code>pom.xml</code> for this component:</p><div clas
 s="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-hdfs&lt;/artifactId&gt;

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

Modified: websites/production/camel/content/hazelcast-component.html
==============================================================================
--- websites/production/camel/content/hazelcast-component.html (original)
+++ websites/production/camel/content/hazelcast-component.html Mon May  4 16:19:40 2015
@@ -108,7 +108,7 @@
                             <p>You have to use the second prefix to define which type of data store you want to use.</p>
                     </div>
     </div>
-<h3 id="HazelcastComponent-Sections">Sections</h3><ol><li>Usage of <a shape="rect" href="#HazelcastComponent-map">#map</a></li><li>Usage of <a shape="rect" href="#HazelcastComponent-multimap">#multimap</a></li><li>Usage of <a shape="rect" href="#HazelcastComponent-queue">#queue</a></li><li>Usage of <a shape="rect" href="#HazelcastComponent-topic">#topic</a></li><li>Usage of <a shape="rect" href="#HazelcastComponent-list">#list</a></li><li>Usage of <a shape="rect" href="#HazelcastComponent-seda">#seda</a></li><li>Usage of <a shape="rect" href="#HazelcastComponent-atomicnumber">atomic number</a></li><li>Usage of <a shape="rect" href="#HazelcastComponent-cluster">#cluster</a> support (instance)</li></ol><p><span class="confluence-anchor-link" id="HazelcastComponent-map"></span></p><h3 id="HazelcastComponent-UsageofMap">Usage of Map</h3><h4 id="HazelcastComponent-mapcacheproducer-to(&quot;hazelcast:map:foo&quot;)">map cache producer - to("hazelcast:map:foo")</h4><p>If you want to store 
 a value in a map you can use the map cache producer. The map cache producer provides 5 operations (put, get, update, delete, query). For the first 4 you have to provide the operation inside the "hazelcast.operation.type" header variable. In Java DSL you can use the constants from <code>org.apache.camel.component.hazelcast.HazelcastConstants</code>.</p><p>Header Variables for the request message:</p><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>Type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>hazelcast.operation.type</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>valid values are: put, delete, get, update, query</p><p><strong>From Camel 2.16:</strong
 > getAll, clear</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>hazelcast.objectId</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>the object id to store / find your object inside the cache (not needed for the query operation)</p></td></tr></tbody></table></div>    <div class="aui-message problem shadowed information-macro">
+<h3 id="HazelcastComponent-Sections">Sections</h3><ol><li>Usage of <a shape="rect" href="#HazelcastComponent-map">#map</a></li><li>Usage of <a shape="rect" href="#HazelcastComponent-multimap">#multimap</a></li><li>Usage of <a shape="rect" href="#HazelcastComponent-queue">#queue</a></li><li>Usage of <a shape="rect" href="#HazelcastComponent-topic">#topic</a></li><li>Usage of <a shape="rect" href="#HazelcastComponent-list">#list</a></li><li>Usage of <a shape="rect" href="#HazelcastComponent-seda">#seda</a></li><li>Usage of <a shape="rect" href="#HazelcastComponent-atomicnumber">atomic number</a></li><li>Usage of <a shape="rect" href="#HazelcastComponent-cluster">#cluster</a> support (instance)</li><li>Usage of <a shape="rect" href="#HazelcastComponent-replicatedmap">#replicatedmap</a>&#160;</li></ol><p><span class="confluence-anchor-link" id="HazelcastComponent-map"></span></p><h3 id="HazelcastComponent-UsageofMap">Usage of Map</h3><h4 id="HazelcastComponent-mapcacheproducer-to(&quot;
 hazelcast:map:foo&quot;)">map cache producer - to("hazelcast:map:foo")</h4><p>If you want to store a value in a map you can use the map cache producer. The map cache producer provides 5 operations (put, get, update, delete, query). For the first 4 you have to provide the operation inside the "hazelcast.operation.type" header variable. In Java DSL you can use the constants from <code>org.apache.camel.component.hazelcast.HazelcastConstants</code>.</p><p>Header Variables for the request message:</p><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>Type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>hazelcast.operation.type</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="conflu
 enceTd"><p>valid values are: put, delete, get, update, query</p><p><strong>From Camel 2.16:</strong> getAll, clear</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>hazelcast.objectId</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>the object id to store / find your object inside the cache (not needed for the query operation)</p></td></tr></tbody></table></div>    <div class="aui-message problem shadowed information-macro">
                             <span class="aui-icon icon-problem">Icon</span>
                 <div class="message-content">
                             <p>Header variables have changed in Camel 2.8</p>
@@ -670,7 +670,7 @@ template.sendBodyAndHeader(&quot;direct:
                             <p>Header variables have changed in Camel 2.8</p>
                     </div>
     </div>
-<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>Type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastListenerTime</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>Long</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>time of the event in millis <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastListenerType</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>the map consumer sets here "instancelistener" <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr>
 <tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastListenerActionn</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>type of event - here <strong>added</strong> or <strong>removed</strong>. <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastInstanceHost</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>host name of the instance <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastInstancePort</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>Integer</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>port n
 umber of the instance <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr></tbody></table></div><h3 id="HazelcastComponent-Usinghazelcastreference">Using hazelcast reference</h3><h4 id="HazelcastComponent-Byitsname">By its name</h4><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<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>Type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastListenerTime</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>Long</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>time of the event in millis <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastListenerType</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>the map consumer sets here "instancelistener" <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr>
 <tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastListenerActionn</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>type of event - here <strong>added</strong> or <strong>removed</strong>. <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastInstanceHost</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>host name of the instance <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastInstancePort</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>Integer</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>port n
 umber of the instance <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr></tbody></table></div><h3 id="HazelcastComponent-Usinghazelcastreference"><span style="line-height: 1.5625;">Using hazelcast reference</span></h3><h4 id="HazelcastComponent-Byitsname">By its name</h4><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;bean id=&quot;hazelcastLifecycle&quot; class=&quot;com.hazelcast.core.LifecycleService&quot;
       factory-bean=&quot;hazelcastInstance&quot; factory-method=&quot;getLifecycleService&quot;
       destroy-method=&quot;shutdown&quot; /&gt;
@@ -758,7 +758,87 @@ template.sendBodyAndHeader(&quot;direct:
         &lt;to uri=&quot;seda:out&quot; /&gt;
     &lt;/route&gt;
 &lt;/camelContext&gt;]]></script>
-</div></div></div>
+</div></div><p><span class="confluence-anchor-link" id="HazelcastComponent-replicatedmap"></span></p><h3 id="HazelcastComponent-UsageofReplicatedmap">Usage of Replicated map</h3><p><strong>Avalaible from Camel 2.16</strong></p><h4 id="HazelcastComponent-replicatedmapcacheproducer-to(&quot;hazelcast:replicatedmap:foo&quot;)">replicatedmap cache producer - to("<a shape="rect" class="external-link" href="http://hazelcastreplicatedmapfoo" rel="nofollow">hazelcast:replicatedmap:foo</a>")</h4><p><span style="color: rgb(68,68,68);">A replicated map is a weakly consistent, distributed key-value data structure with no data partition</span>. The replicatedmap producer provides 4 operations (put, get, delete, clear).</p><p>Header Variables for the request message:</p><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>Type</p></th><th colspan="1" rowspan="1" class=
 "confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>hazelcast.operation.type</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>valid values are: put, get, delete, clear</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>hazelcast.objectId</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>the object id to store / find your object inside the cache</p></td></tr></tbody></table></div>    <div class="aui-message problem shadowed information-macro">
+                            <span class="aui-icon icon-problem">Icon</span>
+                <div class="message-content">
+                            <p>Header variables have changed in Camel 2.8</p>
+                    </div>
+    </div>
+<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>Type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastOperationType</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>valid values are: put, get, removevalue, delete <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastObjectId</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>the object id to store / find your object inside the cache <strong><a shape="rect" class="unresolved" href="#">Versio
 n 2.8</a></strong></p></td></tr></tbody></table></div><h5 id="HazelcastComponent-Sampleforput:.4">Sample for&#160;<strong>put</strong>:</h5><p>Java DSL:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[from(&quot;direct:put&quot;)
+.setHeader(HazelcastConstants.OPERATION, constant(HazelcastConstants.PUT_OPERATION))
+.to(String.format(&quot;hazelcast:%sbar&quot;, HazelcastConstants.REPLICATEDMAP_PREFIX));
+]]></script>
+</div></div><p>Spring DSL:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;route&gt;
+	&lt;from uri=&quot;direct:put&quot; /&gt;
+	&lt;log message=&quot;put..&quot;/&gt;
+        &lt;!-- If using version 2.8 and above set headerName to &quot;CamelHazelcastOperationType&quot; --&gt;
+	&lt;setHeader headerName=&quot;hazelcast.operation.type&quot;&gt;
+		&lt;constant&gt;put&lt;/constant&gt;
+	&lt;/setHeader&gt;
+	&lt;to uri=&quot;hazelcast:replicatedmap:foo&quot; /&gt;
+&lt;/route&gt;]]></script>
+</div></div><h5 id="HazelcastComponent-Sampleforget:.5">Sample for&#160;<strong>get</strong>:</h5><p>Java DSL:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[from(&quot;direct:get&quot;)
+.setHeader(HazelcastConstants.OPERATION, constant(HazelcastConstants.GET_OPERATION))
+.toF(&quot;hazelcast:%sbar&quot;, HazelcastConstants.REPLICATEDMAP_PREFIX)
+.to(&quot;seda:out&quot;);
+]]></script>
+</div></div><p>Spring DSL:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;route&gt;
+	&lt;from uri=&quot;direct:get&quot; /&gt;
+	&lt;log message=&quot;get..&quot;/&gt;
+        &lt;!-- If using version 2.8 and above set headerName to &quot;CamelHazelcastOperationType&quot; --&gt;
+	&lt;setHeader headerName=&quot;hazelcast.operation.type&quot;&gt;
+		&lt;constant&gt;get&lt;/constant&gt;
+	&lt;/setHeader&gt;
+	&lt;to uri=&quot;hazelcast:replicatedmap:foo&quot; /&gt;
+	&lt;to uri=&quot;seda:out&quot; /&gt;
+&lt;/route&gt;
+]]></script>
+</div></div><h5 id="HazelcastComponent-Samplefordelete:.3">Sample for&#160;<strong>delete</strong>:</h5><p>Java DSL:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[from(&quot;direct:delete&quot;)
+.setHeader(HazelcastConstants.OPERATION, constant(HazelcastConstants.DELETE_OPERATION))
+.toF(&quot;hazelcast:%sbar&quot;, HazelcastConstants.REPLICATEDMAP_PREFIX);
+]]></script>
+</div></div><p>Spring DSL:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;route&gt;
+	&lt;from uri=&quot;direct:delete&quot; /&gt;
+	&lt;log message=&quot;delete..&quot;/&gt;
+        &lt;!-- If using version 2.8 and above set headerName to &quot;CamelHazelcastOperationType&quot; --&gt;
+	&lt;setHeader headerName=&quot;hazelcast.operation.type&quot;&gt;
+		&lt;constant&gt;delete&lt;/constant&gt;
+	&lt;/setHeader&gt;
+	&lt;to uri=&quot;hazelcast:replicatedmap:foo&quot; /&gt;
+&lt;/route&gt;
+]]></script>
+</div></div><p>you can call them in your test class with:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[template.sendBodyAndHeader(&quot;direct:[put|get|delete|clear]&quot;, &quot;my-foo&quot;, HazelcastConstants.OBJECT_ID, &quot;4711&quot;);
+]]></script>
+</div></div><h4 id="HazelcastComponent-replicatedmapcacheconsumer-from(&quot;hazelcast:replicatedmap:foo&quot;)">replicatedmap cache consumer - from("<a shape="rect" class="external-link" href="http://hazelcastreplicatedmapfoo" rel="nofollow">hazelcast:replicatedmap:foo</a>")</h4><p>For the multimap cache this component provides the same listeners / variables as for the map cache consumer (except the update and enviction listener). The only difference is the&#160;<strong>multimap</strong>&#160;prefix inside the URI. Here is a sample:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[fromF(&quot;hazelcast:%sbar&quot;, HazelcastConstants.MULTIMAP_PREFIX)
+.log(&quot;object...&quot;)
+.choice()
+	.when(header(HazelcastConstants.LISTENER_ACTION).isEqualTo(HazelcastConstants.ADDED))
+		.log(&quot;...added&quot;)
+                .to(&quot;mock:added&quot;)
+        //.when(header(HazelcastConstants.LISTENER_ACTION).isEqualTo(HazelcastConstants.ENVICTED))
+        //        .log(&quot;...envicted&quot;)
+        //        .to(&quot;mock:envicted&quot;)
+        .when(header(HazelcastConstants.LISTENER_ACTION).isEqualTo(HazelcastConstants.REMOVED))
+                .log(&quot;...removed&quot;)
+                .to(&quot;mock:removed&quot;)
+        .otherwise()
+                .log(&quot;fail!&quot;);
+]]></script>
+</div></div><p>Header Variables inside the response message:</p><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>Type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>hazelcast.listener.time</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>Long</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>time of the event in millis</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>hazelcast.listener.type</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>the map consumer sets here "cachelistener"</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>hazelcast.listener.action</code></p><
 /td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>type of event - here <strong>added</strong> and <strong>removed</strong> (and soon <strong>envicted</strong>)</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>hazelcast.objectId</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>the oid of the object</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>hazelcast.cache.name</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>the name of the cache - e.g. "foo"</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>hazelcast.cache.type</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" row
 span="1" class="confluenceTd"><p>the type of the cache - here replicatedmap</p></td></tr></tbody></table></div><p>Eviction will be added as feature, soon (this is a Hazelcast issue).</p>    <div class="aui-message problem shadowed information-macro">
+                            <span class="aui-icon icon-problem">Icon</span>
+                <div class="message-content">
+                            <p>Header variables have changed in Camel 2.8</p>
+                    </div>
+    </div>
+<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>Type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastListenerTime</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>Long</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>time of the event in millis <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastListenerType</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>the map consumer sets here "cachelistener" <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr><tr
 ><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastListenerAction</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>type of event - here <strong>added</strong> and <strong>removed</strong> (and soon <strong>envicted</strong>) <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastObjectId</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>the oid of the object <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastCacheName</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="co
 nfluenceTd"><p>the name of the cache - e.g. "foo" <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>CamelHazelcastCacheType</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>the type of the cache - here replicatedmap <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr></tbody></table></div></div>
         </td>
         <td valign="top">
           <div class="navigation">