camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r976297 - in /websites/production/camel/content: cache/main.pageCache ignite.html
Date Thu, 24 Dec 2015 15:20:00 GMT
Author: buildbot
Date: Thu Dec 24 15:20:00 2015
New Revision: 976297

Log:
Production update by buildbot for camel

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

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

Modified: websites/production/camel/content/ignite.html
==============================================================================
--- websites/production/camel/content/ignite.html (original)
+++ websites/production/camel/content/ignite.html Thu Dec 24 15:20:00 2015
@@ -92,15 +92,22 @@
     <version>${camel.version}</version> <!-- use the same
version as your Camel core version -->
 </dependency>
 ]]></script>
-</div></div><h3 id="Ignite-URIformats">URI formats</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[ignite:cache:cacheName?options
-ignite:compute:endpointId?options
-ignite:messaging:topicName?options
-ignite:events:endpointId?options
-ignite:sets:setName?options
-ignite:queue:queueName?options
-ignite:idgen:sequenceName?options]]></script>
-</div></div><h3 id="Ignite-InitializingtheIgnitecomponent">Initializing
the Ignite component</h3><p>Each instance of the Ignite component is associated
with an underlying <code>org.apache.ignite.Ignite</code> instance. You can interact
with two Ignite clusters by initializing two instances of the Ignite component and binding
them to different <code>IgniteConfiguration</code>s. There are 3 ways to initialize
the Ignite component:</p><ul><li>By passing in an existing <code><span>org.apache.ignite.Ignite</span></code>&#160;instance.
Here's an example using Spring config:</li></ul><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><h2 id="Ignite-URIformatsandoptions">URI formats and options</h2><h3
id="Ignite-IgniteCacheendpoint">Ignite Cache endpoint</h3><p>This endpoint
allows you to interact with an IgniteCache:</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[ignite:cache:cacheName?option1=value1&amp;option2=value2...]]></script>
+</div></div><p>Offers both a Producer (to invoke cache operations on an
Ignite cache) and a Consumer (to consume changes from a continuous query).</p><h4
id="Ignite-Options">Options</h4><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh">Option</th><th colspan="1" rowspan="1"
class="confluenceTh">Type</th><th colspan="1" rowspan="1" class="confluenceTh">Default
value</th><th colspan="1" rowspan="1" class="confluenceTh">Description</th><th
colspan="1" rowspan="1" class="confluenceTh">Compulsory</th><th colspan="1" rowspan="1"
class="confluenceTh">Consumer/producer</th></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><code>operation</code></td><td colspan="1"
rowspan="1" class="confluenceTd">IgniteCacheOperation enum</td><td colspan="1"
rowspan="1" class="confluenceTd"><code>---</code></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Cache operation to perform.</p><p>Possible
values: GET, PUT, REMOVE, SIZE,
  REBALANCE, QUERY, CLEAR.</p></td><td colspan="1" rowspan="1" class="confluenceTd">N</td><td
colspan="1" rowspan="1" class="confluenceTd">Producer</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><code>failIfInexistentCache</code></td><td
colspan="1" rowspan="1" class="confluenceTd">boolean</td><td colspan="1" rowspan="1"
class="confluenceTd"><code>false</code></td><td colspan="1" rowspan="1"
class="confluenceTd">Whether to fail the initialization if the cache doesn't exist.</td><td
colspan="1" rowspan="1" class="confluenceTd"><span>N</span></td><td
colspan="1" rowspan="1" class="confluenceTd">Producer</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><code>cachePeekMode</code></td><td
colspan="1" rowspan="1" class="confluenceTd">CachePeekMode (Ignite) enum</td><td
colspan="1" rowspan="1" class="confluenceTd"><code>ALL</code></td><td
colspan="1" rowspan="1" class="confluenceTd">The cache peek mode used for SIZE operations.</td><td
colspan="1" rowspan="1" cla
 ss="confluenceTd"><span>N</span></td><td colspan="1" rowspan="1"
class="confluenceTd"><span>Producer</span></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><code>query</code></td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Query</span></td><td
colspan="1" rowspan="1" class="confluenceTd"><code>---</code></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The query used for QUERY operations
(as a producer) or to launch the continuous query (as a consumer).</p><p>You can
use a reference to a registry bean with a syntax like: <code>?query=#myQuery</code>.</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><span>Y for the consumer</span></p><p><span>N
for the producer</span></p></td><td colspan="1" rowspan="1" class="confluenceTd">Producer
(for QUERY operation) and Consumer</td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><code>remoteFilter</code></td><td colspan="1"
rowspan="1" class="confluenceTd"><span>CacheEntryEventSerializableFil
 ter</span></td><td colspan="1" rowspan="1" class="confluenceTd"><p class="p1"><code><span>---</span></code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>An optional remote filter for the
continuous query consumer.</p><p><span>You can use a reference to a registry
bean with a syntax like: </span><code>?<span>remoteFilter</span>=#myR<span>emoteFilter</span></code><span>.</span></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><span>N</span></td><td
colspan="1" rowspan="1" class="confluenceTd">Consumer</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><code>oneExchangePerUpdate</code></td><td
colspan="1" rowspan="1" class="confluenceTd">boolean</td><td colspan="1" rowspan="1"
class="confluenceTd"><code>true</code></td><td colspan="1" rowspan="1"
class="confluenceTd">Whether to send one exchange per cache update, even if multiple changes
arrive in a group.</td><td colspan="1" rowspan="1" class="confluenceTd"><span>N</span></td><td
colspan="1" rowspan="
 1" class="confluenceTd">Consumer</td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><code>fireExistingQueryResults</code></td><td
colspan="1" rowspan="1" class="confluenceTd">boolean</td><td colspan="1" rowspan="1"
class="confluenceTd"><code>false</code></td><td colspan="1" rowspan="1"
class="confluenceTd">When starting the continuous query consumer, whether to fire existing
cache results.</td><td colspan="1" rowspan="1" class="confluenceTd"><span>N</span></td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Consumer</span></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><code>autoUnsubscribe</code></td><td
colspan="1" rowspan="1" class="confluenceTd">boolean</td><td colspan="1" rowspan="1"
class="confluenceTd"><p class="p1"><code><span class="s1">ContinuousQuery</span><span
class="s2">.</span>DFLT_AUTO_UNSUBSCRIBE</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd">Auto-unsubscribe flag on the Continuous Query
(see Ignite docs).</td><td co
 lspan="1" rowspan="1" class="confluenceTd"><span>N</span></td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Consumer</span></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><code>pageSize</code></td><td
colspan="1" rowspan="1" class="confluenceTd">int</td><td colspan="1" rowspan="1"
class="confluenceTd"><p class="p1"><code>ContinuousQuery<span class="s1">.</span><span
class="s2">DFLT_PAGE_SIZE</span></code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><span>Page size on the Continuous Query (see Ignite
docs).</span></td><td colspan="1" rowspan="1" class="confluenceTd"><span>N</span></td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Consumer</span></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><code>timeInterval</code></td><td
colspan="1" rowspan="1" class="confluenceTd">long</td><td colspan="1" rowspan="1"
class="confluenceTd"><p class="p1"><code><span class="s1">ContinuousQuery</span><span
class="s2">.</span>DFLT_TIME_INTER
 VAL</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><span>Time
interval in millis on the Continuous Query (see Ignite docs).</span></td><td
colspan="1" rowspan="1" class="confluenceTd"><span>N</span></td><td
colspan="1" rowspan="1" class="confluenceTd"><span>Consumer</span></td></tr></tbody></table></div><h3
id="Ignite-IgniteComputeendpoint">Ignite Compute endpoint</h3><p>This endpoint
allows you to run compute operations on the cluster by passing in an IgniteCallable, an IgniteRunnable,
an IgniteClosure, or collections of them, along with their parameters if necessary.&#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[ignite:compute:endpointId?option1=value1&amp;option2=value2...]]></script>
+</div></div><p>This endpoint only supports producers.</p><h4 id="Ignite-Headersused">Headers
used</h4><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh">Header name</th><th colspan="1" rowspan="1"
class="confluenceTh">Constant</th><th colspan="1" rowspan="1" class="confluenceTh">Expected
type</th><th colspan="1" rowspan="1" class="confluenceTh">Description</th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p class="p1"><code>CamelIgniteComputeExecutionType</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><code>IgniteConstants.IGNITE_COMPUTE_EXECUTION_TYPE</code></td><td
colspan="1" rowspan="1" class="confluenceTd">IgniteComputeExecutionType enum</td><td
colspan="1" rowspan="1" class="confluenceTd">Allows you to dynamically change the compute
operation to perform.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p
class="p1"><code>CamelIgniteComputeParameters&#160;</code></p></td>
 <td colspan="1" rowspan="1" class="confluenceTd"><code><span><span>IgniteConstants.</span></span>IGNITE_COMPUTE_PARAMS</code></td><td
colspan="1" rowspan="1" class="confluenceTd">Any object or Collection of objects.</td><td
colspan="1" rowspan="1" class="confluenceTd">Parameters for APPLY, BROADCAST and EXECUTE
operations.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p
class="p1"><code>CamelIgniteComputeReducer</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><code><span><span>IgniteConstants.</span></span>IGNITE_COMPUTE_REDUCER</code></td><td
colspan="1" rowspan="1" class="confluenceTd">IgniteReducer</td><td colspan="1"
rowspan="1" class="confluenceTd">Reducer for the APPLY and CALL operations.</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><code>CamelIgniteComputeAffinityCacheName</code></td><td
colspan="1" rowspan="1" class="confluenceTd"><code><span><span>IgniteConstants.</span></span>IGNITE_COMPUTE_AFFINITY_CACHE_NAME</code></td><
 td colspan="1" rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1"
class="confluenceTd">Affinity cache name for the AFFINITY_CALL and AFFINITY_RUN operations.</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p class="p1"><code>CamelIgniteComputeAffinityKey</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><code><span><span>IgniteConstants.</span></span>IGNITE_COMPUTE_AFFINITY_KEY</code></td><td
colspan="1" rowspan="1" class="confluenceTd">Object</td><td colspan="1" rowspan="1"
class="confluenceTd">Affinity key for the <span>AFFINITY_CALL and AFFINITY_RUN operations.</span></td></tr></tbody></table></div><h4
id="Ignite-Allowablepayloadtypes">Allowable payload types</h4><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh">Operation</th><th
colspan="1" rowspan="1" class="confluenceTh">Expected payloads</th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><pre>CALL</pre
 ></td><td colspan="1" rowspan="1" class="confluenceTd">Collection of IgniteCallable,
or a single IgniteCallable.</td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><pre>BROADCAST</pre></td><td colspan="1" rowspan="1"
class="confluenceTd">IgniteCallable, IgniteRunnable, IgniteClosure.</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><pre>APPLY</pre></td><td
colspan="1" rowspan="1" class="confluenceTd">IgniteClosure.</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><pre>EXECUTE</pre></td><td
colspan="1" rowspan="1" class="confluenceTd">ComputeTask, Class&lt;? extends ComputeTask&gt;
or an object representing parameters if the taskName option is not null.</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><pre>RUN</pre></td><td
colspan="1" rowspan="1" class="confluenceTd">A Collection of IgniteRunnables, or a single
IgniteRunnable.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><pre>AFFINITY_CALL</pre></td><td
colspan="1" r
 owspan="1" class="confluenceTd">IgniteCallable.</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><pre>AFFINITY_RUN</pre></td><td
colspan="1" rowspan="1" class="confluenceTd">IgniteRunnable.</td></tr></tbody></table></div><h4
id="Ignite-Options.1">Options</h4><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh">Option</th><th colspan="1" rowspan="1"
class="confluenceTh">Type</th><th colspan="1" rowspan="1" class="confluenceTh">Default
value</th><th colspan="1" rowspan="1" class="confluenceTh">Description</th><th
colspan="1" rowspan="1" class="confluenceTh">Compulsory</th><th colspan="1" rowspan="1"
class="confluenceTh">Consumer/producer</th></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p class="p1"><code>executionType</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p class="p1">IgniteComputeExecutionType
enum</p></td><td colspan="1" rowspan="1" class="confluenceTd"><code>---</code
 ></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The compute
operation to perform.</p><p>Possible values: CALL<span class="s1" style="line-height:
1.42857;">,</span><span class="s2" style="line-height: 1.42857;">&#160;</span>BROADCAST<span
class="s1" style="line-height: 1.42857;">,</span><span class="s2" style="line-height:
1.42857;">&#160;</span>APPLY<span class="s1" style="line-height: 1.42857;">,</span><span
class="s2" style="line-height: 1.42857;">&#160;</span>EXECUTE<span class="s1"
style="line-height: 1.42857;">,</span><span class="s2" style="line-height: 1.42857;">&#160;</span>RUN<span
class="s1" style="line-height: 1.42857;">,</span><span class="s2" style="line-height:
1.42857;">&#160;</span>AFFINITY_CALL<span class="s1" style="line-height: 1.42857;">,</span><span
class="s2" style="line-height: 1.42857;">&#160;</span>AFFINITY_RUN.</p></td><td
colspan="1" rowspan="1" class="confluenceTd">Y</td><td colspan="1" rowspan="1"
class="confluenceTd">Producer</td></tr><tr><td
  colspan="1" rowspan="1" class="confluenceTd"><p class="p1"><code>clusterGroupExpression</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><pre class="p1">ClusterGroupExpression</pre></td><td
colspan="1" rowspan="1" class="confluenceTd"><code>---</code></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>An expression that returns the Cluster
Group for the IgniteCompute instance.</p></td><td colspan="1" rowspan="1" class="confluenceTd">N</td><td
colspan="1" rowspan="1" class="confluenceTd">Producer</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p class="p1"><code>taskName</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><pre>String</pre></td><td
colspan="1" rowspan="1" class="confluenceTd"><code>---</code></td><td
colspan="1" rowspan="1" class="confluenceTd">The task name, only used when performing the
EXECUTE if a ComputeTask is not passed in the payload.</td><td colspan="1" rowspan="1"
class="confluenceTd">N</td><td colspan="1" rows
 pan="1" class="confluenceTd">Producer</td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p class="p1"><code>computeName</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><pre>String</pre></td><td
colspan="1" rowspan="1" class="confluenceTd"><code>---</code></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The name for the IgniteCompute instances
produced by this endpoint.</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><span>N</span></p></td><td
colspan="1" rowspan="1" class="confluenceTd">Producer</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p class="p1"><code>timeoutMillis</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><pre>Long</pre></td><td
colspan="1" rowspan="1" class="confluenceTd"><p class="p1"><code>---</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The timeout for the compute job.</p></td><td
colspan="1" rowspan="1" class="confluenceTd">N</td><td colspan="1" rowspan="1"
clas
 s="confluenceTd"><span>Producer</span></td></tr></tbody></table></div><h4
id="Ignite-Options.2">Options</h4><h3 id="Ignite-IgniteMessagingendpoint">Ignite
Messaging endpoint</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[ignite:messaging:topicName?option1=value1&amp;option2=value2...]]></script>
+</div></div><h4 id="Ignite-Options.3">Options</h4><h3 id="Ignite-IgniteEventsendpoint">Ignite
Events endpoint</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[ignite:events:endpointId?option1=value1&amp;option2=value2...]]></script>
+</div></div><h4 id="Ignite-Options.4">Options</h4><h3 id="Ignite-IgniteSetsendpoint">Ignite
Sets endpoint</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[ignite:sets:setName?option1=value1&amp;option2=value2...]]></script>
+</div></div><h4 id="Ignite-Options.5">Options</h4><h3 id="Ignite-IgniteQueueendpoint">Ignite
Queue endpoint</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[ignite:queue:queueName?option1=value1&amp;option2=value2...
+]]></script>
+</div></div><h4 id="Ignite-Options.6">Options</h4><h3 id="Ignite-IgniteIDGeneratorendpoint">Ignite
ID Generator endpoint</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[ignite:idgen:sequenceName?option1=value1&amp;option2=value2...]]></script>
+</div></div><h4 id="Ignite-Options.7">Options</h4><h2 id="Ignite-InitializingtheIgnitecomponent">Initializing
the Ignite component</h2><p>Each instance of the Ignite component is associated
with an underlying <code>org.apache.ignite.Ignite</code> instance. You can interact
with two Ignite clusters by initializing two instances of the Ignite component and binding
them to different <code>IgniteConfiguration</code>s. There are 3 ways to initialize
the Ignite component:</p><ul><li>By passing in an existing <code><span>org.apache.ignite.Ignite</span></code>&#160;instance.
Here's an example using Spring config:</li></ul><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[&lt;bean
name=&quot;ignite&quot; class=&quot;org.apache.camel.component.ignite.IgniteComponent&quot;&gt;
    &lt;property name=&quot;ignite&quot; ref=&quot;ignite&quot; /&gt;
 &lt;/bean&gt;]]></script>



Mime
View raw message