Author: buildbot
Date: Sun Apr 26 07:20:02 2015
New Revision: 949201
Log:
Production update by buildbot for camel
Modified:
websites/production/camel/content/cache/main.pageCache
websites/production/camel/content/camel-2160-release.html
websites/production/camel/content/infinispan.html
websites/production/camel/content/openshift.html
Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.
Modified: websites/production/camel/content/camel-2160-release.html
==============================================================================
--- websites/production/camel/content/camel-2160-release.html (original)
+++ websites/production/camel/content/camel-2160-release.html Sun Apr 26
07:20:02 2015
@@ -84,7 +84,7 @@
<tbody>
<tr>
<td valign="top" width="100%">
-<div class="wiki-content maincontent"><h1
id="Camel2.16.0Release-Camel2.16.0release(currentlyinprogress)">Camel
2.16.0 release (currently in progress)</h1><div
style="padding-right:20px;float:left;margin-left:-20px;"><p><img
class="confluence-embedded-image confluence-external-resource"
src="http://camel.apache.org/download.data/camel-box-v1.0-150x200.png"
data-image-src="http://camel.apache.org/download.data/camel-box-v1.0-150x200.png"></p></div><div
style="min-height:200px"> </div><h2
id="Camel2.16.0Release-NewandNoteworthy">New and Noteworthy</h2><p>Welcome to
the x.y.z release which approx XXX issues resolved (new features, improvements
and bug fixes such as...)</p><p>Noteworthy improvements:</p><ul><li>The route
models (definition classes) preserve property placeholders, which allows round
trip editing, and also prevents showing potential sensitive
information</li><li>Added onPrepareFailure option to <a shape="rect"
href="dead-letter-channel.html">Dead Letter Cha
nnel</a> to allow a custom processor to prepare the Exchange before sending to
the dead letter queue.</li><li><a shape="rect" href="mongodb.html">MongoDB</a>
tailable consumers now allow setting the <code>readPreference</code>
option.</li><li>Using setFaultBody / setFaultHeader behaves similar to setBody
/ setHeader to preserve existing headers/attachments by setting on existing IN
or OUT message.</li><li>Java DSL using choice with end vs endChoice now
validates you use them as intended. Any misconfiguration now throws an
exception explaining the problem.</li><li><a shape="rect"
href="pojo-producing.html">POJO Producing</a> and <a shape="rect"
href="pojo-consuming.html">POJO Consuming</a> lifecycle is now in sync with <a
shape="rect" href="camelcontext.html">CamelContext</a> which ensures it
works as similar to Camel <a shape="rect" href="routes.html">Routes</a>
does. Also the created producer/consumer is stopped when <a shape="rect"
href="camelcontext.html">Came
lContext</a> is stopping to cleanup properly.</li><li><a shape="rect"
href="jms.html">JMS</a> component now allows configuring
concurrentConsumers/maxConcurrentConsumers separately between from(jms) vs
to(jms) using request/reply over JMS</li><li><span><a shape="rect"
class="external-link"
href="https://issues.apache.org/jira/browse/CAMEL-8506">Added SEARCH</a>
operation to Elasticsearch component</span></li><li><span>The <a
shape="rect" href="properties.html">Properties</a> component (property
placeholder) now supports an encoding option to allow reading the .properties
files using a specific charset such as UTF-8. By default ISO-8859-1 is used
(latin1)</span></li><li><span>Added <code>receviveBufferSize</code> option
to the <a shape="rect" href="ftp.html">FTP</a> component to make download
faster. The size is by default 32kb buffer.</span></li><li><span>The <a
shape="rect" href="aggregator2.html">Aggregator2</a> EIP now allows an external
source using
a <code>AggregateController</code> to control the aggregator, such as
for forcing completing a group or all groups, or query runtime information from
the aggregator. A default controller is provided out of the box if none has
been configured.</span></li><li><span>The <a shape="rect"
href="aggregator2.html">Aggregator2</a> now enlists in JMX using
a <code>ManagedAggregateProcessorMBean</code> which has more information,
and also allows using the aggregate controller to control
it.</span></li><li><span>The <a shape="rect"
href="aggregator2.html">Aggregator2</a> now includes more runtime statistics
which can be accessed from Java and JMX about number of incoming and completed
exchanges, and per different completion
triggers.</span></li><li><span>The <a shape="rect"
href="aggregator2.html">Aggregator2</a> now supports pre-completion mode if the
aggregation strategy
implements <code>PreCompletionAwareAggregationStrategy</code>. This
supports the use-case wh
ere an incoming Exchange are used to determine if the current aggregated group
is completed or not. If completed the group is emitted as-is, and the new
incoming Exchange is used to start a new group from
scratch.</span></li><li><span>Added options to <a shape="rect"
href="mail.html">Mail</a> consumer so it can skip or handle a mail message that
cannot be read from the mail server in the batch; and then move on to read the
next message. This ensures the consumer can deal with mail boxes that has
problematic mails that otherwise will cause no mails to be retrieve by the
consumer in the batch.</span></li><li>The runtime route processors and their
corresponding model definition are now linked by their id using
<code>HasId</code>, so its easier to obtain the processor or model definition
from the <code>getProcessor(id)</code> and
<code>getProcessorDefintion(id)</code> api on
CamelContext.</li><li>CamelContext now also includes a getManagedProcessor API
to easily get the m
bean client api for the processor, so you can access the runtime JMX
statistics from Java code. </li><li><span><a shape="rect"
href="spring-boot.html">Spring Boot</a> applications now <a shape="rect"
class="external-link"
href="https://issues.apache.org/jira/browse/CAMEL-8532">block the main thread
of the execution</a></span></li><li><span><a shape="rect"
href="spring-boot.html">Spring Boot</a> automagically <a shape="rect"
class="external-link"
href="https://issues.apache.org/jira/browse/CAMEL-8523">loads XML routes
definitions</a> from
classpath</span></li><li><span>Added <code>MainListener</code> to make it
easier for Camel Boot / Standalone Camel to implement custom logic to trigger
during the starting and stopping of the
application.</span></li><li><span><span>Camel Jackson now provides <a
shape="rect" class="external-link"
href="https://issues.apache.org/jira/browse/CAMEL-8554"><code>Map</code> to
<code>Object</code> converter</a></span></span></li><li><span>Ability
to refer to existing hazelcast instance by id, using <a shape="rect"
href="hazelcast-component.html">Hazelcast Component</a></span></li><li><a
shape="rect" href="direct.html">Direct</a> and <a shape="rect"
href="direct-vm.html">Direct-VM</a> now supports
the <span>failIfNoConsumers option</span></li><li>Making it easier to add
custom <a shape="rect" href="type-converter.html">Type Converter</a> to
your Camel applications without having to use the META-INF file. In Spring or
Blueprint just add them as <bean>s. See more details at <a
shape="rect" href="type-converter.html">Type Converter</a>
documentation.</li><li>camel-cxf PAYLOAD supports stream cache out of
box.</li><li><p><code>BridgePropertyPlaceholderConfigurer</code> supports to
handle the <span><a shape="rect" href="jasypt.html">jasypt </a>encryption
inside and outside of the camelContext.</span></p></li><li><p>The camel-aws
component now support Amazon DynamoDB version 2<span><br clear="none"></
span></p></li><li><p>The <a shape="rect" href="wire-tap.html">Wire
Tap</a> eip now also emits event notifications when sending the Exchange to the
wire tap destination</p></li><li><a shape="rect" href="camel-test.html">Camel
Test</a> has new option isDumpRouteStats that dumps all route usage statistics
as XML files in target/camel-route-stats directory, which can be used to
inspect "route coverage" reports.</li><li>Now <a shape="rect"
href="netty4.html">Camel Netty</a> component doesn't intercept consumers with
<code>httpMethodRestrict=OPTIONS</code></li><li><span>Now <a shape="rect"
href="netty4-http.html">Netty HTTP</a> resolves OPTIONS prefix matches
earlier</span></li><li>Using <a shape="rect"
href="load-balancer.html">Load Balancer</a> with Java DSL now builds the route
model using the specific model types, which renders a more accurate route
model</li><li>Enhanced the PredicateBuilder to support vargs and list in the
"or" builder method</li></ul><p>Fixed the followin
g issues:</p><ul><li>File language now properly supports file extensions
having double dots, such as .tar.gz</li><li>Fixed issue with doTry not stopping
routing if a fault message was set using setFaultBody within the
doTry.</li><li>Fixed <a shape="rect"
href="bean.html">Bean</a> language to support end parenthesis in quoted
string literals as part of method parameters, and not as end of method
signature. </li><li>Fixed <a shape="rect" href="ftp2.html">FTP2</a>
using <code>pollEnrich</code> with disconnect=true and delete=true, would
disconnect before deleting the file. Now we disconnect last.</li><li>Various
EIPs such as <a shape="rect" href="splitter.html">Splitter</a>, <a
shape="rect" href="recipient-list.html">Recipient List</a>, <a
shape="rect" href="multicast.html">Multicast</a> no longer reuse message id in
their sub messages, but each sub message has its own unique message id (just as
the exchange has).</li><li>Fixed an issue with the
circuit breaker <a shape="rect" href="load-balancer.html">Load
Balancer</a> not honoring the half open after period after an error was
detected.</li><li>Fixed <a shape="rect" href="ftp2.html">FTP2</a> now
calling disconnect if there was no messages to poll, even when disconnect=true
configured.</li><li>Fixed <a shape="rect"
href="throttler.html">Throttler</a> using method call expression in XML DSL was
not working</li><li>Fixed stopping a route may stop context
scoped OnException that would otherwise send message to an endpoint, now
been stopped and an IllegalStateException was thrown while handling the
exception.</li><li>Fixed using a <a shape="rect"
href="load-balancer.html">Load Balancer</a> from a context
scoped onException may double up its processors participating in the
balancer per route in the context.</li></ul><h3 id="Camel2.16.0Release-New">New
<a shape="rect" href="enterprise-integration-patterns.html">Enterprise
Integration Patterns</a></h3
><h3 id="Camel2.16.0Release-New.1">New <a shape="rect"
>href="components.html">Components</a></h3><ul><li><a shape="rect"
>href="paho.html">camel-paho</a> - For MQTT messaging using Eclipse Paho
>client</li><li>camel-pdf - For creating PDF documents</li></ul><h3
>id="Camel2.16.0Release-NewDSL">New DSL</h3><h3
>id="Camel2.16.0Release-NewAnnotations">New Annotations</h3><h3
>id="Camel2.16.0Release-NewDataFormats">New <a shape="rect"
>href="data-format.html">Data Formats</a></h3><ul><li><a shape="rect"
>href="boon.html">camel-boon</a> - For mapping POJO to/from json</li></ul><h3
>id="Camel2.16.0Release-New.2">New <a shape="rect"
>href="languages.html">Languages</a></h3><h3 id="Camel2.16.0Release-New.3">New
><a shape="rect" href="examples.html">Examples</a></h3><h3
>id="Camel2.16.0Release-New.4">New <a shape="rect"
>href="tutorials.html">Tutorials</a></h3><h2
>id="Camel2.16.0Release-APIbreaking">API breaking</h2><ul><li><p
>class="p1"> org.apache.camel.mode.LoadBalancerDefinition no longer i
mplements org.apache.camel.processor.loadbalancer.LoadBalancer which is
the runtime processor (this was never
intended).</p></li><li>The <code>ref</code> attribute
on <code><loadBalance></code> has been removed, as it has been
deprecated for a long time, and you should use
a <code><customLoadBalancer></code> to refer to a custom load
balancer.</li></ul><h2 id="Camel2.16.0Release-KnownIssues">Known Issues</h2><h2
id="Camel2.16.0Release-Dependencyupgrades">Dependency
upgrades</h2><ul><li>MongoDB Java Driver from 2.12.4 to 3.0.0.</li><li>Embed
MongoDB test harness from 1.46.4 to 1.47.2.</li><li>Jsonpath from 1.2.0 to
2.0.0</li><li>Restlet from 2.2.x to 2.3.1</li><li>Various Spring version
upgrades.</li><li><p><span>Jackson2 from 2.4.3 to
2.5.1</span></p></li><li><p>Json-path library from 1.2.0 to
2.0.0</p></li><li>Amazon Web Service Java SDK from 1.8.9.1 to
1.9.30</li><li>Apache JClouds from 1.8.1 to 1.9.0</li><li>Async-http-client
from 1.9.8 to 1.9.17</
li><li>Freemarker from 2.3.21 to 2.3.22</li><li>Cassandra Datastax Java Driver
from 2.1.2 to 2.1.5. </li><li>Cassandra from 2.1.2 to
2.1.4.</li><li>Dropbox core Java SDK from 1.7.6 to 1.7.7</li><li>Facebook4j
from 1.1.12 to 2.2.2</li><li>LightCouch from 0.1.3 to 0.1.6</li><li>Apache
Kafka from version 0.8.1.1 to 0.8.2.0</li><li>Apache PDFBox from version 1.6.0
to 1.8.9</li><li>Twitter4J from version 4.0.2 to 4.0.3</li><li>Dropwizard
Metrics from 3.1.0 to 3.1.1</li><li>Gson from version from 3.2 to
3.2.1</li><li>Infinispan from version 6.0.2.Final to
7.1.1.Final</li><li>Docker-java from version 0.10.5 to 1.2.0</li><li>Ehcache
from version 2.9.1 to 2.10.0</li><li>XStream from version 1.4.7 to
1.4.8</li><li>iCal4j from version 1.5.0.2 to 1.6.0</li><li>Openshift Java
Client from version 2.5.0.Final to version 2.7.0.Final</li></ul><h2
id="Camel2.16.0Release-Importantchangestoconsiderwhenupgrading">Important
changes to consider when upgrading</h2><ul><li>The dumpRoutesAsXml operation
now preserve property placeholder used in the route
models. </li><li>Using setFaultBody / setFaultHeader behaves similar to
setBody / setHeader to preserve existing headers/attachments by setting on
existing IN or OUT message.</li><li>If using concurrent consumer on <a
shape="rect" href="jms.html">JMS</a> endpoints for request/reply over JMS
then you must use the new replyToConcurrentConsumers,
replyToMaxConcurrentConsumers options to configure the
values. </li><li>When the <a shape="rect"
href="aggregator2.html">Aggregator2</a> is forced completed the exchange
property <code>Exchange.AGGREGATED_COMPLETED_BY</code> value has been
changed from "forceCompletion" to "force" so its named like the other
completion triggers.</li><li>Removed unsupported modules camel-web and
camel-web-standalone.</li><li>Removed unsupported camel:dot functionality from
camel:run plugin.</li><li>Removed unsupported camel-archetype-scala-component
from maven archetypes.</li><li
>The Maven coordinate for linkedin and olingo2 components changed to be
>aligned like all the others having groupId as just
>org.apache.camel.</li><li>If using MongoDB component, the option<em>
>invokeGetLastError</em> doesn't exist anymore. The option invokeGetLastError
>instructs the MongoDB Java driver to invoke <em>getLastError()</em> after
>every call. In the 3.0.0 MongoDB driver implementation, the
><em>getLastError()</em> method in WriteResult has been removed. So, if
>needed, use an acknowledged WriteConcern when executing the write operation
>and then verify the correctness of the operation with the method
><em>wasAcknowledged()</em> of WriteResult.</li></ul><h2
>id="Camel2.16.0Release-GettingtheDistributions">Getting the
>Distributions</h2><h3 id="Camel2.16.0Release-BinaryDistributions">Binary
>Distributions</h3><div class="table-wrap"><table
>class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
>class="confluenceTh"><p>Description</p></th><th colspan="1" rowspan="1"
>class="co
nfluenceTh"><p>Download Link</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>PGP Signature file of download</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>Windows
Distribution</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a
shape="rect" class="external-link"
href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/2.16.0/apache-camel-2.16.0.zip">apache-camel-2.16.0.zip</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect"
class="external-link"
href="http://www.apache.org/dist/camel/apache-camel/2.16.0/apache-camel-2.16.0.zip.asc">apache-camel-2.16.0.zip.asc</a></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>Unix/Linux/Cygwin
Distribution</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a
shape="rect" class="external-link"
href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/2.16.0/apache-camel-2.16.0.tar.gz">apache-camel-2.16.0.tar.gz</a></p></td><td
colspan="1"
rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://www.apache.org/dist/camel/apache-camel/2.16.0/apache-camel-2.16.0.tar.gz.asc">apache-camel-2.16.0.tar.gz.asc</a></p></td></tr></tbody></table></div>
<div class="aui-message hint shadowed information-macro">
+<div class="wiki-content maincontent"><h1
id="Camel2.16.0Release-Camel2.16.0release(currentlyinprogress)">Camel
2.16.0 release (currently in progress)</h1><div
style="padding-right:20px;float:left;margin-left:-20px;"><p><img
class="confluence-embedded-image confluence-external-resource"
src="http://camel.apache.org/download.data/camel-box-v1.0-150x200.png"
data-image-src="http://camel.apache.org/download.data/camel-box-v1.0-150x200.png"></p></div><div
style="min-height:200px"> </div><h2
id="Camel2.16.0Release-NewandNoteworthy">New and Noteworthy</h2><p>Welcome to
the x.y.z release which approx XXX issues resolved (new features, improvements
and bug fixes such as...)</p><p>Noteworthy improvements:</p><ul><li>The route
models (definition classes) preserve property placeholders, which allows round
trip editing, and also prevents showing potential sensitive
information</li><li>Added onPrepareFailure option to <a shape="rect"
href="dead-letter-channel.html">Dead Letter Cha
nnel</a> to allow a custom processor to prepare the Exchange before sending to
the dead letter queue.</li><li><a shape="rect" href="mongodb.html">MongoDB</a>
tailable consumers now allow setting the <code>readPreference</code>
option.</li><li>Using setFaultBody / setFaultHeader behaves similar to setBody
/ setHeader to preserve existing headers/attachments by setting on existing IN
or OUT message.</li><li>Java DSL using choice with end vs endChoice now
validates you use them as intended. Any misconfiguration now throws an
exception explaining the problem.</li><li><a shape="rect"
href="pojo-producing.html">POJO Producing</a> and <a shape="rect"
href="pojo-consuming.html">POJO Consuming</a> lifecycle is now in sync with <a
shape="rect" href="camelcontext.html">CamelContext</a> which ensures it
works as similar to Camel <a shape="rect" href="routes.html">Routes</a>
does. Also the created producer/consumer is stopped when <a shape="rect"
href="camelcontext.html">Came
lContext</a> is stopping to cleanup properly.</li><li><a shape="rect"
href="jms.html">JMS</a> component now allows configuring
concurrentConsumers/maxConcurrentConsumers separately between from(jms) vs
to(jms) using request/reply over JMS</li><li><span><a shape="rect"
class="external-link"
href="https://issues.apache.org/jira/browse/CAMEL-8506">Added SEARCH</a>
operation to Elasticsearch component</span></li><li><span>The <a
shape="rect" href="properties.html">Properties</a> component (property
placeholder) now supports an encoding option to allow reading the .properties
files using a specific charset such as UTF-8. By default ISO-8859-1 is used
(latin1)</span></li><li><span>Added <code>receviveBufferSize</code> option
to the <a shape="rect" href="ftp.html">FTP</a> component to make download
faster. The size is by default 32kb buffer.</span></li><li><span>The <a
shape="rect" href="aggregator2.html">Aggregator2</a> EIP now allows an external
source using
a <code>AggregateController</code> to control the aggregator, such as
for forcing completing a group or all groups, or query runtime information from
the aggregator. A default controller is provided out of the box if none has
been configured.</span></li><li><span>The <a shape="rect"
href="aggregator2.html">Aggregator2</a> now enlists in JMX using
a <code>ManagedAggregateProcessorMBean</code> which has more information,
and also allows using the aggregate controller to control
it.</span></li><li><span>The <a shape="rect"
href="aggregator2.html">Aggregator2</a> now includes more runtime statistics
which can be accessed from Java and JMX about number of incoming and completed
exchanges, and per different completion
triggers.</span></li><li><span>The <a shape="rect"
href="aggregator2.html">Aggregator2</a> now supports pre-completion mode if the
aggregation strategy
implements <code>PreCompletionAwareAggregationStrategy</code>. This
supports the use-case wh
ere an incoming Exchange are used to determine if the current aggregated group
is completed or not. If completed the group is emitted as-is, and the new
incoming Exchange is used to start a new group from
scratch.</span></li><li><span>Added options to <a shape="rect"
href="mail.html">Mail</a> consumer so it can skip or handle a mail message that
cannot be read from the mail server in the batch; and then move on to read the
next message. This ensures the consumer can deal with mail boxes that has
problematic mails that otherwise will cause no mails to be retrieve by the
consumer in the batch.</span></li><li>The runtime route processors and their
corresponding model definition are now linked by their id using
<code>HasId</code>, so its easier to obtain the processor or model definition
from the <code>getProcessor(id)</code> and
<code>getProcessorDefintion(id)</code> api on
CamelContext.</li><li>CamelContext now also includes a getManagedProcessor API
to easily get the m
bean client api for the processor, so you can access the runtime JMX
statistics from Java code. </li><li><span><a shape="rect"
href="spring-boot.html">Spring Boot</a> applications now <a shape="rect"
class="external-link"
href="https://issues.apache.org/jira/browse/CAMEL-8532">block the main thread
of the execution</a></span></li><li><span><a shape="rect"
href="spring-boot.html">Spring Boot</a> automagically <a shape="rect"
class="external-link"
href="https://issues.apache.org/jira/browse/CAMEL-8523">loads XML routes
definitions</a> from
classpath</span></li><li><span>Added <code>MainListener</code> to make it
easier for Camel Boot / Standalone Camel to implement custom logic to trigger
during the starting and stopping of the
application.</span></li><li><span><span>Camel Jackson now provides <a
shape="rect" class="external-link"
href="https://issues.apache.org/jira/browse/CAMEL-8554"><code>Map</code> to
<code>Object</code> converter</a></span></span></li><li><span>Ability
to refer to existing hazelcast instance by id, using <a shape="rect"
href="hazelcast-component.html">Hazelcast Component</a></span></li><li><a
shape="rect" href="direct.html">Direct</a> and <a shape="rect"
href="direct-vm.html">Direct-VM</a> now supports
the <span>failIfNoConsumers option</span></li><li>Making it easier to add
custom <a shape="rect" href="type-converter.html">Type Converter</a> to
your Camel applications without having to use the META-INF file. In Spring or
Blueprint just add them as <bean>s. See more details at <a
shape="rect" href="type-converter.html">Type Converter</a>
documentation.</li><li>camel-cxf PAYLOAD supports stream cache out of
box.</li><li><p><code>BridgePropertyPlaceholderConfigurer</code> supports to
handle the <span><a shape="rect" href="jasypt.html">jasypt </a>encryption
inside and outside of the camelContext.</span></p></li><li><p>The camel-aws
component now support Amazon DynamoDB version 2<span><br clear="none"></
span></p></li><li><p>The <a shape="rect" href="wire-tap.html">Wire
Tap</a> eip now also emits event notifications when sending the Exchange to the
wire tap destination</p></li><li><a shape="rect" href="camel-test.html">Camel
Test</a> has new option isDumpRouteStats that dumps all route usage statistics
as XML files in target/camel-route-stats directory, which can be used to
inspect "route coverage" reports.</li><li>Now <a shape="rect"
href="netty4.html">Camel Netty</a> component doesn't intercept consumers with
<code>httpMethodRestrict=OPTIONS</code></li><li><span>Now <a shape="rect"
href="netty4-http.html">Netty HTTP</a> resolves OPTIONS prefix matches
earlier</span></li><li>Using <a shape="rect"
href="load-balancer.html">Load Balancer</a> with Java DSL now builds the route
model using the specific model types, which renders a more accurate route
model</li><li>Enhanced the PredicateBuilder to support vargs and list in the
"or" builder method</li></ul><p>Fixed the followin
g issues:</p><ul><li>File language now properly supports file extensions
having double dots, such as .tar.gz</li><li>Fixed issue with doTry not stopping
routing if a fault message was set using setFaultBody within the
doTry.</li><li>Fixed <a shape="rect"
href="bean.html">Bean</a> language to support end parenthesis in quoted
string literals as part of method parameters, and not as end of method
signature. </li><li>Fixed <a shape="rect" href="ftp2.html">FTP2</a>
using <code>pollEnrich</code> with disconnect=true and delete=true, would
disconnect before deleting the file. Now we disconnect last.</li><li>Various
EIPs such as <a shape="rect" href="splitter.html">Splitter</a>, <a
shape="rect" href="recipient-list.html">Recipient List</a>, <a
shape="rect" href="multicast.html">Multicast</a> no longer reuse message id in
their sub messages, but each sub message has its own unique message id (just as
the exchange has).</li><li>Fixed an issue with the
circuit breaker <a shape="rect" href="load-balancer.html">Load
Balancer</a> not honoring the half open after period after an error was
detected.</li><li>Fixed <a shape="rect" href="ftp2.html">FTP2</a> now
calling disconnect if there was no messages to poll, even when disconnect=true
configured.</li><li>Fixed <a shape="rect"
href="throttler.html">Throttler</a> using method call expression in XML DSL was
not working</li><li>Fixed stopping a route may stop context
scoped OnException that would otherwise send message to an endpoint, now
been stopped and an IllegalStateException was thrown while handling the
exception.</li><li>Fixed using a <a shape="rect"
href="load-balancer.html">Load Balancer</a> from a context
scoped onException may double up its processors participating in the
balancer per route in the context.</li></ul><h3 id="Camel2.16.0Release-New">New
<a shape="rect" href="enterprise-integration-patterns.html">Enterprise
Integration Patterns</a></h3
><h3 id="Camel2.16.0Release-New.1">New <a shape="rect"
>href="components.html">Components</a></h3><ul><li><a shape="rect"
>href="paho.html">camel-paho</a> - For MQTT messaging using Eclipse Paho
>client</li><li>camel-pdf - For creating PDF documents</li></ul><h3
>id="Camel2.16.0Release-NewDSL">New DSL</h3><h3
>id="Camel2.16.0Release-NewAnnotations">New Annotations</h3><h3
>id="Camel2.16.0Release-NewDataFormats">New <a shape="rect"
>href="data-format.html">Data Formats</a></h3><ul><li><a shape="rect"
>href="boon.html">camel-boon</a> - For mapping POJO to/from json</li></ul><h3
>id="Camel2.16.0Release-New.2">New <a shape="rect"
>href="languages.html">Languages</a></h3><h3 id="Camel2.16.0Release-New.3">New
><a shape="rect" href="examples.html">Examples</a></h3><h3
>id="Camel2.16.0Release-New.4">New <a shape="rect"
>href="tutorials.html">Tutorials</a></h3><h2
>id="Camel2.16.0Release-APIbreaking">API breaking</h2><ul><li><p
>class="p1"> org.apache.camel.mode.LoadBalancerDefinition no longer i
mplements org.apache.camel.processor.loadbalancer.LoadBalancer which is
the runtime processor (this was never
intended).</p></li><li>The <code>ref</code> attribute
on <code><loadBalance></code> has been removed, as it has been
deprecated for a long time, and you should use
a <code><customLoadBalancer></code> to refer to a custom load
balancer.</li></ul><h2 id="Camel2.16.0Release-KnownIssues">Known Issues</h2><h2
id="Camel2.16.0Release-Dependencyupgrades">Dependency
upgrades</h2><ul><li>MongoDB Java Driver from 2.12.4 to 3.0.0.</li><li>Embed
MongoDB test harness from 1.46.4 to 1.47.2.</li><li>Jsonpath from 1.2.0 to
2.0.0</li><li>Restlet from 2.2.x to 2.3.1</li><li>Various Spring version
upgrades.</li><li><p><span>Jackson2 from 2.4.3 to
2.5.1</span></p></li><li><p>Json-path library from 1.2.0 to
2.0.0</p></li><li>Amazon Web Service Java SDK from 1.8.9.1 to
1.9.30</li><li>Apache JClouds from 1.8.1 to 1.9.0</li><li>Async-http-client
from 1.9.8 to 1.9.17</
li><li>Freemarker from 2.3.21 to 2.3.22</li><li>Cassandra Datastax Java Driver
from 2.1.2 to 2.1.5. </li><li>Cassandra from 2.1.2 to
2.1.4.</li><li>Dropbox core Java SDK from 1.7.6 to 1.7.7</li><li>Facebook4j
from 1.1.12 to 2.2.2</li><li>LightCouch from 0.1.3 to 0.1.6</li><li>Apache
Kafka from version 0.8.1.1 to 0.8.2.0</li><li>Apache PDFBox from version 1.6.0
to 1.8.9</li><li>Twitter4J from version 4.0.2 to 4.0.3</li><li>Dropwizard
Metrics from 3.1.0 to 3.1.1</li><li>Gson from version from 3.2 to
3.2.1</li><li>Infinispan from version 6.0.2.Final to
7.1.1.Final</li><li>Docker-java from version 0.10.5 to 1.2.0</li><li>Ehcache
from version 2.9.1 to 2.10.0</li><li>XStream from version 1.4.7 to
1.4.8</li><li>iCal4j from version 1.5.0.2 to 1.6.0</li><li>Openshift Java
Client from version 2.5.0.Final to version 2.7.0.Final</li><li>Mvel2 from
version 2.2.1.Final to 2.2.4.Final</li></ul><h2
id="Camel2.16.0Release-Importantchangestoconsiderwhenupgrading">Important
changes to consider wh
en upgrading</h2><ul><li>The dumpRoutesAsXml operation now preserve property
placeholder used in the route models. </li><li>Using setFaultBody /
setFaultHeader behaves similar to setBody / setHeader to preserve existing
headers/attachments by setting on existing IN or OUT message.</li><li>If using
concurrent consumer on <a shape="rect"
href="jms.html">JMS</a> endpoints for request/reply over JMS then you must
use the new replyToConcurrentConsumers, replyToMaxConcurrentConsumers options
to configure the values. </li><li>When the <a shape="rect"
href="aggregator2.html">Aggregator2</a> is forced completed the exchange
property <code>Exchange.AGGREGATED_COMPLETED_BY</code> value has been
changed from "forceCompletion" to "force" so its named like the other
completion triggers.</li><li>Removed unsupported modules camel-web and
camel-web-standalone.</li><li>Removed unsupported camel:dot functionality from
camel:run plugin.</li><li>Removed unsupported camel-ar
chetype-scala-component from maven archetypes.</li><li>The Maven coordinate
for linkedin and olingo2 components changed to be aligned like all the others
having groupId as just org.apache.camel.</li><li>If using MongoDB component,
the option<em> invokeGetLastError</em> doesn't exist anymore. The option
invokeGetLastError instructs the MongoDB Java driver to invoke
<em>getLastError()</em> after every call. In the 3.0.0 MongoDB driver
implementation, the <em>getLastError()</em> method in WriteResult has been
removed. So, if needed, use an acknowledged WriteConcern when executing the
write operation and then verify the correctness of the operation with the
method <em>wasAcknowledged()</em> of WriteResult.</li></ul><h2
id="Camel2.16.0Release-GettingtheDistributions">Getting the
Distributions</h2><h3 id="Camel2.16.0Release-BinaryDistributions">Binary
Distributions</h3><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p>Des
cription</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Download
Link</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>PGP Signature
file of download</p></th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p>Windows Distribution</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/2.16.0/apache-camel-2.16.0.zip">apache-camel-2.16.0.zip</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect"
class="external-link"
href="http://www.apache.org/dist/camel/apache-camel/2.16.0/apache-camel-2.16.0.zip.asc">apache-camel-2.16.0.zip.asc</a></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>Unix/Linux/Cygwin
Distribution</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a
shape="rect" class="external-link"
href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/2.16.0/apache-camel-2.16.0.tar.gz">
apache-camel-2.16.0.tar.gz</a></p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://www.apache.org/dist/camel/apache-camel/2.16.0/apache-camel-2.16.0.tar.gz.asc">apache-camel-2.16.0.tar.gz.asc</a></p></td></tr></tbody></table></div>
<div class="aui-message hint shadowed information-macro">
<p class="title">The above URLs use redirection</p>
<span class="aui-icon icon-hint">Icon</span>
<div class="message-content">
Modified: websites/production/camel/content/infinispan.html
==============================================================================
--- websites/production/camel/content/infinispan.html (original)
+++ websites/production/camel/content/infinispan.html Sun Apr 26 07:20:02 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, 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<String></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 opera
tion 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,
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 t
o 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>CamelInfinispanOperationResu
lt</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="conf
luenceTd"><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 e
ntry 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></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<String></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">
<script class="theme: Default; brush: java; gutter: false"
type="syntaxhighlighter"><![CDATA[from("direct:start")
.setHeader(InfinispanConstants.OPERATION,
constant(InfinispanConstants.GET))
.setHeader(InfinispanConstants.KEY, constant("123"))
Modified: websites/production/camel/content/openshift.html
==============================================================================
--- websites/production/camel/content/openshift.html (original)
+++ websites/production/camel/content/openshift.html Sun Apr 26 07:20:02 2015
@@ -96,9 +96,7 @@
</div></div><h3 id="Openshift-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[openshift:clientId[?options]
]]></script>
-</div></div><p>You can append query options to the URI in the following
format, <code>?option=value&option=value&...</code></p><h3
id="Openshift-Options">Options</h3><div class="confluenceTableSmall">
-<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>domain</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>null</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Domain name. If
not specified then the default domain is used. </p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>username</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Mandatory</strong>:
The username to login to openshift server. </p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p> <code>password</code> </p></td><td
colspan="1" rowspan="1" c
lass="confluenceTd"><p> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> <strong>Mandatory:</strong> The password for login to
openshift server. </p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>server</code> </p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> Url to the openshift server. If not specified then the
default value from the local openshift configuration file
<code>~/.openshift/express.conf</code> is used. And if that fails as well then
"openshift.redhat.com" is used. </p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>delay</code> </p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> <code>10s</code> </p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> <strong>Consumer only:</strong> How
frequent to poll for state changes for the applications. By default we poll
every 10 seconds. </p></td></tr><tr><td colspa
n="1" rowspan="1" class="confluenceTd"><p> <code>operation</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>list</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Producer
only</strong>: The operation to perform which can be: <code>list</code>,
<code>start</code>, <code>stop</code>, <code>restart</code>, and
<code>state</code>. The <code>list</code> operation returns information about
all the applications in json format. The <code>state</code> operation returns
the state such as: started, stopped etc. The other operations does not return
any value. </p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>application</code> </p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> <strong>Producer only</strong>: The application name
to <code>start</code>, <code>stop</code>, <code>restart</code>, or get the
<code>state</code>. </p></td></tr>
<tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>mode</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Producer
only</strong>: Whether to output the message body as a pojo or json. For pojo
the message is a <code>List<com.openshift.client.IApplication></code>
type. </p></td></tr></tbody></table></div>
-</div><h3 id="Openshift-Examples">Examples</h3><h4
id="Openshift-Listingallapplications">Listing all applications</h4><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, <code>?option=value&option=value&...</code></p><h3
id="Openshift-Options">Options</h3><div class="confluenceTableSmall"><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>domain</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Domain name. If not specified then the
default domain is used.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>username</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p><strong>Mand
atory</strong>: The username to login to openshift
server.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>password</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p><strong>Mandatory:</strong> The password for login to
openshift server.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>server</code></p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>Url to the openshift server. If not specified then the
default value from the local openshift configuration file
<code>~/.openshift/express.conf</code> is used. And if that fails as well then
"openshift.redhat.com" is used.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>delay</code></p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>10s</code></p></td><td colspan="1" rowspan="1"
class="
confluenceTd"><p><strong>Consumer only:</strong> How frequent to poll for
state changes for the applications. By default we poll every 10
seconds.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>operation</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>list</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><strong>Producer only</strong>: The
operation to perform which can be:<code> list, start, stop, restart, and
state</code>. The <code>list</code> operation returns information about all the
applications in json format. The <code>state</code> operation returns the state
such as: started, stopped etc. <span>The other operations does not return any
value.</span></p><p><strong>From Camel 2.16</strong>:<code>
<span>getStandaloneCartridge, getEmbeddedCartridges, addEmbeddedCartridge,
removeEmbeddedCartridge</span></code></p><p style="text-align: left;">The
<code>getStandaloneCartridge</code> return the display name of t
he standalone cartridge. The <code><span>getEmbeddedCartridges</span></code>
returns the list of the installed embedded cartridge. The
<code><span>addEmbeddedCartridge</span></code> operation adds the latest
version of an embeddable cartridge by specifying its name with the interface
IEmbeddableCartridge in the header <em>CamelOpenShiftEmbeddedCartridgeName
</em>and return the cartridge display name. The
<span><code>removeEmbeddedCartridge</code> operation <span>remove an embedded
cartridge by specifying its name with the interface IEmbeddableCartridge in the
header </span><em>CamelOpenShiftEmbeddedCartridgeName </em><span>and return the
cartridge display name.</span></span></p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>application</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> </p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><strong>Producer only</strong>: The
application name to <code>start</code>, <code>stop</code
>, <code>restart</code>, or get the <code>state</code>.</p></td></tr><tr><td
>colspan="1" rowspan="1" class="confluenceTd"><p><code>mode</code></p></td><td
>colspan="1" rowspan="1" class="confluenceTd"><p> </p></td><td
>colspan="1" rowspan="1" class="confluenceTd"><p><strong>Producer
>only</strong>: Whether to output the message body as a pojo or json. For pojo
>the message is a <code>List<com.openshift.client.IApplication></code>
>type.</p></td></tr></tbody></table></div></div><h3
>id="Openshift-Examples">Examples</h3><h4
>id="Openshift-Listingallapplications">Listing all applications</h4><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[// sending route
from("direct:apps")
.to("openshift:myClient?username=foo&password=secret&operation=list");