camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r982376 - in /websites/production/camel/content: cache/main.pageCache infinispan.html jcache.html
Date Thu, 10 Mar 2016 09:19:44 GMT
Author: buildbot
Date: Thu Mar 10 09:19:44 2016
New Revision: 982376

Log:
Production update by buildbot for camel

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

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

Modified: websites/production/camel/content/infinispan.html
==============================================================================
--- websites/production/camel/content/infinispan.html (original)
+++ websites/production/camel/content/infinispan.html Thu Mar 10 09:19:44 2016
@@ -96,7 +96,7 @@
 </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="brush: java; gutter: false; theme: Default" 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 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><p><strong>From Camel 2.16:</strong> <span>PUT ALL, PUT IF ABSENT, <span>REPLACE, SIZE.</span></span></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 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><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><p><strong>From Camel 2.16:</strong> <span>CamelInfinispanOperationPutAll, CamelInfinispanOperationPutIfAbsent, <span>CamelInfinispanOperationReplace, CamelInfinispanOperationSize. </span></span></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>CamelInfinispanMap</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan
 ="1" class="confluenceTd"><p>Map</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Producer</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>A Map to use in case of <span>CamelInfinispanOperationPutAll operation</span></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><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>CamelInfinispanLifespanTime</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>long</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Producer</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The Lifespan time of a value inside the cache. Negative values are interpreted as infinity.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>CamelInfinispanTimeUnit</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>Producer</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The Time Unit of an entry Lifespan Time.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>CamelInfinispanMaxIdleTime</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>long</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Producer</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><span>The maximum amount of time an entry is allowed to be idle for before it is considered as expired.</span></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>CamelInfinispanMaxIdleTimeUnit</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class="confl
 uenceTd"><p>String</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Producer</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The Time Unit of an entry Max Idle Time.</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">
+</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><p><strong>From Camel 2.16:</strong> <span>PUT ALL, PUT IF ABSENT, <span>REPLACE, SIZE.</span></span></p><p><span><span><strong>From Camel 2.17: </strong>PUT ASYNC, <span>PUT ALL ASYNC, <span>PUT IF ABSENT ASYNC, CONTAINS KEY, CONTAINS VALUE, REMOVE ASYNC, REPLACE ASYNC, CLEAR ASYNC, QUERY</span></span></span></span></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 notifications synchronously, by the same thread that process the cache operation.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">queryBuilder</td><td colspan="1" rowspan="1" class="confluenceTd">null</td><td colspan="1" rowspan="1" class="confluenceTd">InfinispanQueryBuilder</td><td colspan="1" rowspan="1" class="confluenceTd">Shared</td><td colspan="1" rowspan="1" class="confluenceTd"><strong><strong>From Camel 2.17:</strong></strong> the QueryBuilder to be used by QUERY command if <span style="color: rgb(0,0,0);">CamelInfinispanQueryBuilder header is not set</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">customListener</td><td colspan=
 "1" rowspan="1" class="confluenceTd">null</td><td colspan="1" rowspan="1" class="confluenceTd">InfinispanCustomListener</td><td colspan="1" rowspan="1" class="confluenceTd">Consumer</td><td colspan="1" rowspan="1" class="confluenceTd"><strong><strong>From Camel 2.17:</strong></strong><span> a custom event listener</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">clustered</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"><strong><strong>From Camel 2.17:</strong></strong><span> if ture the listener will be installed for entiere cluster</span></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" rowsp
 an="1" class="confluenceTd"><p>The operation to perform: CamelInfinispanOperationPut, CamelInfinispanOperationGet, CamelInfinispanOperationRemove, CamelInfinispanOperationClear.</p><p><strong>From Camel 2.16:</strong> <span>CamelInfinispanOperationPutAll, CamelInfinispanOperationPutIfAbsent, <span>CamelInfinispanOperationReplace, CamelInfinispanOperationSize. </span></span></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>CamelInfinispanMap</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Map</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Producer</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>A Map to use in case of <span>CamelInfinispanOperationPutAll operation</span></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 colsp
 an="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" c
 lass="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><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>CamelInfinispanLifespanTime</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>long</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Producer</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The Lifespan time of a value inside the cache. Negative values are interpreted as infinity.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>CamelInfinispanTimeUnit</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>Producer</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The Time Unit of an entry Lifespan Time.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>CamelInfinispanMaxIdleTime</p></td><td colspan="1" rowspan="1"
  class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>long</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Producer</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><span>The maximum amount of time an entry is allowed to be idle for before it is considered as expired.</span></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>CamelInfinispanMaxIdleTimeUnit</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>Producer</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The Time Unit of an entry Max Idle Time.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><span style="color: rgb(0,0,0);">CamelInfinispanQueryBuilder</span></p></td><td colspan="1" rowspan="1" class="confluenceTd">null</td><td colspan="1" rowspan="1" cla
 ss="confluenceTd">InfinispanQueryBuilder</td><td colspan="1" rowspan="1" class="confluenceTd">Producer</td><td colspan="1" rowspan="1" class="confluenceTd"><strong>From Camel 2.17: </strong>The QueryBuilde to use for QUERY command, if not present the command defaults to InifinispanConfiguration's one</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="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[from(&quot;direct:start&quot;)
         .setHeader(InfinispanConstants.OPERATION, constant(InfinispanConstants.GET))
         .setHeader(InfinispanConstants.KEY, constant(&quot;123&quot;))

Modified: websites/production/camel/content/jcache.html
==============================================================================
--- websites/production/camel/content/jcache.html (original)
+++ websites/production/camel/content/jcache.html Thu Mar 10 09:19:44 2016
@@ -96,7 +96,7 @@
 </div></div><h3 id="JCache-URIformat">URI format</h3><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[cache://cacheName[?options]
 ]]></script>
-</div></div><p>You can append query options to the URI in the following format,&#160;<code>?option=value&amp;option=#beanRef&amp;...</code></p><div><code><br clear="none"></code><h3 id="JCache-Options">Options</h3><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Name</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Default Value</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>cachingProvider</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The fully qualified class name of the javax.cache.spi.CachingProvider</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>cacheConfiguration</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class=
 "confluenceTd"><p>A reference to a javax.cache.configuration.Configuration instance</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>cacheConfigurationProperties</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><span>A reference to a</span> java.util.Properties for the <span>javax.cache.spi.</span>CachingProvider to create the javax.cache.CacheManager</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>configurationUri</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>An implementation specific URI for the <span> javax.cache.CacheManager</span></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>cacheLoaderFactory</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><span>
 A reference to a <span>javax.cache.configuration.</span>Factory for <span>javax.cache.integration.</span>CacheLoader</span></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>cacheWriterFactory</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><span>A reference to a </span><span>javax.cache.configuration.</span><span>Factory for </span><span>javax.cache.integration.</span><span>CacheWriter</span></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>expiryPolicyFactory</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><span>null</span></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><span>A reference to a<span>&#160;</span><span>javax.cache.configuration.</span><span>Factory for <span>javax.cache.expiry.ExpiryPolicy</span></span></span></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>readThrough</p></td><td colspan="1" ro
 wspan="1" class="confluenceTd"><p><code>false</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>A flag indicating if "read-through" mode is required</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>writeThrough</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>A flag indicating if "write-through" mode is required</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">storeByValue</td><td colspan="1" rowspan="1" class="confluenceTd">true</td><td colspan="1" rowspan="1" class="confluenceTd">A flag indicating if the cache will be store-by-value or store-by-reference</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>statisticsEnabled</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>fasle</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><pre>A flag indicating if statistics gathering is enabled</pre></td></t
 r><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>managementEnabled</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><pre>A flag indicating if management is enabled</pre></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>filteredEvents</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>A comma separated list of event types to filter</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>eventFilters</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>A comma <span>separated</span> list of javax.cache.event.CacheEntryEventFilter references</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">oldValueRequired</td><td colspan="1" rowspan="1" class="confluenceTd"><code>false</code><
 /td><td colspan="1" rowspan="1" class="confluenceTd">A flag indicating if the old value is required for events, supported values are CREATED, UPDATED, REMOVED, EXPIRED</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">synchronous</td><td colspan="1" rowspan="1" class="confluenceTd">false</td><td colspan="1" rowspan="1" class="confluenceTd">A flag indicating if the event listener should block the thread causing the event</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">action</td><td colspan="1" rowspan="1" class="confluenceTd">null</td><td colspan="1" rowspan="1" class="confluenceTd">The default action to apply, value in the header has the priority</td></tr></tbody></table></div><h3 id="JCache-Headervariables">Header variables</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>Type</p></th><th colspan="1" rowspan="1" class="
 confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>CamelJCacheAction</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>java.lang.String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The action to perform, supported values are PUT, PUTALL, PUTIFABSENT, GET, GETALL, GETANDREMOVE, GETANDREPLACE, GETANDPUT, REPLACE, REMOVE, REMOVEALL, INVOKE, CLEAR</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>CamelJCacheResult</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>java.lang.Object</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The result of an action, i.e. Boolean for PUT, REMOVE, REPLACE</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>CamelJCacheEventType</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>java.lang.String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The type of event <span>ja
 vax.cache.event.EventType</span></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>CamelJCacheKey</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>java.lang.Object</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>A key <span>to apply an action</span></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">CamelJCacheKeys</td><td colspan="1" rowspan="1" class="confluenceTd">java.util.Set&lt;java-lang.Object&gt;</td><td colspan="1" rowspan="1" class="confluenceTd">A set of keys to apply an action, used for GETALL, REMOVEALL, INVOKE</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">CamelJCacheOldValue</td><td colspan="1" rowspan="1" class="confluenceTd"><span>java.lang.Object</span></td><td colspan="1" rowspan="1" class="confluenceTd">On consumer side, the header value contains the old value associated to a key. On producer side, the header must contains the expected old value to use CAS like operation</td></tr
 ><tr><td colspan="1" rowspan="1" class="confluenceTd">CamelJCacheEntryProcessor</td><td colspan="1" rowspan="1" class="confluenceTd">javax.cache.processor.EntryProcessor</td><td colspan="1" rowspan="1" class="confluenceTd">The entry processor to use for <span>INVOKE action</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">CamelJCacheEntryArgs</td><td colspan="1" rowspan="1" class="confluenceTd"><span>java.util.collection&lt;java.lang.Object&gt;</span></td><td colspan="1" rowspan="1" class="confluenceTd">Additional arguments to pass to the <span>javax.cache.processor.EntryProcessor</span></td></tr></tbody></table></div><p>&#160;</p><h3 id="JCache-JCachebasedidempotentrepositoryexample:">JCache based idempotent repository example:</h3><p>&#160;</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>You can append query options to the URI in the following format,&#160;<code>?option=value&amp;option=#beanRef&amp;...</code></p><div><code><br clear="none"></code><h3 id="JCache-Options">Options</h3><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Name</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Default Value</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>cachingProvider</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The fully qualified class name of the javax.cache.spi.CachingProvider</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>cacheConfiguration</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class=
 "confluenceTd"><p>A reference to a javax.cache.configuration.Configuration instance</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>cacheConfigurationProperties</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><span>A reference to a</span> java.util.Properties for the <span>javax.cache.spi.</span>CachingProvider to create the javax.cache.CacheManager</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>configurationUri</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>An implementation specific URI for the <span> javax.cache.CacheManager</span></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>cacheLoaderFactory</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><span>
 A reference to a <span>javax.cache.configuration.</span>Factory for <span>javax.cache.integration.</span>CacheLoader</span></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>cacheWriterFactory</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><span>A reference to a </span><span>javax.cache.configuration.</span><span>Factory for </span><span>javax.cache.integration.</span><span>CacheWriter</span></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>expiryPolicyFactory</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><span>null</span></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><span>A reference to a<span>&#160;</span><span>javax.cache.configuration.</span><span>Factory for <span>javax.cache.expiry.ExpiryPolicy</span></span></span></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>readThrough</p></td><td colspan="1" ro
 wspan="1" class="confluenceTd"><p><code>false</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>A flag indicating if "read-through" mode is required</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>writeThrough</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>A flag indicating if "write-through" mode is required</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">storeByValue</td><td colspan="1" rowspan="1" class="confluenceTd">true</td><td colspan="1" rowspan="1" class="confluenceTd">A flag indicating if the cache will be store-by-value or store-by-reference</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>statisticsEnabled</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>fasle</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><pre>A flag indicating if statistics gathering is enabled</pre></td></t
 r><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>managementEnabled</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><pre>A flag indicating if management is enabled</pre></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>filteredEvents</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>A comma separated list of event types to filter</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>eventFilters</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>A comma <span>separated</span> list of javax.cache.event.CacheEntryEventFilter references</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">oldValueRequired</td><td colspan="1" rowspan="1" class="confluenceTd"><code>false</code><
 /td><td colspan="1" rowspan="1" class="confluenceTd">A flag indicating if the old value is required for events, supported values are CREATED, UPDATED, REMOVED, EXPIRED</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">synchronous</td><td colspan="1" rowspan="1" class="confluenceTd">false</td><td colspan="1" rowspan="1" class="confluenceTd">A flag indicating if the event listener should block the thread causing the event</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">action</td><td colspan="1" rowspan="1" class="confluenceTd">null</td><td colspan="1" rowspan="1" class="confluenceTd">The default action to apply, value in the header has the priority</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">createCacheIfNotExists</td><td colspan="1" rowspan="1" class="confluenceTd">true</td><td colspan="1" rowspan="1" class="confluenceTd">Configure if the cache identified by cacheName need to be created if it does not exists</td></tr></tbody></table></div>
 <h3 id="JCache-Headervariables">Header variables</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>Type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>CamelJCacheAction</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>java.lang.String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The action to perform, supported values are PUT, PUTALL, PUTIFABSENT, GET, GETALL, GETANDREMOVE, GETANDREPLACE, GETANDPUT, REPLACE, REMOVE, REMOVEALL, INVOKE, CLEAR</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>CamelJCacheResult</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>java.lang.Object</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The result of an action, i.e. Boolean for PUT
 , REMOVE, REPLACE</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>CamelJCacheEventType</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>java.lang.String</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The type of event <span>javax.cache.event.EventType</span></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>CamelJCacheKey</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>java.lang.Object</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>A key <span>to apply an action</span></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">CamelJCacheKeys</td><td colspan="1" rowspan="1" class="confluenceTd">java.util.Set&lt;java-lang.Object&gt;</td><td colspan="1" rowspan="1" class="confluenceTd">A set of keys to apply an action, used for GETALL, REMOVEALL, INVOKE</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">CamelJCacheOldValue</td><td colspan="1" rowspan="1"
  class="confluenceTd"><span>java.lang.Object</span></td><td colspan="1" rowspan="1" class="confluenceTd">On consumer side, the header value contains the old value associated to a key. On producer side, the header must contains the expected old value to use CAS like operation</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">CamelJCacheEntryProcessor</td><td colspan="1" rowspan="1" class="confluenceTd">javax.cache.processor.EntryProcessor</td><td colspan="1" rowspan="1" class="confluenceTd">The entry processor to use for <span>INVOKE action</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">CamelJCacheEntryArgs</td><td colspan="1" rowspan="1" class="confluenceTd"><span>java.util.collection&lt;java.lang.Object&gt;</span></td><td colspan="1" rowspan="1" class="confluenceTd">Additional arguments to pass to the <span>javax.cache.processor.EntryProcessor</span></td></tr></tbody></table></div><p>&#160;</p><h3 id="JCache-JCachebasedidempotentrepositoryexample:"
 >JCache based idempotent repository example:</h3><p>&#160;</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[JCacheIdempotentRepository idempotentRepo = new JCacheIdempotentRepository();
 idempotentRepo.setCacheName(&quot;idempotent-cache&quot;)
  




Mime
View raw message