camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r949207 - in /websites/production/camel/content: cache/main.pageCache infinispan.html
Date Sun, 26 Apr 2015 08:18:35 GMT
Author: buildbot
Date: Sun Apr 26 08:18:35 2015
New Revision: 949207

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/infinispan.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 Sun Apr 26 08:18:35 2015
@@ -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="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 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, PUT ALL, PUT IF ABSENT, GET, REMOVE,
REPLACE, SIZE, 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 defaul
 t 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,
CamelInfinispanOperationPutAll, CamelInfinispanOperationPutIfAbsent, CamelInfinispanOperationGet,
CamelInfinispanOperationRemove, CamelInfinispanOperationReplace, CamelInfinispanOperationSize,
CamelInfinispanOperationClear.</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="confluenc
 eTd"><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="confluenceTd"><p>String</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Producer</p></td><td
colspan="1" rowspan="1" class="co
 nfluenceTd"><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, PUT ALL, PUT IF ABSENT, GET, REMOVE,
REPLACE, SIZE, 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="confluenc
 eTd"><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="confluenceT
 d"><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>CamelInf
 inispanTimeUnit</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></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;))



Mime
View raw message