Author: buildbot
Date: Wed Dec 17 10:18:48 2014
New Revision: 933101
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 Wed Dec 17
10:18:48 2014
@@ -1415,11 +1415,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.rbtoc1418807862484 {padding: 0px;}
-div.rbtoc1418807862484 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1418807862484 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1418811456897 {padding: 0px;}
+div.rbtoc1418811456897 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1418811456897 li {margin-left: 0px;padding-left: 0px;}
-/*]]>*/</style></p><div class="toc-macro rbtoc1418807862484">
+/*]]>*/</style></p><div class="toc-macro rbtoc1418811456897">
<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>
@@ -4257,15 +4257,21 @@ 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="theme: Default; brush: java; gutter: false"
type="syntaxhighlighter"><![CDATA[hazelcast:[ map | multimap | queue | seda |
set | atomicvalue | instance]:cachename[?options]
+<script class="theme: Default; brush: java; gutter: false"
type="syntaxhighlighter"><![CDATA[hazelcast:[ map | multimap | queue | topic |
seda | set | atomicvalue | instance]:cachename[?options]
]]></script>
-</div></div><p> </p><h3
id="BookComponentAppendix-Options.18">Options</h3><div
class="table-wrap"><table class="confluenceTable"><tbody><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p>Name</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>Required</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>Description</p></td></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>Since Camel 2.14</strong> The hazelcast instance
reference name 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.</td></tr></tbody></table></div><p> </p><p> </p> <div
class="aui-message problem shadowed information-macro">
+</div></div> <div class="aui-message problem shadowed information-macro">
+ <span class="aui-icon icon-problem">Icon</span>
+ <div class="message-content">
+ <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><td colspan="1"
rowspan="1" class="confluenceTd"><p>Name</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>Required</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>Description</p></td></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>Since Camel 2.14</strong> The hazelcast instance
reference name 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.</td></tr></tbody></table></div><p> </p><p> </p> <div
class="aui-message problem shadowed information-macro">
<span class="aui-icon icon-problem">Icon</span>
<div class="message-content">
<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-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("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 p
roducer. 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>hazelca
st.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></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: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
></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>
@@ -4639,7 +4645,19 @@ template.sendBodyAndHeader("direct:
.otherwise()
.log("fail!");
]]></script>
-</div></div><p><span class="confluence-anchor-link"
id="BookComponentAppendix-list"></span></p><h3
id="BookComponentAppendix-UsageofList">Usage of List</h3><h4
id="BookComponentAppendix-Listproducer–to(“hazelcast:list:foo”)">List
producer – to(“hazelcast:list:foo”)</h4><p>The list producer
provides 4 operations (add, set, get, removevalue).</p><h5
id="BookComponentAppendix-Sampleforadd:.1">Sample for
<strong>add</strong>:</h5><div class="code panel pdl" style="border-width:
1px;"><div class="codeContent panelContent pdl">
+</div></div><h3 id="BookComponentAppendix-topic"><span
class="confluence-anchor-link" id="BookComponentAppendix-topic"></span></h3><h3
id="BookComponentAppendix-UsageofTopic">Usage of Topic</h3><h4
id="BookComponentAppendix-Topicproducer–to(“hazelcast:topic:foo”)">Topic
producer – to(“hazelcast:topic:foo”)</h4><p>The topic
producer provides only one operation (publish).</p><h5
id="BookComponentAppendix-Sampleforpublish:">Sample
for <strong>publish</strong>:</h5><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("direct:add")
+.setHeader(HazelcastConstants.OPERATION,
constant(HazelcastConstants.PUBLISH_OPERATION))
+.toF("hazelcast:%sbar", HazelcastConstants.PUBLISH_OPERATION);
+]]></script>
+</div></div><h4
id="BookComponentAppendix-Topicconsumer–from(“hazelcast:topic:foo”)">Topic
consumer – from(“hazelcast:topic:foo”)</h4><p>The topic
consumer provides only one operation (received). This component is supposed to
support multiple consumption as it's expected when it comes to topics so you
are free to have as much consumers as you need on the same hazelcast
topic.</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("hazelcast:%sfoo",
HazelcastConstants.TOPIC_PREFIX)
+ .choice()
+
.when(header(HazelcastConstants.LISTENER_ACTION).isEqualTo(HazelcastConstants.RECEIVED))
+ .log("...message received")
+ .otherwise()
+ .log("...this should never have happened")]]></script>
+</div></div><p> </p><p><span class="confluence-anchor-link"
id="BookComponentAppendix-list"></span></p><h3
id="BookComponentAppendix-UsageofList">Usage of List</h3><h4
id="BookComponentAppendix-Listproducer–to(“hazelcast:list:foo”)">List
producer – to(“hazelcast:list:foo”)</h4><p>The list producer
provides 4 operations (add, set, get, removevalue).</p><h5
id="BookComponentAppendix-Sampleforadd:.1">Sample for
<strong>add</strong>:</h5><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("direct:add")
.setHeader(HazelcastConstants.OPERATION,
constant(HazelcastConstants.ADD_OPERATION))
.toF("hazelcast:%sbar", HazelcastConstants.LIST_PREFIX);
Modified: websites/production/camel/content/book-in-one-page.html
==============================================================================
--- websites/production/camel/content/book-in-one-page.html (original)
+++ websites/production/camel/content/book-in-one-page.html Wed Dec 17 10:18:48
2014
@@ -4126,11 +4126,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.rbtoc1418807874986 {padding: 0px;}
-div.rbtoc1418807874986 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1418807874986 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1418811464886 {padding: 0px;}
+div.rbtoc1418811464886 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1418811464886 li {margin-left: 0px;padding-left: 0px;}
-/*]]>*/</style></p><div class="toc-macro rbtoc1418807874986">
+/*]]>*/</style></p><div class="toc-macro rbtoc1418811464886">
<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>
@@ -6316,11 +6316,11 @@ So we completed the last piece in the pi
<style type="text/css">/*<![CDATA[*/
-div.rbtoc1418807875632 {padding: 0px;}
-div.rbtoc1418807875632 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1418807875632 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1418811465496 {padding: 0px;}
+div.rbtoc1418811465496 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1418811465496 li {margin-left: 0px;padding-left: 0px;}
-/*]]>*/</style><div class="toc-macro rbtoc1418807875632">
+/*]]>*/</style><div class="toc-macro rbtoc1418811465496">
<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>
@@ -19229,11 +19229,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.rbtoc1418807885436 {padding: 0px;}
-div.rbtoc1418807885436 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1418807885436 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1418811471661 {padding: 0px;}
+div.rbtoc1418811471661 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1418811471661 li {margin-left: 0px;padding-left: 0px;}
-/*]]>*/</style></p><div class="toc-macro rbtoc1418807885436">
+/*]]>*/</style></p><div class="toc-macro rbtoc1418811471661">
<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>
@@ -22071,15 +22071,21 @@ 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="theme: Default; brush: java; gutter: false"
type="syntaxhighlighter"><![CDATA[hazelcast:[ map | multimap | queue | seda |
set | atomicvalue | instance]:cachename[?options]
+<script class="theme: Default; brush: java; gutter: false"
type="syntaxhighlighter"><![CDATA[hazelcast:[ map | multimap | queue | topic |
seda | set | atomicvalue | instance]:cachename[?options]
]]></script>
-</div></div><p> </p><h3 id="BookInOnePage-Options.39">Options</h3><div
class="table-wrap"><table class="confluenceTable"><tbody><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p>Name</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>Required</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>Description</p></td></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>Since Camel 2.14</strong> The hazelcast instance
reference name 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.</td></tr></tbody></table></div><p> </p><p> </p> <div
class="aui-message problem shadowed information-macro">
+</div></div> <div class="aui-message problem shadowed information-macro">
+ <span class="aui-icon icon-problem">Icon</span>
+ <div class="message-content">
+ <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><td colspan="1"
rowspan="1" class="confluenceTd"><p>Name</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>Required</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>Description</p></td></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>Since Camel 2.14</strong> The hazelcast instance
reference name 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.</td></tr></tbody></table></div><p> </p><p> </p> <div
class="aui-message problem shadowed information-macro">
<span class="aui-icon icon-problem">Icon</span>
<div class="message-content">
<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-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("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>Str
ing</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></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</cod
e></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>
@@ -22453,7 +22459,19 @@ template.sendBodyAndHeader("direct:
.otherwise()
.log("fail!");
]]></script>
-</div></div><p><span class="confluence-anchor-link"
id="BookInOnePage-list"></span></p><h3 id="BookInOnePage-UsageofList">Usage of
List</h3><h4
id="BookInOnePage-Listproducer–to(“hazelcast:list:foo”)">List
producer – to(“hazelcast:list:foo”)</h4><p>The list producer
provides 4 operations (add, set, get, removevalue).</p><h5
id="BookInOnePage-Sampleforadd:.1">Sample for <strong>add</strong>:</h5><div
class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
+</div></div><h3 id="BookInOnePage-topic"><span class="confluence-anchor-link"
id="BookInOnePage-topic"></span></h3><h3 id="BookInOnePage-UsageofTopic">Usage
of Topic</h3><h4
id="BookInOnePage-Topicproducer–to(“hazelcast:topic:foo”)">Topic
producer – to(“hazelcast:topic:foo”)</h4><p>The topic
producer provides only one operation (publish).</p><h5
id="BookInOnePage-Sampleforpublish:">Sample
for <strong>publish</strong>:</h5><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("direct:add")
+.setHeader(HazelcastConstants.OPERATION,
constant(HazelcastConstants.PUBLISH_OPERATION))
+.toF("hazelcast:%sbar", HazelcastConstants.PUBLISH_OPERATION);
+]]></script>
+</div></div><h4
id="BookInOnePage-Topicconsumer–from(“hazelcast:topic:foo”)">Topic
consumer – from(“hazelcast:topic:foo”)</h4><p>The topic
consumer provides only one operation (received). This component is supposed to
support multiple consumption as it's expected when it comes to topics so you
are free to have as much consumers as you need on the same hazelcast
topic.</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("hazelcast:%sfoo",
HazelcastConstants.TOPIC_PREFIX)
+ .choice()
+
.when(header(HazelcastConstants.LISTENER_ACTION).isEqualTo(HazelcastConstants.RECEIVED))
+ .log("...message received")
+ .otherwise()
+ .log("...this should never have happened")]]></script>
+</div></div><p> </p><p><span class="confluence-anchor-link"
id="BookInOnePage-list"></span></p><h3 id="BookInOnePage-UsageofList">Usage of
List</h3><h4
id="BookInOnePage-Listproducer–to(“hazelcast:list:foo”)">List
producer – to(“hazelcast:list:foo”)</h4><p>The list producer
provides 4 operations (add, set, get, removevalue).</p><h5
id="BookInOnePage-Sampleforadd:.1">Sample for <strong>add</strong>:</h5><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("direct:add")
.setHeader(HazelcastConstants.OPERATION,
constant(HazelcastConstants.ADD_OPERATION))
.toF("hazelcast:%sbar", HazelcastConstants.LIST_PREFIX);
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 Wed Dec 17
10:18:48 2014
@@ -94,15 +94,21 @@
</dependency>
]]></script>
</div></div><h3 id="HazelcastComponent-URIformat">URI format</h3><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[hazelcast:[ map | multimap | queue | seda |
set | atomicvalue | instance]:cachename[?options]
+<script class="theme: Default; brush: java; gutter: false"
type="syntaxhighlighter"><![CDATA[hazelcast:[ map | multimap | queue | topic |
seda | set | atomicvalue | instance]:cachename[?options]
]]></script>
-</div></div><p> </p><h3 id="HazelcastComponent-Options">Options</h3><div
class="table-wrap"><table class="confluenceTable"><tbody><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p>Name</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>Required</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>Description</p></td></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>Since Camel 2.14</strong> The hazelcast instance
reference name 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.</td></tr></tbody></table></div><p> </p><p> </p> <div
class="aui-message problem shadowed information-macro">
+</div></div> <div class="aui-message problem shadowed information-macro">
+ <span class="aui-icon icon-problem">Icon</span>
+ <div class="message-content">
+ <p>Topic support is available as of Camel
2.15. </p>
+ </div>
+ </div>
+<p> </p><h3 id="HazelcastComponent-Options">Options</h3><div
class="table-wrap"><table class="confluenceTable"><tbody><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p>Name</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>Required</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>Description</p></td></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>Since Camel 2.14</strong> The hazelcast instance
reference name 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.</td></tr></tbody></table></div><p> </p><p> </p> <div
class="aui-message problem shadowed information-macro">
<span class="aui-icon icon-problem">Icon</span>
<div class="message-content">
<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-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("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 p
rovides 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 co
lspan="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></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("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" rowsp
an="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>
@@ -476,7 +482,19 @@ template.sendBodyAndHeader("direct:
.otherwise()
.log("fail!");
]]></script>
-</div></div><p><span class="confluence-anchor-link"
id="HazelcastComponent-list"></span></p><h3
id="HazelcastComponent-UsageofList">Usage of List</h3><h4
id="HazelcastComponent-Listproducer–to(“hazelcast:list:foo”)">List
producer – to(“hazelcast:list:foo”)</h4><p>The list producer
provides 4 operations (add, set, get, removevalue).</p><h5
id="HazelcastComponent-Sampleforadd:.1">Sample for
<strong>add</strong>:</h5><div class="code panel pdl" style="border-width:
1px;"><div class="codeContent panelContent pdl">
+</div></div><h3 id="HazelcastComponent-topic"><span
class="confluence-anchor-link" id="HazelcastComponent-topic"></span></h3><h3
id="HazelcastComponent-UsageofTopic">Usage of Topic</h3><h4
id="HazelcastComponent-Topicproducer–to(“hazelcast:topic:foo”)">Topic
producer – to(“hazelcast:topic:foo”)</h4><p>The topic
producer provides only one operation (publish).</p><h5
id="HazelcastComponent-Sampleforpublish:">Sample
for <strong>publish</strong>:</h5><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("direct:add")
+.setHeader(HazelcastConstants.OPERATION,
constant(HazelcastConstants.PUBLISH_OPERATION))
+.toF("hazelcast:%sbar", HazelcastConstants.PUBLISH_OPERATION);
+]]></script>
+</div></div><h4
id="HazelcastComponent-Topicconsumer–from(“hazelcast:topic:foo”)">Topic
consumer – from(“hazelcast:topic:foo”)</h4><p>The topic
consumer provides only one operation (received). This component is supposed to
support multiple consumption as it's expected when it comes to topics so you
are free to have as much consumers as you need on the same hazelcast
topic.</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("hazelcast:%sfoo",
HazelcastConstants.TOPIC_PREFIX)
+ .choice()
+
.when(header(HazelcastConstants.LISTENER_ACTION).isEqualTo(HazelcastConstants.RECEIVED))
+ .log("...message received")
+ .otherwise()
+ .log("...this should never have happened")]]></script>
+</div></div><p> </p><p><span class="confluence-anchor-link"
id="HazelcastComponent-list"></span></p><h3
id="HazelcastComponent-UsageofList">Usage of List</h3><h4
id="HazelcastComponent-Listproducer–to(“hazelcast:list:foo”)">List
producer – to(“hazelcast:list:foo”)</h4><p>The list producer
provides 4 operations (add, set, get, removevalue).</p><h5
id="HazelcastComponent-Sampleforadd:.1">Sample for
<strong>add</strong>:</h5><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("direct:add")
.setHeader(HazelcastConstants.OPERATION,
constant(HazelcastConstants.ADD_OPERATION))
.toF("hazelcast:%sbar", HazelcastConstants.LIST_PREFIX);