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/09/11 14:21:08 UTC
svn commit: r965084 [1/2] - in /websites/production/camel/content:
book-component-appendix.html book-in-one-page.html cache/main.pageCache
hazelcast-component.html
Author: buildbot
Date: Fri Sep 11 12:21:06 2015
New Revision: 965084
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 Fri Sep 11 12:21:06 2015
@@ -1219,11 +1219,11 @@ template.send("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.rbtoc1441703875159 {padding: 0px;}
-div.rbtoc1441703875159 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1441703875159 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1441973918129 {padding: 0px;}
+div.rbtoc1441973918129 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1441973918129 li {margin-left: 0px;padding-left: 0px;}
-/*]]>*/</style></p><div class="toc-macro rbtoc1441703875159">
+/*]]>*/</style></p><div class="toc-macro rbtoc1441973918129">
<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>
@@ -3573,9 +3573,9 @@ http://java.sun.com/xml/ns/javaee/web-ap
</dependency>
]]></script>
</div></div><h3 id="BookComponentAppendix-URIformat.23">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[hazelcast:[ map | multimap | queue | topic | seda | set | atomicvalue | instance | list]:cachename[?options]
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[hazelcast:[ map | multimap | queue | topic | seda | set | atomicvalue | instance | list | ringbuffer]:cachename[?options]
]]></script>
-</div></div><div class="confluence-information-macro confluence-information-macro-information"><span class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>Topic support is available as of Camel 2.15. </p></div></div><p> </p><h3 id="BookComponentAppendix-Options.18">Options</h3><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh">Name</th><th colspan="1" rowspan="1" class="confluenceTh">Required</th><th colspan="1" rowspan="1" class="confluenceTh">Description</th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">hazelcastInstance</td><td colspan="1" rowspan="1" class="confluenceTd">No</td><td colspan="1" rowspan="1" class="confluenceTd"><strong>Camel 2.14:</strong><span> The hazelcast instance <strong>reference</strong> which can be used for hazelcast endpoint. If you don't specify the instance reference, camel use the
default hazelcast instance from the camel-hazelcast instance.</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">hazelcastInstanceName</td><td colspan="1" rowspan="1" class="confluenceTd">No</td><td colspan="1" rowspan="1" class="confluenceTd"><strong>Camel 2.16:</strong><span> The hazelcast instance <strong>reference name</strong> which can be used for hazelcast endpoint. If you don't specify the instance reference, camel use the default hazelcast instance from the camel-hazelcast instance.</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">operation</td><td colspan="1" rowspan="1" class="confluenceTd">-1</td><td colspan="1" rowspan="1" class="confluenceTd"><span>To specify a default operation to use, if no operation header has been provided. </span><strong>deprecated</strong><span> use defaultOperation instead.</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><span>defaultOperation</span></td><td colspan="1" rowspan="1" class
="confluenceTd">-1</td><td colspan="1" rowspan="1" class="confluenceTd"><strong>Camel 2.15:</strong><span> To specify a default operation to use, if no operation header has been provided.</span></td></tr></tbody></table></div><div class="confluence-information-macro confluence-information-macro-warning"><span class="aui-icon aui-icon-small aui-iconfont-error confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><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><li>Usage of <a shape="rect" href="#BookComponentAppendix-replicatedmap">#replicatedmap</a> </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("hazelcast:map:foo")">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.c
omponent.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></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></t
d></tr></tbody></table></div><div class="confluence-information-macro confluence-information-macro-warning"><span class="aui-icon aui-icon-small aui-iconfont-error confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><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, delete, get, update, query <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p><p><strong><strong>From Camel 2.16:</strong
></strong> getAll, putIfAbsent, clear.</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 (not needed for the query operation) <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr></tbody></table></div><p>You can call the samples with:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><div class="confluence-information-macro confluence-information-macro-information"><span class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>Topic support is available as of Camel 2.15. </p></div></div><div class="confluence-information-macro confluence-information-macro-information"><span class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>RingBuffer support is available as of Camel 2.16. </p></div></div><h3 id="BookComponentAppendix-Options.18">Options</h3><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh">Name</th><th colspan="1" rowspan="1" class="confluenceTh">Required</th><th colspan="1" rowspan="1" class="confluenceTh">Description</th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">hazelcastInstance</td><td
colspan="1" rowspan="1" class="confluenceTd">No</td><td colspan="1" rowspan="1" class="confluenceTd"><strong>Camel 2.14:</strong><span> The hazelcast instance <strong>reference</strong> which can be used for hazelcast endpoint. If you don't specify the instance reference, camel use the default hazelcast instance from the camel-hazelcast instance.</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">hazelcastInstanceName</td><td colspan="1" rowspan="1" class="confluenceTd">No</td><td colspan="1" rowspan="1" class="confluenceTd"><strong>Camel 2.16:</strong><span> The hazelcast instance <strong>reference name</strong> which can be used for hazelcast endpoint. If you don't specify the instance reference, camel use the default hazelcast instance from the camel-hazelcast instance.</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">operation</td><td colspan="1" rowspan="1" class="confluenceTd">-1</td><td colspan="1" rowspan="1" class="confluenceTd"><span>
To specify a default operation to use, if no operation header has been provided. </span><strong>deprecated</strong><span> use defaultOperation instead.</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><span>defaultOperation</span></td><td colspan="1" rowspan="1" class="confluenceTd">-1</td><td colspan="1" rowspan="1" class="confluenceTd"><strong>Camel 2.15:</strong><span> To specify a default operation to use, if no operation header has been provided.</span></td></tr></tbody></table></div><div class="confluence-information-macro confluence-information-macro-warning"><span class="aui-icon aui-icon-small aui-iconfont-error confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><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><li>Usage of <a shape="rect" href="#BookComponentAppendix-replicatedmap">#replicatedmap</a> </li><li>Usage of <a shape="rect" href="#BookComponentAppendix-ringbuffer">#ringbuffer</a> </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("hazelcast:map:f
oo")">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>vali
d values are: put, delete, get, update, query</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="confluence-information-macro confluence-information-macro-warning"><span class="aui-icon aui-icon-small aui-iconfont-error confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><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" r
owspan="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, delete, get, update, query <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p><p><strong><strong>From Camel 2.16:</strong></strong> getAll, putIfAbsent, clear.</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 (not needed for the query operation) <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr></tbody></table></div><p>You can call the samples with:</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[template.sendBodyAndHeader("direct:[put|get|update|delete|query]", "my-foo", HazelcastConstants.OBJECT_ID, "4711");
]]></script>
</div></div><h5 id="BookComponentAppendix-Sampleforput:">Sample for <strong>put</strong>:</h5><p>Java DSL:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
@@ -4116,7 +4116,27 @@ template.sendBodyAndHeader("direct:
.otherwise()
.log("fail!");
]]></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="confluence-information-macro confluence-information-macro-warning"><span class="aui-icon aui-icon-small aui-iconfont-error confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><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 i
n 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="confluenceTd"><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></di
v> <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>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="confluence-information-macro confluence-information-macro-warning"><span class="aui-icon aui-icon-small aui-iconfont-error confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><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 i
n 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="confluenceTd"><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></di
v><p><span class="confluence-anchor-link" id="BookComponentAppendix-ringbuffer"></span></p><h3 id="BookComponentAppendix-UsageofRingbuffer">Usage of Ringbuffer</h3><p><strong>Avalaible from Camel 2.16</strong></p><h4 id="BookComponentAppendix-ringbuffercacheproducer-to("hazelcast:ringbuffer:foo")">ringbuffer cache producer - to("<a shape="rect" class="external-link" href="http://hazelcastreplicatedmapfoo/" rel="nofollow">hazelcast:ringbuffer:foo</a>")</h4><p><span style="color: rgb(68,68,68);">Ringbuffer is a distributed data structure where the data is stored in a ring-like structure. You can think of it as a circular array with a certain capacity.</span> The ringbuffer producer provides 5 operations (add, readonceHead, readonceTail, remainingCapacity, capacity).</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: add, readonceHead, readonceTail, remainingCapacity, capacity</p></td></tr></tbody></table></div><div class="confluence-information-macro confluence-information-macro-warning"><span class="aui-icon aui-icon-small aui-iconfont-error confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><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="conflu
enceTh"><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="#">Version 2.8</a></strong></p></td></tr></tbody></table></div><h5 id="BookComponentAppendix-Sampleforput:.4">Sample for <strong>put</strong>:</h5><p>Java DSL:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[from("direct:put")
+.setHeader(HazelcastConstants.OPERATION, constant(HazelcastConstants.ADD_OPERATION))
+.to(String.format("hazelcast:%sbar", HazelcastConstants.RINGBUFFER_PREFIX));
+]]></script>
+</div></div><p>Spring DSL:</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[<route>
+ <from uri="direct:put" />
+ <log message="put.."/>
+ <!-- If using version 2.8 and above set headerName to "CamelHazelcastOperationType" -->
+ <setHeader headerName="hazelcast.operation.type">
+ <constant>add</constant>
+ </setHeader>
+ <to uri="hazelcast:ringbuffer:foo" />
+</route>]]></script>
+</div></div><h5 id="BookComponentAppendix-Sampleforreadoncefromhead:">Sample for <strong>readonce from head</strong>:</h5><p>Java DSL:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[from("direct:get")
+.setHeader(HazelcastConstants.OPERATION, constant(HazelcastConstants.READ_ONCE_HEAD_OPERATION))
+.toF("hazelcast:%sbar", HazelcastConstants.RINGBUFFER_PREFIX)
+.to("seda:out");]]></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">
<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-hdfs</artifactId>
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 Fri Sep 11 12:21:06 2015
@@ -3685,11 +3685,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> </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.rbtoc1441703901982 {padding: 0px;}
-div.rbtoc1441703901982 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1441703901982 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1441973947124 {padding: 0px;}
+div.rbtoc1441973947124 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1441973947124 li {margin-left: 0px;padding-left: 0px;}
-/*]]>*/</style></p><div class="toc-macro rbtoc1441703901982">
+/*]]>*/</style></p><div class="toc-macro rbtoc1441973947124">
<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>
@@ -5789,11 +5789,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.rbtoc1441703902493 {padding: 0px;}
-div.rbtoc1441703902493 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1441703902493 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1441973947764 {padding: 0px;}
+div.rbtoc1441973947764 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1441973947764 li {margin-left: 0px;padding-left: 0px;}
-/*]]>*/</style><div class="toc-macro rbtoc1441703902493">
+/*]]>*/</style><div class="toc-macro rbtoc1441973947764">
<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>
@@ -17599,11 +17599,11 @@ template.send("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.rbtoc1441703922985 {padding: 0px;}
-div.rbtoc1441703922985 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1441703922985 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1441973968091 {padding: 0px;}
+div.rbtoc1441973968091 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1441973968091 li {margin-left: 0px;padding-left: 0px;}
-/*]]>*/</style></p><div class="toc-macro rbtoc1441703922985">
+/*]]>*/</style></p><div class="toc-macro rbtoc1441973968091">
<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>
@@ -19953,9 +19953,9 @@ http://java.sun.com/xml/ns/javaee/web-ap
</dependency>
]]></script>
</div></div><h3 id="BookInOnePage-URIformat.24">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[hazelcast:[ map | multimap | queue | topic | seda | set | atomicvalue | instance | list]:cachename[?options]
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[hazelcast:[ map | multimap | queue | topic | seda | set | atomicvalue | instance | list | ringbuffer]:cachename[?options]
]]></script>
-</div></div><div class="confluence-information-macro confluence-information-macro-information"><span class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>Topic support is available as of Camel 2.15. </p></div></div><p> </p><h3 id="BookInOnePage-Options.39">Options</h3><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh">Name</th><th colspan="1" rowspan="1" class="confluenceTh">Required</th><th colspan="1" rowspan="1" class="confluenceTh">Description</th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">hazelcastInstance</td><td colspan="1" rowspan="1" class="confluenceTd">No</td><td colspan="1" rowspan="1" class="confluenceTd"><strong>Camel 2.14:</strong><span> The hazelcast instance <strong>reference</strong> which can be used for hazelcast endpoint. If you don't specify the instance reference, camel use the default
hazelcast instance from the camel-hazelcast instance.</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">hazelcastInstanceName</td><td colspan="1" rowspan="1" class="confluenceTd">No</td><td colspan="1" rowspan="1" class="confluenceTd"><strong>Camel 2.16:</strong><span> The hazelcast instance <strong>reference name</strong> which can be used for hazelcast endpoint. If you don't specify the instance reference, camel use the default hazelcast instance from the camel-hazelcast instance.</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">operation</td><td colspan="1" rowspan="1" class="confluenceTd">-1</td><td colspan="1" rowspan="1" class="confluenceTd"><span>To specify a default operation to use, if no operation header has been provided. </span><strong>deprecated</strong><span> use defaultOperation instead.</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><span>defaultOperation</span></td><td colspan="1" rowspan="1" class="conflu
enceTd">-1</td><td colspan="1" rowspan="1" class="confluenceTd"><strong>Camel 2.15:</strong><span> To specify a default operation to use, if no operation header has been provided.</span></td></tr></tbody></table></div><div class="confluence-information-macro confluence-information-macro-warning"><span class="aui-icon aui-icon-small aui-iconfont-error confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><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="#BookIn
OnePage-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> </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("hazelcast:map:foo")">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="tab
le-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></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="confluence-information-macro confluence-information-macro-warning"><spa
n class="aui-icon aui-icon-small aui-iconfont-error confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><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, delete, get, update, query <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p><p><strong><strong>From Camel 2.16:</strong></strong> getAll, putIfAbsent, clear.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><cod
e>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 (not needed for the query operation) <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr></tbody></table></div><p>You can call the samples with:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><div class="confluence-information-macro confluence-information-macro-information"><span class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>Topic support is available as of Camel 2.15. </p></div></div><div class="confluence-information-macro confluence-information-macro-information"><span class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>RingBuffer support is available as of Camel 2.16. </p></div></div><h3 id="BookInOnePage-Options.39">Options</h3><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh">Name</th><th colspan="1" rowspan="1" class="confluenceTh">Required</th><th colspan="1" rowspan="1" class="confluenceTh">Description</th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">hazelcastInstance</td><td colspan
="1" rowspan="1" class="confluenceTd">No</td><td colspan="1" rowspan="1" class="confluenceTd"><strong>Camel 2.14:</strong><span> The hazelcast instance <strong>reference</strong> which can be used for hazelcast endpoint. If you don't specify the instance reference, camel use the default hazelcast instance from the camel-hazelcast instance.</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">hazelcastInstanceName</td><td colspan="1" rowspan="1" class="confluenceTd">No</td><td colspan="1" rowspan="1" class="confluenceTd"><strong>Camel 2.16:</strong><span> The hazelcast instance <strong>reference name</strong> which can be used for hazelcast endpoint. If you don't specify the instance reference, camel use the default hazelcast instance from the camel-hazelcast instance.</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">operation</td><td colspan="1" rowspan="1" class="confluenceTd">-1</td><td colspan="1" rowspan="1" class="confluenceTd"><span>To speci
fy a default operation to use, if no operation header has been provided. </span><strong>deprecated</strong><span> use defaultOperation instead.</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><span>defaultOperation</span></td><td colspan="1" rowspan="1" class="confluenceTd">-1</td><td colspan="1" rowspan="1" class="confluenceTd"><strong>Camel 2.15:</strong><span> To specify a default operation to use, if no operation header has been provided.</span></td></tr></tbody></table></div><div class="confluence-information-macro confluence-information-macro-warning"><span class="aui-icon aui-icon-small aui-iconfont-error confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><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="#BookInOneP
age-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> </li><li>Usage of <a shape="rect" href="#BookInOnePage-ringbuffer">#ringbuffer</a> </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("hazelcast:map:foo")">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></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="confluence-information-macro confluence-information-macro-warning"><span class="aui-icon aui-icon-small aui-iconfont-error confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><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="c
onfluenceTd"><p><code>String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>valid values are: put, delete, get, update, query <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p><p><strong><strong>From Camel 2.16:</strong></strong> getAll, putIfAbsent, clear.</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 (not needed for the query operation) <strong><a shape="rect" class="unresolved" href="#">Version 2.8</a></strong></p></td></tr></tbody></table></div><p>You can call the samples with:</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[template.sendBodyAndHeader("direct:[put|get|update|delete|query]", "my-foo", HazelcastConstants.OBJECT_ID, "4711");
]]></script>
</div></div><h5 id="BookInOnePage-Sampleforput:">Sample for <strong>put</strong>:</h5><p>Java DSL:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
@@ -20496,7 +20496,27 @@ template.sendBodyAndHeader("direct:
.otherwise()
.log("fail!");
]]></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="confluence-information-macro confluence-information-macro-warning"><span class="aui-icon aui-icon-small aui-iconfont-error confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><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 i
n 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="confluenceTd"><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></di
v> <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>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="confluence-information-macro confluence-information-macro-warning"><span class="aui-icon aui-icon-small aui-iconfont-error confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><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 i
n 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="confluenceTd"><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></di
v><p><span class="confluence-anchor-link" id="BookInOnePage-ringbuffer"></span></p><h3 id="BookInOnePage-UsageofRingbuffer">Usage of Ringbuffer</h3><p><strong>Avalaible from Camel 2.16</strong></p><h4 id="BookInOnePage-ringbuffercacheproducer-to("hazelcast:ringbuffer:foo")">ringbuffer cache producer - to("<a shape="rect" class="external-link" href="http://hazelcastreplicatedmapfoo/" rel="nofollow">hazelcast:ringbuffer:foo</a>")</h4><p><span style="color: rgb(68,68,68);">Ringbuffer is a distributed data structure where the data is stored in a ring-like structure. You can think of it as a circular array with a certain capacity.</span> The ringbuffer producer provides 5 operations (add, readonceHead, readonceTail, remainingCapacity, capacity).</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: add, readonceHead, readonceTail, remainingCapacity, capacity</p></td></tr></tbody></table></div><div class="confluence-information-macro confluence-information-macro-warning"><span class="aui-icon aui-icon-small aui-iconfont-error confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><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="#">Version 2.8</a></strong></p></td></tr></tbody></table></div><h5 id="BookInOnePage-Sampleforput:.4">Sample for <strong>put</strong>:</h5><p>Java DSL:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[from("direct:put")
+.setHeader(HazelcastConstants.OPERATION, constant(HazelcastConstants.ADD_OPERATION))
+.to(String.format("hazelcast:%sbar", HazelcastConstants.RINGBUFFER_PREFIX));
+]]></script>
+</div></div><p>Spring DSL:</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[<route>
+ <from uri="direct:put" />
+ <log message="put.."/>
+ <!-- If using version 2.8 and above set headerName to "CamelHazelcastOperationType" -->
+ <setHeader headerName="hazelcast.operation.type">
+ <constant>add</constant>
+ </setHeader>
+ <to uri="hazelcast:ringbuffer:foo" />
+</route>]]></script>
+</div></div><h5 id="BookInOnePage-Sampleforreadoncefromhead:">Sample for <strong>readonce from head</strong>:</h5><p>Java DSL:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[from("direct:get")
+.setHeader(HazelcastConstants.OPERATION, constant(HazelcastConstants.READ_ONCE_HEAD_OPERATION))
+.toF("hazelcast:%sbar", HazelcastConstants.RINGBUFFER_PREFIX)
+.to("seda:out");]]></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">
<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-hdfs</artifactId>
Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.