camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r899673 - in /websites/production/camel/content: cache/main.pageCache couchbase.html infinispan.html
Date Sun, 02 Mar 2014 01:18:46 GMT
Author: buildbot
Date: Sun Mar  2 01:18:46 2014
New Revision: 899673

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/couchbase.html
    websites/production/camel/content/infinispan.html

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

Modified: websites/production/camel/content/couchbase.html
==============================================================================
--- websites/production/camel/content/couchbase.html (original)
+++ websites/production/camel/content/couchbase.html Sun Mar  2 01:18:46 2014
@@ -85,15 +85,29 @@
 	<tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><p><strong>Available as of Camel
Extra 2.13</strong></p><p>The camel-couchbase component supports the interaction
to the NoSQL document database <a shape="rect" class="external-link" href="http://www.couchbase.com"
rel="nofollow">Couchbase</a> via the <a shape="rect" class="external-link" href="http://www.couchbase.com/communities/java/getting-started"
rel="nofollow">couchbase-client</a> library.</p><h3 id="Couchbase-Dependency">Dependency</h3><div
class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
+<div class="wiki-content maincontent"><p><strong>Available as of Camel
Extra 2.13</strong></p><p>The camel-couchbase component supports the interaction
to the NoSQL document database <a shape="rect" class="external-link" href="http://www.couchbase.com"
rel="nofollow">Couchbase</a> via the <a shape="rect" class="external-link" href="http://www.couchbase.com/communities/java/getting-started"
rel="nofollow">couchbase-client</a> library.&#160;<a shape="rect" class="external-link"
href="http://www.couchbase.com" style="text-decoration: underline;" rel="nofollow">Couchbase</a><span
style="line-height: 1.4285715;">&#160;is an high performance Document Store very easy
to scale out, which supports topology changes with no downtime</span></p><h3
id="Couchbase-Dependency">Dependency</h3><div class="code panel pdl" style="border-width:
1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
   &lt;groupId&gt;org.apache-extras.camel-extra&lt;/groupId&gt;
   &lt;artifactId&gt;camel-couchbase&lt;/artifactId&gt;
   &lt;version&gt;2.13.0&lt;/version&gt;
 &lt;/dependency&gt;]]></script>
 </div></div><h3 id="Couchbase-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[couchbase:protocol://host[:port]/bucket]]></script>
-</div></div></div>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[couchbase:http[s]://hostname/bucket?[options]]]></script>
+</div></div><h3 id="Couchbase-URIoptions">URI 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">Default
Value</th><th colspan="1" rowspan="1" class="confluenceTh">Type</th><th
colspan="1" rowspan="1" class="confluenceTh">Context</th><th colspan="1" rowspan="1"
class="confluenceTh">Description</th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd">designDocumentName</td><td colspan="1" rowspan="1" class="confluenceTd">"beer"</td><td
colspan="1" rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1"
class="confluenceTd">Consumer</td><td colspan="1" rowspan="1" class="confluenceTd">The
Document Design name, defaults to the beer example distributed with Couchbase</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">viewName</td><td colspan="1" rowspan="1"
class="confluenceTd">"brewery_beers"</td><td colspan="1" rowspan="1
 " class="confluenceTd">String</td><td colspan="1" rowspan="1" class="confluenceTd">Consumer</td><td
colspan="1" rowspan="1" class="confluenceTd">The Document view name, defaults, to the <span>beer
example <span>distributed with Couchbase</span></span></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">limit</td><td colspan="1" rowspan="1"
class="confluenceTd">-1</td><td colspan="1" rowspan="1" class="confluenceTd">int</td><td
colspan="1" rowspan="1" class="confluenceTd">Consumer</td><td colspan="1" rowspan="1"
class="confluenceTd"><span>Limit the number of results that should be returned, default
is </span>unlimited</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">descending</td><td
colspan="1" rowspan="1" class="confluenceTd">false</td><td colspan="1" rowspan="1"
class="confluenceTd">boolean</td><td colspan="1" rowspan="1" class="confluenceTd">Consumer</td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Revert the sorting order of the
result set.</spa
 n></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">skip</td><td
colspan="1" rowspan="1" class="confluenceTd">0</td><td colspan="1" rowspan="1"
class="confluenceTd">int</td><td colspan="1" rowspan="1" class="confluenceTd">Consumer</td><td
colspan="1" rowspan="1" class="confluenceTd">Number of results to skip</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">rangeStartKey</td><td colspan="1"
rowspan="1" class="confluenceTd"><span>""</span></td><td colspan="1"
rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1" class="confluenceTd">Consumer</td><td
colspan="1" rowspan="1" class="confluenceTd"><span style="color: rgb(53,56,51);">Start
Key to return records in the given key range.</span></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">rangeEndKey</td><td colspan="1" rowspan="1"
class="confluenceTd"><span>""</span></td><td colspan="1" rowspan="1"
class="confluenceTd">String</td><td colspan="1" rowspan="1" class="confluenceTd">Con
 sumer</td><td colspan="1" rowspan="1" class="confluenceTd"><span style="color:
rgb(53,56,51);">End Key to return records in the given key range.</span></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">consumerProcessedStrategy</td><td
colspan="1" rowspan="1" class="confluenceTd">none</td><td colspan="1" rowspan="1"
class="confluenceTd">String</td><td colspan="1" rowspan="1" class="confluenceTd">Consumer</td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The strategy applied with consumed
documents</p><p>none = consumed documents are untouched, you should beware of
duplicates (f.e. use an idempotent receiver)</p><p>delete = consumed documents
are deleted</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">operation</td><td
colspan="1" rowspan="1" class="confluenceTd">PUT</td><td colspan="1" rowspan="1"
class="confluenceTd">String</td><td colspan="1" rowspan="1" class="confluenceTd">Producer</td><td
colspan="1" rowspan="1" class="confluenceTd">The opera
 tion to perform, currently supports the following values: PUT, DELETE, GET</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">autoStartIdForInserts</td><td colspan="1"
rowspan="1" class="confluenceTd">false</td><td colspan="1" rowspan="1" class="confluenceTd">boolean</td><td
colspan="1" rowspan="1" class="confluenceTd">Producer</td><td colspan="1" rowspan="1"
class="confluenceTd">If set to true, document id will be automatically generated</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">startingIdForInsertsFrom</td><td
colspan="1" rowspan="1" class="confluenceTd">0</td><td colspan="1" rowspan="1"
class="confluenceTd">int</td><td colspan="1" rowspan="1" class="confluenceTd">Producer</td><td
colspan="1" rowspan="1" class="confluenceTd">Starting value for the document id (if <span>autoStartIdForInserts
== true)</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">username</td><td
colspan="1" rowspan="1" class="confluenceTd"><span>""</span></td><t
 d colspan="1" rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1"
class="confluenceTd">Shared</td><td colspan="1" rowspan="1" class="confluenceTd">Username</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">password</td><td colspan="1" rowspan="1"
class="confluenceTd">""</td><td colspan="1" rowspan="1" class="confluenceTd">String</td><td
colspan="1" rowspan="1" class="confluenceTd">Shared</td><td colspan="1" rowspan="1"
class="confluenceTd">Password</td></tr></tbody></table></div><h3
id="Couchbase-MoreURIoptions">More URI options</h3><p>Following URI options
control how the&#160;<a shape="rect" class="external-link" href="http://www.couchbase.com/autodocs/couchbase-java-client-1.3.1/com/couchbase/client/CouchbaseConnectionFactoryBuilder.html"
rel="nofollow">CouchbaseConnectionFactoryBuilder</a> instantiates the connection.
Every option defaults to&#160;<a shape="rect" class="external-link" href="http://www.couchbase.com/communities/java/getting-started
 " rel="nofollow">couchbase-client</a>&#160;defaults.</p><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh">Name</th><th
colspan="1" rowspan="1" class="confluenceTh">Default Value</th><th colspan="1"
rowspan="1" class="confluenceTh">Type</th><th colspan="1" rowspan="1" class="confluenceTh">Context</th><th
colspan="1" rowspan="1" class="confluenceTh"><span>Description</span></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">opTimeOut</td><td colspan="1" rowspan="1"
class="confluenceTd">2500</td><td colspan="1" rowspan="1" class="confluenceTd">int</td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Shared</span></td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Time in milliseconds for an operation
to time out</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">timeoutExceptionThreshold</td><td
colspan="1" rowspan="1" class="confluenceTd">998</td><td colspan="1" rowspan="1"
clas
 s="confluenceTd">int</td><td colspan="1" rowspan="1" class="confluenceTd"><span>Shared</span></td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Number of operations to time out
before the node is deemed down</span></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd">readBufferSize</td><td colspan="1" rowspan="1"
class="confluenceTd">16384</td><td colspan="1" rowspan="1" class="confluenceTd">int</td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Shared</span></td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Read buffer size</span></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">maxReconnectDelay</td><td colspan="1"
rowspan="1" class="confluenceTd">30000</td><td colspan="1" rowspan="1" class="confluenceTd">int</td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Shared</span></td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Maximum number of milliseconds
to wait between reconnect attempts.</span></td></tr><tr><td colsp
 an="1" rowspan="1" class="confluenceTd">shouldOptimize</td><td colspan="1" rowspan="1"
class="confluenceTd">false</td><td colspan="1" rowspan="1" class="confluenceTd">boolean</td><td
colspan="1" rowspan="1" class="confluenceTd">Shared</td><td colspan="1" rowspan="1"
class="confluenceTd"><span>Optimize behavior for the network</span></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">opQueueMaxBlockTime</td><td colspan="1"
rowspan="1" class="confluenceTd">10000</td><td colspan="1" rowspan="1" class="confluenceTd">int</td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Shared</span></td><td
colspan="1" rowspan="1" class="confluenceTd">The maximum time to block waiting for op queue
operations to complete, in milliseconds.</td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd">obsPollInterval</td><td colspan="1" rowspan="1"
class="confluenceTd">400</td><td colspan="1" rowspan="1" class="confluenceTd">int</td><td
colspan="1" rowspan="1" class="confluenceTd"><span
 >Shared</span></td><td colspan="1" rowspan="1" class="confluenceTd">Wait
for the specified interval before the observe operation polls the nodes.</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">obsTimeout</td><td colspan="1" rowspan="1"
class="confluenceTd">&#160;-1</td><td colspan="1" rowspan="1" class="confluenceTd">int</td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Shared</span></td><td
colspan="1" rowspan="1" class="confluenceTd">Observe operation timeout</td></tr></tbody></table></div><h3
id="Couchbase-MessageHeaders">Message Headers</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">Default Value</th><th colspan="1"
rowspan="1" class="confluenceTh">Type</th><th colspan="1" rowspan="1" class="confluenceTh">Context</th><th
colspan="1" rowspan="1" class="confluenceTh"><span>Description</span></th></tr><tr><td
colspan="1" rowspan="
 1" class="confluenceTd">CCB_KEY</td><td colspan="1" rowspan="1" class="confluenceTd">null</td><td
colspan="1" rowspan="1" class="confluenceTd"><span>String</span></td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Consumer</span></td><td
colspan="1" rowspan="1" class="confluenceTd">Key of the consumed row</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">CCB_ID</td><td colspan="1" rowspan="1"
class="confluenceTd">null</td><td colspan="1" rowspan="1" class="confluenceTd"><span>String</span></td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Consumer</span></td><td
colspan="1" rowspan="1" class="confluenceTd">Id of the consumed row</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">CCB_DDN</td><td colspan="1" rowspan="1"
class="confluenceTd">null</td><td colspan="1" rowspan="1" class="confluenceTd"><span>String</span></td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Consumer</span></td><td
colspan="1" rowspan="1" class="confluenceTd"><s
 pan>Document Design name</span></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd">CCB_VN</td><td colspan="1" rowspan="1" class="confluenceTd">null</td><td
colspan="1" rowspan="1" class="confluenceTd"><span>String</span></td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Consumer</span></td><td
colspan="1" rowspan="1" class="confluenceTd">View Name</td></tr></tbody></table></div><h3
id="Couchbase-Example">Example</h3><p>Consume 10 documents from "beer-sample"
bucket using Design Document "beer" and View "brewery_beers":</p><div class="code
panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[from(&quot;couchbase:http://localhost/beer-sample?designDocumentName=beer&amp;viewName=brewery_beers&amp;limit=10&quot;)
+	.to(&quot;mock:result&quot;);]]></script>
+</div></div><p>&#160;</p><p>Add a document with ID "12346"
to "default" bucket:</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[from(&quot;direct:start&quot;)
+	.setHeader(CouchbaseConstants.HEADER_ID, constant(&quot;123456&quot;))
+	.to(&quot;couchbase:http://localhost/default&quot;);]]></script>
+</div></div><p>&#160;</p><div><p>Add documents to
default bucket automatically generating ids, starting from 1000:</p><div class="code
panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[from(&quot;direct:start&quot;)
+	.to(&quot;couchbase:http://localhost/default?autoStartIdForInserts=true&amp;startingIdForInsertsFrom=1000&quot;)]]></script>
+</div></div><p>&#160;</p>Delete document with ID "120770" from
"default" bucket:<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[from(&quot;direct:start&quot;)
+	.setHeader(CouchbaseConstants.HEADER_ID, constant(&quot;120770&quot;))
+	.to(&quot;couchbase:http://localhost/default?operation=&#39;DELETE&#39;&quot;)]]></script>
+</div></div></div></div>
         </td>
         <td valign="top">
           <div class="navigation">

Modified: websites/production/camel/content/infinispan.html
==============================================================================
--- websites/production/camel/content/infinispan.html (original)
+++ websites/production/camel/content/infinispan.html Sun Mar  2 01:18:46 2014
@@ -85,61 +85,24 @@
 	<tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><h2 id="Infinispan-InfinispanComponent">Infinispan
Component</h2>
-<p><strong>Available as of Camel 2.13.0</strong></p>
-
-<p>This component allows you to interact with <a shape="rect" class="external-link"
href="http://infinispan.org/" rel="nofollow">Infinispan</a> distributed data grid
/ cache. Infinispan is an extremely scalable, highly available key/value data store and data
grid platform written in Java.</p>
-
-<p>Maven users will need to add the following dependency to their <code>pom.xml</code>
for this component:</p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
-<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
-&lt;dependency&gt;
+<div class="wiki-content maincontent"><h2 id="Infinispan-InfinispanComponent">Infinispan
Component</h2><p><strong>Available as of Camel 2.13.0</strong></p><p>This
component allows you to interact with <a shape="rect" class="external-link" href="http://infinispan.org/"
rel="nofollow">Infinispan</a> distributed data grid / cache. Infinispan is an extremely
scalable, highly available key/value data store and data grid platform written in Java.</p><p>Maven
users will need to add the following dependency to their <code>pom.xml</code>
for this component:</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-infinispan&lt;/artifactId&gt;
     &lt;version&gt;x.x.x&lt;/version&gt;
     &lt;!-- use the same version as your Camel core version --&gt;
 &lt;/dependency&gt;
 ]]></script>
-</div></div>
-
-<h3 id="Infinispan-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[
-infinispan://hostName?[options]
+</div></div><h3 id="Infinispan-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[infinispan://hostName?[options]
 ]]></script>
-</div></div>
-
-<h3 id="Infinispan-URIOptions">URI Options</h3>
-
-<p>The producer allows sending messages to a local infinispan cache configured in the
registry, or to a remote cahe using the HotRod protocol.<br clear="none">
-The consumer allows listening for events from local infinispan cache accessible from the
registry.</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> Default Value </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Type </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Context </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Description </p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>cacheContainer </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>null</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> CacheContainer </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> Shared </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> Reference to a <code>org.infinispan.manager.CacheContainer</code>
in the <a shape="rect" href="registry.html">Registry</a>. </p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>cacheName </p></td>
 <td colspan="1" rowspan="1" class="confluenceTd"><p> <code>null</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> String
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Shared
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The
cache name to use. If not specified, default cache is used. </p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>command </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>PUT</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> String </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> Producer </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> The operation to perform. Currently
supports the following values: PUT, GET, REMOVE, CLEAR. </p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>eventTypes </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>null</code> </p></td><td
colspan="1" rowspan="1" class="conflu
 enceTd"><p> Set&lt;String&gt; </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> Consumer </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> The event types to register. By default will listen for
all event types. Possible values defined in org.infinispan.notifications.cachelistener.event.Event.Type
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>sync
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>true</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Boolean
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Consumer
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> By default
the consumer will receive notifications synchronosly, by the same thread that process the
cache operation. </p></td></tr></tbody></table></div>
-
-
-
-<h3 id="Infinispan-MessageHeaders">Message Headers</h3>
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p> Name </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Default Value </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Type </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Context </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Description </p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>CamelInfinispanCacheName </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>null</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> String </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> Shared </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> The cache participating in the operation
or event. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>CamelInfinispanOperation
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <co
 de>PUT</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
String </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
Producer </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
The operation to perform: CamelInfinispanOperationPut, CamelInfinispanOperationGet, CamelInfinispanOperationRemove,
CamelInfinispanOperationClear. </p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p>CamelInfinispanKey </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>null</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> Object </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> Shared </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> The key to perform the operation
to or the key generating the event. </p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p>CamelInfinispanValue </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>null</code> </p></td><td
colspan="1" 
 rowspan="1" class="confluenceTd"><p> Object </p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> Producer </p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> The value to use for the operation. </p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>CamelInfinispanOperationResult </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>null</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> Object </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> Producer </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> The result of the operation. </p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>CamelInfinispanEventType </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>null</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> String </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> Consumer </p></td><td
colspan="1" rowspan="1" class="confluenceTd"
 ><p> The type of the received event. Possible values defined here org.infinispan.notifications.cachelistener.event.Event.Type
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>CamelInfinispanIsPre
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>null</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Boolean
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Consumer
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Infinispan
fires two events for each operation: one before and one after the operation. </p></td></tr></tbody></table></div>
-
-
-
-<h3 id="Infinispan-Example">Example</h3>
-
-<p>Below is an example route that retrieves a value from the cahe for a specific key:
</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
-<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
-from(&quot;direct:start&quot;)
+</div></div><h3 id="Infinispan-URIOptions">URI Options</h3><p>The
producer allows sending messages to a local infinispan cache configured in the registry, or
to a remote cache using the HotRod protocol.<br clear="none"> The consumer allows listening
for events from local infinispan cache accessible from the registry.</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>Default Value</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>Type</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Context</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>cacheContainer</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>CacheContainer</p></td><td
colspan="1" rowspan="1" 
 class="confluenceTd"><p>Shared</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>Reference to a <code>org.infinispan.manager.CacheContainer</code>
in the <a shape="rect" href="registry.html">Registry</a>.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>cacheName</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>String</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Shared</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The cache name to use. If not specified,
default cache is used.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p>command</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>PUT</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>String</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Producer</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>The operation to 
 perform. Currently supports the following values: PUT, GET, REMOVE, CLEAR.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>eventTypes</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Set&lt;String&gt;</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Consumer</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The event types to register. By default
will listen for all event types. Possible values defined in org.infinispan.notifications.cachelistener.event.Event.Type</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>sync</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Boolean</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Consumer</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>By default the consumer will receive
notificatio
 ns synchronosly, by the same thread that process the cache operation.</p></td></tr></tbody></table></div><h3
id="Infinispan-MessageHeaders">Message Headers</h3><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Name</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>Default Value</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>Type</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Context</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>CamelInfinispanCacheName</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>String</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Shared</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The cache participating in the operation
or event.</p></td></tr><tr><
 td colspan="1" rowspan="1" class="confluenceTd"><p>CamelInfinispanOperation</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>PUT</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>String</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Producer</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The operation to perform: CamelInfinispanOperationPut,
CamelInfinispanOperationGet, CamelInfinispanOperationRemove, CamelInfinispanOperationClear.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>CamelInfinispanKey</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Object</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Shared</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The key to perform the operation
to or the key generating the event.</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p>Cam
 elInfinispanValue</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Object</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Producer</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The value to use for the operation.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>CamelInfinispanOperationResult</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Object</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Producer</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The result of the operation.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>CamelInfinispanEventType</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>String</p></td><td
colspan="1" row
 span="1" class="confluenceTd"><p>Consumer</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>The type of the received event. Possible values
defined here org.infinispan.notifications.cachelistener.event.Event.Type</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>CamelInfinispanIsPre</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Boolean</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Consumer</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Infinispan fires two events for each
operation: one before and one after the operation.</p></td></tr></tbody></table></div><h3
id="Infinispan-Example">Example</h3><p>Below is an example route that retrieves
a value from the cache for a specific key:</p><div class="code panel pdl" style="border-width:
1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[from(&quot;direct:start&quot;)
         .setHeader(InfinispanConstants.OPERATION, constant(InfinispanConstants.GET))
         .setHeader(InfinispanConstants.KEY, constant(&quot;123&quot;))
         .to(&quot;infinispan://localhost?cacheContainer=#cacheContainer&quot;);
 ]]></script>
-</div></div>
-
-<p>For more information, see these resources...</p>
-
-<h3 id="Infinispan-SeeAlso">See Also</h3>
+</div></div><p>For more information, see these resources...</p><p></p><h3
id="Infinispan-SeeAlso">See Also</h3>
 <ul><li><a shape="rect" href="configuring-camel.html">Configuring Camel</a></li><li><a
shape="rect" href="component.html">Component</a></li><li><a shape="rect"
href="endpoint.html">Endpoint</a></li><li><a shape="rect" href="getting-started.html">Getting
Started</a></li></ul></div>
         </td>
         <td valign="top">



Mime
View raw message