Modified: websites/production/camel/content/index.html
==============================================================================
--- websites/production/camel/content/index.html (original)
+++ websites/production/camel/content/index.html Thu Sep 14 19:25:46 2017
@@ -86,6 +86,26 @@
<img class="userLogo logo"
src="index.userimage/gzurowski-89607-pp-wojtek-avatar.png" alt="User icon:
gzurowski" title="gzurowski">
</a> </span>
<span class="blogHeading">
+ <a shape="rect" class="blogHeading"
href="2017/09/14/apache-camel-2193-released.html">Apache Camel 2.19.3
Released</a>
+ </span><div class="page-metadata not-personal"> <a
shape="rect" class="url fn confluence-userlink" href="
/confluence/display/~gzurowski ">Gregor Zurowski</a> posted on Sep 14,
2017</div>
+
+ </div>
+
+ <div class="wiki-content">
+ <p>The Camel community announces the immediate availability of the new
patch release Camel 2.19.3. This release contains 40 fixes applied in the past
few weeks by the community on the Camel 2.19.x maintenance branch.</p><p>The
artifacts are published and ready for you to <a shape="rect"
class="external-link"
href="http://camel.apache.org/download.html">download</a> either from the
Apache mirrors or from the Central Maven repository. For more details please
take a look at the <a shape="rect" class="external-link"
href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12341135&projectId=12311211">release
notes</a>.</p><p>Many thanks to all who made this release possible.</p><p>On
behalf of the Camel PMC,<br clear="none">Gregor Zurowski</p>
+ </div>
+
+
+ </div>
+
+
+<div class="blog-post-listing">
+ <div class="logo-heading-block">
+ <span class="logoBlock">
+ <a shape="rect" class="userLogoLink" href="
/confluence/display/~gzurowski ">
+ <img class="userLogo logo"
src="index.userimage/gzurowski-89607-pp-wojtek-avatar.png" alt="User icon:
gzurowski" title="gzurowski">
+ </a> </span>
+ <span class="blogHeading">
<a shape="rect" class="blogHeading"
href="2017/08/01/apache-camel-2192-released.html">Apache Camel 2.19.2
Released</a>
</span><div class="page-metadata not-personal"> <a
shape="rect" class="url fn confluence-userlink" href="
/confluence/display/~gzurowski ">Gregor Zurowski</a> posted on Aug 01,
2017</div>
@@ -176,26 +196,6 @@
</div>
- </div>
-
-
-<div class="blog-post-listing">
- <div class="logo-heading-block">
- <span class="logoBlock">
- <a shape="rect" class="userLogoLink" href="
/confluence/display/~zregvart ">
- <img class="userLogo logo" src="index.userimage/user-avatar"
alt="User icon: zregvart" title="zregvart">
- </a> </span>
- <span class="blogHeading">
- <a shape="rect" class="blogHeading"
href="2017/05/22/new-apache-camel-logo-vote-results-are-in.html">New Apache
Camel logo vote results are in</a>
- </span><div class="page-metadata not-personal"> <a
shape="rect" class="url fn confluence-userlink" href="
/confluence/display/~zregvart ">Zoran Regvart</a> posted on May 22, 2017</div>
-
- </div>
-
- <div class="wiki-content">
- <p>The Apache Camel community has made a <a shape="rect"
class="external-link"
href="https://camel.apache.org/2017/02/28/new-apache-camel-logo-open-for-proposals.html">call
for a new logo</a> and subsequently <a shape="rect" class="external-link"
href="https://camel.apache.org/2017/05/03/new-apache-camel-logo-voting-is-now-open.html">voted
on the new logo design</a>. And the results are now
in<sup>*</sup>!</p><p>There have been 245 votes cast, out of which only 1 will
be discarded (vote cast for 4 design proposals) which constitutes 0,4% of the
total votes.</p><p>Out of the 244 remaining valid votes:</p><ol><li>Design by
James Lei submitted at<a shape="rect" class="external-link"
href="https://issues.apache.org/jira/secure/attachment/12855173/apachecamel.png">
https://issues.apache.org/jira/secure/attachment/12855173/apachecamel.png</a><a
shape="rect" class="external-link"
href="https://issues.apache.org/jira/browse/CAMEL-10543">
https://issues.apache.org/jira/browse/CAMEL-1
0543</a> received <strong>52 (21.31%)</strong> votes</li><li>Design by
Bharadwaj Nakka submitted at <a shape="rect" class="external-link"
href="https://issues.apache.org/jira/secure/attachment/12856742/new_log_camel.jpg">https://issues.apache.org/jira/secure/attachment/12856742/new_log_camel.jpg</a><a
shape="rect" class="external-link"
href="https://issues.apache.org/jira/browse/CAMEL-10543">
https://issues.apache.org/jira/browse/CAMEL-10543</a> received <strong>14
(5.74%)</strong> votes</li><li>Design by Merkushev Kirill submitted at <a
shape="rect" class="external-link"
href="https://github.com/apache/camel/pull/1369"
rel="nofollow">https://github.com/apache/camel/pull/1369</a> received
<strong>59 (24.18%)</strong> votes</li><li>Design by Zoran Regvart (1)
submitted at <a shape="rect" class="external-link"
href="https://github.com/apache/camel/pull/1486"
rel="nofollow">https://github.com/apache/camel/pull/1486</a> received
<strong>37 (15.16%)</strong> votes</li><li>Design by Zoran
Regvart (2) submitted at<a shape="rect" class="external-link"
href="https://github.com/apache/camel/pull/1494" rel="nofollow">
https://github.com/apache/camel/pull/1494</a> received <strong>135
(55.33%)</strong> votes</li><li>Design by Filip Majewski submitted at <a
shape="rect" class="external-link"
href="https://github.com/apache/camel/pull/1551"
rel="nofollow">https://github.com/apache/camel/pull/1551</a> received
<strong>72 (29.50%)</strong> votes</li><li>Design by David Klassen submitted at
<a shape="rect" class="external-link"
href="https://github.com/apache/camel/pull/1556"
rel="nofollow">https://github.com/apache/camel/pull/1556</a> received
<strong>121 (49.59%)</strong> votes</li><li>Design by Brad Parks (1) submitted
at <a shape="rect" class="external-link"
href="https://github.com/apache/camel/pull/1573"
rel="nofollow">https://github.com/apache/camel/pull/1573</a> received
<strong>57 (23.36%)</strong> votes</li><li>Design by Brad Parks (2) submitted
at<a shape="rect" cla
ss="external-link" href="https://github.com/apache/camel/pull/1575"
rel="nofollow"> https://github.com/apache/camel/pull/1575</a> received
<strong>27 (11.07%)</strong> votes</li></ol><p>The Apache Camel community would
like to <strong>thank everyone for participating</strong> either by submitting
their <span class="il">logo</span> design proposal, commenting and
collaborating with the authors or casting the vote.</p><p>With this feedback
from the community the Camel Project Management Committee (PMC) will announce
the new official Apache Camel <span class="il">Logo</span>, stay tuned for
that!</p><p>On behalf of the Apache Camel
community,</p><p>Zoran</p><p><sub>*Errm, well they were in a week ago, but I'm
late to write this announcement, posts to the mailing lists were more
prompt</sub></p>
- </div>
-
-
</div>
<p><a shape="rect"
href="https://cwiki.apache.org/confluence/createrssfeed.action?types=blogpost&spaces=CAMEL&title=Apache+Camel+News&sort=modified&maxResults=10&timeSpan=60&showContent=true&confirm=Create+RSS+Feed">RSS
Feed</a></p><h3 id="Index-Links">Links</h3><ul><li><a shape="rect"
href="getting-started.html">Getting Started</a></li><li><a shape="rect"
href="architecture.html">Architecture</a></li><li><a shape="rect"
href="user-guide.html">User Guide</a></li><li><a shape="rect"
href="enterprise-integration-patterns.html">Enterprise Integration
Patterns</a></li><li><a shape="rect" href="news.html">More
News</a></li></ul></div>
</td>
Modified: websites/production/camel/content/index.userimage/user-avatar
==============================================================================
Binary files - no diff available.
Modified: websites/production/camel/content/infinispan.html
==============================================================================
--- websites/production/camel/content/infinispan.html (original)
+++ websites/production/camel/content/infinispan.html Thu Sep 14 19:25:46 2017
@@ -86,7 +86,7 @@
<tr>
<td valign="top" width="100%">
<div class="wiki-content maincontent"><h2
id="Infinispan-InfinispanComponent">Infinispan
Component</h2><p><strong>Available as of Camel 2.13.0</strong></p><p>This
component allows you to interact with <a shape="rect" class="external-link"
href="http://infinispan.org/" rel="nofollow">Infinispan</a> distributed data
grid / cache. Infinispan is an extremely scalable, highly available key/value
data store and data grid platform written in
Java.</p><p>From <strong>Camel 2.17</strong> onwards Infinispan requires
Java 8.</p><p>Maven users will need to add the following dependency to their
<code>pom.xml</code> for this component:</p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<script class="brush: xml; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-infinispan</artifactId>
<version>x.x.x</version>
@@ -105,7 +105,7 @@
.to("infinispan?cacheContainer=#cacheContainer");
]]></script>
</div></div><h3
id="Infinispan-UsingtheInfinispanbasedidempotentrepository">Using the
Infinispan based idempotent repository</h3><p>In this section we will use the
Infinispan based idempotent repository.</p><p>First, we need to create a
cacheManager and then configure
our org.apache.camel.component.infinispan.processor.idempotent.InfinispanIdempotentRepository:</p><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[<bean id="cacheManager"
class="org.infinispan.manager.DefaultCacheManager"
init-method="start" destroy-method="stop"/>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<bean id="cacheManager"
class="org.infinispan.manager.DefaultCacheManager"
init-method="start" destroy-method="stop"/>
<bean id="infinispanRepo"
class="org.apache.camel.component.infinispan.processor.idempotent.InfinispanIdempotentRepository"
factory-method="infinispanIdempotentRepository">
<argument ref="cacheManager"/>
@@ -113,7 +113,7 @@
</bean>
]]></script>
</div></div><p>Then we can create our Infinispan idempotent repository in the
spring XML file as well:</p><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[<camelContext
xmlns="http://camel.apache.org/schema/spring">
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<camelContext
xmlns="http://camel.apache.org/schema/spring">
<route id="JpaMessageIdRepositoryTest">
<from uri="direct:start" />
<idempotentConsumer
messageIdRepositoryRef="infinispanStore">
Modified: websites/production/camel/content/irc.html
==============================================================================
--- websites/production/camel/content/irc.html (original)
+++ websites/production/camel/content/irc.html Thu Sep 14 19:25:46 2017
@@ -86,7 +86,7 @@
<tr>
<td valign="top" width="100%">
<div class="wiki-content maincontent"><h2 id="IRC-IRCComponent">IRC
Component</h2><p>The <strong>irc</strong> component implements an <a
shape="rect" class="external-link"
href="http://en.wikipedia.org/wiki/Internet_Relay_Chat" rel="nofollow">IRC</a>
(Internet Relay Chat) transport.</p><p>Maven users will need to add the
following dependency to their <code>pom.xml</code> for this component:</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
-<script class="brush: xml; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-irc</artifactId>
<version>x.x.x</version>
@@ -121,7 +121,7 @@ from(...)
]]></script>
</div></div><h5 id="IRC-SpringDSLbasedconfigurationofendpoint">Spring DSL
based configuration of endpoint</h5><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[...
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[...
<camel:sslContextParameters
id="sslContextParameters">
<camel:trustManagers>
Modified: websites/production/camel/content/ironmq.html
==============================================================================
--- websites/production/camel/content/ironmq.html (original)
+++ websites/production/camel/content/ironmq.html Thu Sep 14 19:25:46 2017
@@ -86,7 +86,7 @@
<tr>
<td valign="top" width="100%">
<div class="wiki-content maincontent"><div class="confluence-information-macro
confluence-information-macro-tip"><p class="title">Available since Camel
2.17.0</p><span class="aui-icon aui-icon-small aui-iconfont-approve
confluence-information-macro-icon"></span><div
class="confluence-information-macro-body"> </div></div><p> </p><p>The
IronMQ component provides integration with <a shape="rect"
class="external-link" href="http://www.iron.io/products/mq"
rel="nofollow">IronMQ</a> a elastic and durable hosted message queue as a
service.</p><p>The component uses the <a shape="rect"
class="external-link" href="https://github.com/iron-io/iron_mq_java"
rel="nofollow">IronMQ java client</a> library.</p><p>To run it requires a
IronMQ account, and a project id and token.</p><p> </p><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[<dependency>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-ironmq</artifactId>
<!-- use the same version as your Camel core version -->
Modified: websites/production/camel/content/jackson-xml.html
==============================================================================
--- websites/production/camel/content/jackson-xml.html (original)
+++ websites/production/camel/content/jackson-xml.html Thu Sep 14 19:25:46 2017
@@ -215,7 +215,7 @@ Invoice invoice = exchange.getIn().getBo
</div></div><p><span>And in Java DSL:</span></p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[from("direct:inPretty").marshal().jacksonxml(true);]]></script>
</div></div><p><span>Please note that there are 5 different
overloaded <code>jacksonxml()</code> DSL methods which support
the <code>prettyPrint</code> option in combination with other
settings
for <code>unmarshalType</code>, <code>jsonView</code> etc. </span></p><h3
id="JacksonXML-Dependencies">Dependencies</h3><p>To use Jackson XML in your
camel routes you need to add the dependency on
<strong>camel-jacksonxml</strong> which implements this data format.</p><p>If
you use maven you could just add the following to your pom.xml, substituting
the version number for the latest & greatest release (see <a shape="rect"
href="download.html">the download page for the latest versions</a>).</p><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[<dependency>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-jacksonxml</artifactId>
<version>x.x.x</version>
Modified: websites/production/camel/content/javascript.html
==============================================================================
--- websites/production/camel/content/javascript.html (original)
+++ websites/production/camel/content/javascript.html Thu Sep 14 19:25:46 2017
@@ -113,7 +113,7 @@
<p>And a Spring DSL sample as well:</p>
<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[
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[
<route>
<from uri="direct:start"/>
<choice>
Modified: websites/production/camel/content/javaspace.html
==============================================================================
--- websites/production/camel/content/javaspace.html (original)
+++ websites/production/camel/content/javaspace.html Thu Sep 14 19:25:46 2017
@@ -96,7 +96,7 @@ Look at the test cases for examples of v
<p>Maven users will need to add the following dependency to their
<code>pom.xml</code> for this component:</p>
<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
-<script class="brush: xml; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-javaspace</artifactId>
Modified: websites/production/camel/content/jbpm.html
==============================================================================
--- websites/production/camel/content/jbpm.html (original)
+++ websites/production/camel/content/jbpm.html Thu Sep 14 19:25:46 2017
@@ -86,7 +86,7 @@
<tr>
<td valign="top" width="100%">
<div class="wiki-content maincontent"><h2 id="jBPM-jBPMComponent">jBPM
Component</h2><p><strong>Available as of Camel 2.16</strong></p><p>The
<strong>jbpm</strong> component provides integration with Business Process
Management (BPM) Suit <a shape="rect" class="external-link"
href="http://www.jbpm.org/" rel="nofollow">jBPM</a>. It uses kie-remote-client
API to interact with jBPM instance over REST. The component supports only
producer.</p><p>Maven users will need to add the following dependency to their
<code>pom.xml</code> for this component:</p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<script class="brush: xml; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-jbpm</artifactId>
<version>x.x.x</version><!-- use the same version as your
Camel core version -->
Modified: websites/production/camel/content/jcache.html
==============================================================================
--- websites/production/camel/content/jcache.html (original)
+++ websites/production/camel/content/jcache.html Thu Sep 14 19:25:46 2017
@@ -86,7 +86,7 @@
<tr>
<td valign="top" width="100%">
<div class="wiki-content maincontent"><p> </p><h2
id="JCache-JCacheComponent">JCache Component</h2><p><strong>Available as of
Camel 2.17</strong></p><p>The j<strong>cache</strong> component enables
you to perform caching operations using JCache (JSR-107) as the Cache
Implementation. The cache itself is created on demand or if a cache of that
name already exists then it is simply utilized with its original
settings.</p><p>This component supports producer and event based consumer
endpoints.</p><p>The Cache consumer is an event based consumer and can be used
to listen and respond to specific cache activities. If you need to perform
selections from a pre-existing cache, use the processors defined for the cache
component.</p><p>Maven users will need to add the following dependency to
their <code>pom.xml</code> for this component:</p><div class="code
panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<script class="brush: xml; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-jcache</artifactId>
<version>x.x.x</version>
Modified: websites/production/camel/content/jclouds.html
==============================================================================
--- websites/production/camel/content/jclouds.html (original)
+++ websites/production/camel/content/jclouds.html Thu Sep 14 19:25:46 2017
@@ -86,7 +86,7 @@
<tr>
<td valign="top" width="100%">
<div class="wiki-content maincontent"><h2
id="jclouds-JcloudsComponent">Jclouds Component</h2><p><strong>Available as of
Camel 2.9</strong></p><p>This component allows interaction with cloud provider
key-value engines (blobstores) and compute services. The component uses <a
shape="rect" class="external-link" href="http://code.google.com/p/jclouds"
rel="nofollow">jclouds</a> which is<br clear="none"> a library that provides
abstractions for blobstores and compute
services.</p><p><strong>ComputeService</strong> simplifies the task of managing
machines in the cloud. For example, you can use ComputeService to start 5
machines and install your software on them.<br clear="none">
<strong>BlobStore</strong> simplifies dealing with key-value providers such as
Amazon S3. For example, BlobStore can give you a simple Map view of a
container.</p><p>The camel jclouds component allows you to use both
abstractions, as it specifes two types of endpoint the JcloudsBlobStoreEndpoint
and the JcloudsCom
puteEndpoint. You can have both producers and consumers on a blobstore
endpoint but you can only have producers on compute endpoints.</p><p>Maven
users will need to add the following dependency to their <code>pom.xml</code>
for this component:</p><div class="code panel pdl" style="border-width:
1px;"><div class="codeContent panelContent pdl">
-<script class="brush: xml; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-jclouds</artifactId>
<version>x.x.x</version>
@@ -94,7 +94,7 @@
</dependency>
]]></script>
</div></div><h3 id="jclouds-Configuringthecomponent">Configuring the
component</h3><p>The camel jclouds component will make use of multiple jclouds
blobstores and compute services as long as they are passed to the component
during initialization. The component accepts a list blobstores and compute
services. Here is how it can be configured.</p><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[ <bean id="jclouds"
class="org.apache.camel.component.jclouds.JcloudsComponent">
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[ <bean id="jclouds"
class="org.apache.camel.component.jclouds.JcloudsComponent">
<property name="computeServices">
<list>
<ref bean="computeService"/>
@@ -156,7 +156,7 @@ jclouds:compute:[provider id][?options]
"&blobName=myblob");
]]></script>
</div></div><p>In the above example you can override any of the URI parameters
with headers on the message.<br clear="none"> Here is how the above example
would look like using xml to define our route.</p><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[<route>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<route>
<from uri="direct:start"/>
<to
uri="jclouds:blobstore:aws-s3?operation=PUT&container=mycontainer&blobName=myblob"/>
</route>
@@ -169,7 +169,7 @@ jclouds:compute:[provider id][?options]
"&blobName=myblob");
]]></script>
</div></div><p>In the above example you can override any of the URI parameters
with headers on the message.<br clear="none"> Here is how the above example
would look like using xml to define our route.</p><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[<route>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<route>
<from uri="direct:start"/>
<to
uri="jclouds:blobstore:aws-s3?operation=PUT&container=mycontainer&blobName=myblob"/>
</route>
@@ -180,7 +180,7 @@ jclouds:compute:[provider id][?options]
.to("direct:next");
]]></script>
</div></div><p>You can achieve the same goal by using xml, as you can see
below.</p><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[<route>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<route>
<from
uri="jclouds:blobstore:aws-s3?operation=GET&container=mycontainer&blobName=myblob"/>
<to uri="direct:next"/>
</route>
@@ -200,7 +200,7 @@ CamelJcloudsRunScript, CamelJcloudsDestr
.to("direct:next");
]]></script>
</div></div><p>This will create a message that will contain the list of images
inside its body. You can also do the same using xml.</p><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[<route>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<route>
<from
uri="jclouds:compute:aws-ec2?operation=CamelJCloudsListImages"/>
<to uri="direct:next"/>
</route>
@@ -214,7 +214,7 @@ CamelJcloudsRunScript, CamelJcloudsDestr
"&group=myGroup");
]]></script>
</div></div><p>This will create a new node on the cloud provider. The out
message in this case will be a set of metadata that contains information about
the newly created node (e.g. the ip, hostname etc). Here is the same using
spring xml.</p><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[<route>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<route>
<from uri="direct:start"/>
<to
uri="jclouds:compute:aws-ec2?operation=CamelJcloudsCreateNode&imageId=AMI_XXXXX&locationId=XXXXX&group=myGroup"/>
</route>
@@ -227,7 +227,7 @@ CamelJcloudsRunScript, CamelJcloudsDestr
"&user=ubuntu");
]]></script>
</div></div><p>The sample above will retrieve the body of the in message,
which is expected to contain the shell script to be executed. Once the script
is retrieved, it will be sent to the node for execution under the specified
user (<em>in order case ubuntu</em>). The target node is specified using its
nodeId. The nodeId can be retrieved either upon the creation of the node, it
will be part of the resulting metadata or by a executing a LIST_NODES
operation.</p><p><strong>Note</strong> This will require that the compute
service that will be passed to the component, to be initialized with the
appropriate jclouds ssh capable module (<em>e.g. jsch or sshj</em>).</p><p>Here
is the same using spring xml.</p><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[<route>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<route>
<from uri="direct:start"/>
<to
uri="jclouds:compute:aws-ec2?operation=CamelJcloudsListNodes&?nodeId=10&user=ubuntu"/>
</route>
Modified: websites/production/camel/content/jcr.html
==============================================================================
--- websites/production/camel/content/jcr.html (original)
+++ websites/production/camel/content/jcr.html Thu Sep 14 19:25:46 2017
@@ -107,7 +107,7 @@
.setHeader("my.contents.property", body())
.to("jcr://user:pass@repository/home/test");]]></script>
</div></div><p> </p><p>The following code will register an EventListener
under the path import-application/inbox for Event.NODE_ADDED and
Event.NODE_REMOVED events (event types 1 and 2, both masked as 3) and listening
deep for all the children.</p><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[<route>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<route>
<from
uri="jcr://user:pass@repository/import-application/inbox?eventTypes=3&deep=true"
/>
<to uri="direct:execute-import-application" />
</route>
Modified: websites/production/camel/content/jgroups.html
==============================================================================
--- websites/production/camel/content/jgroups.html (original)
+++ websites/production/camel/content/jgroups.html Thu Sep 14 19:25:46 2017
@@ -86,7 +86,7 @@
<tr>
<td valign="top" width="100%">
<div class="wiki-content maincontent"><h2
id="JGroups-JGroupsComponent">JGroups Component</h2><div
class="confluence-information-macro confluence-information-macro-tip"><p
class="title">Available since Camel 2.10.0</p><span class="aui-icon
aui-icon-small aui-iconfont-approve
confluence-information-macro-icon"></span><div
class="confluence-information-macro-body"> </div></div><p><a shape="rect"
class="external-link" href="http://www.jgroups.org" rel="nofollow">JGroups</a>
is a toolkit for reliable multicast communication. The
<strong>jgroups:</strong> component provides exchange of messages between Camel
infrastructure and <a shape="rect" class="external-link"
href="http://jgroups.org" rel="nofollow">JGroups</a> clusters.</p><p>Maven
users will need to add the following dependency to their <code>pom.xml</code>
for this component.</p><div class="code panel pdl" style="border-width:
1px;"><div class="codeContent panelContent pdl">
-<script class="brush: xml; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
<groupId>org.apache-extras.camel-extra</groupId>
<artifactId>camel-jgroups</artifactId>
<!-- use the same version as your Camel core version -->
@@ -94,7 +94,7 @@
</dependency>
]]></script>
</div></div><p>Starting from the Camel <strong>2.13.0</strong>, JGroups
component has been moved from Camel Extra under the umbrella of the Apache
Camel. If you are using Camel <strong>2.13.0</strong> or higher, please use the
following POM entry instead.</p><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[<dependency>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-jgroups</artifactId>
<!-- use the same version as your Camel core version -->
Modified: websites/production/camel/content/jibx.html
==============================================================================
--- websites/production/camel/content/jibx.html (original)
+++ websites/production/camel/content/jibx.html Thu Sep 14 19:25:46 2017
@@ -115,7 +115,7 @@ from("mqseries:Another.Queue")
<p>JiBX data format is also supported by Camel Spring DSL.</p>
<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[
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[
<camelContext id="camel"
xmlns="http://camel.apache.org/schema/spring">
<!-- Define data formats -->
@@ -148,7 +148,7 @@ from("mqseries:Another.Queue")
<p>If you use maven you could just add the following to your pom.xml,
substituting the version number for the latest & greatest release (see <a
shape="rect" href="download.html">the download page for the latest
versions</a>).</p>
<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[
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-jibx</artifactId>
Modified: websites/production/camel/content/jira.html
==============================================================================
--- websites/production/camel/content/jira.html (original)
+++ websites/production/camel/content/jira.html Thu Sep 14 19:25:46 2017
@@ -86,7 +86,7 @@
<tr>
<td valign="top" width="100%">
<div class="wiki-content maincontent"><h2
id="JIRA-JIRA">JIRA</h2><p><strong>Available as of Camel
2.15</strong></p><p>The JIRA component interacts with the JIRA API by
encapsulating Atlassian's <a shape="rect" class="external-link"
href="https://marketplace.atlassian.com/plugins/com.atlassian.jira.jira-rest-java-client"
rel="nofollow">REST Java Client for JIRA</a>. It currently provides polling
for new issues and new comments.  It is also able to create new
issues.</p><p>Rather than webhooks, this endpoint relies on simple polling.
Reasons include:</p><ul><li>Concern for reliability/stability</li><li>The types
of payloads we're polling aren't typically large (plus, paging is available in
the API)</li><li>The need to support apps running somewhere not publicly
accessible where a webhook would fail</li></ul><p>Note that the JIRA API is
fairly expansive.  Therefore, this component could be easily expanded to
provide additional interactions.</p><p>Maven users will n
eed to add the following dependency to their pom.xml for this
component:</p><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[<dependency>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-jira</artifactId>
<version>${camel-version}</version>
Modified: websites/production/camel/content/jolt.html
==============================================================================
--- websites/production/camel/content/jolt.html (original)
+++ websites/production/camel/content/jolt.html Thu Sep 14 19:25:46 2017
@@ -86,7 +86,7 @@
<tr>
<td valign="top" width="100%">
<div class="wiki-content maincontent"><h2 id="JOLT-JOLTComponent">JOLT
Component</h2><p><strong>Available as of Camel
2.16</strong></p><p>The <strong>jolt:</strong> component allows you
to process a JSON messages using an <a shape="rect" class="external-link"
href="http://bazaarvoice.github.io/jolt/" rel="nofollow">JOLT</a>
specification. This can be ideal when doing JSON to JSON
transformation.</p><p>Maven users will need to add the following dependency to
their <code style="line-height: 1.4285715;">pom.xml</code> for this
component:</p><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[<dependency>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-jolt</artifactId>
<version>x.x.x</version>
Modified: websites/production/camel/content/jsch.html
==============================================================================
--- websites/production/camel/content/jsch.html (original)
+++ websites/production/camel/content/jsch.html Thu Sep 14 19:25:46 2017
@@ -86,7 +86,7 @@
<tr>
<td valign="top" width="100%">
<div class="wiki-content maincontent"><h2 id="Jsch-Jsch">Jsch</h2><p>The
<strong>camel-jsch</strong> component supports the <a shape="rect"
class="external-link" href="http://en.wikipedia.org/wiki/Secure_copy"
rel="nofollow">SCP protocol</a> using the Client API of the <a shape="rect"
class="external-link" href="http://www.jcraft.com/jsch/"
rel="nofollow">Jsch</a> project. Jsch is already used in camel by the <a
shape="rect" href="ftp.html">FTP</a> component for the <strong>sftp:</strong>
protocol.</p><p>Maven users will need to add the following dependency to their
<code>pom.xml</code> for this component:</p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<script class="brush: xml; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-jsch</artifactId>
<version>x.x.x</version>
Modified: websites/production/camel/content/jsonpath.html
==============================================================================
--- websites/production/camel/content/jsonpath.html (original)
+++ websites/production/camel/content/jsonpath.html Thu Sep 14 19:25:46 2017
@@ -124,7 +124,7 @@
.otherwise()
.to("mock:other");]]></script>
</div></div><p><span style="line-height: 1.4285715;">And in XML
DSL:</span></p><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[ <route>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[ <route>
<from uri="direct:start"/>
<choice>
<when>
@@ -148,7 +148,7 @@
.otherwise()
.to("mock:expensive");]]></script>
</div></div><p><span style="line-height: 1.42857;">In this example the Simple
expression in-lined is the headers with the cheap and average values to be
used. </span></p><p><span style="line-height: 1.42857;"><br
clear="none"></span></p><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[ <route>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[ <route>
<from uri="direct:start"/>
<choice>
<when>
@@ -180,7 +180,7 @@
}
]]></script>
</div></div><h2 id="JSonPath-EncodingDetection">Encoding
Detection</h2><p><strong>Since Camel version 2.16</strong>, the encoding of the
JSON document is detected automatically, if the document is encoded in Unicode
 (<strong><code>UTF-8</code>, <code>UTF-16LE</code></strong>,
<strong><code>UTF-16BE</code></strong>,
<strong><code>UTF-32LE</code></strong>, <strong><code>UTF-32BE</code></strong>)
as specified in <code>RFC-4627</code>. If the encoding is a non-Unicode
encoding, you can either make sure that you enter the document
in <strong><code>String</code></strong> format to the JSonPath component
or you can specify the encoding in the
header <strong><code>CamelJsonPathJsonEncoding</code></strong>
(<strong><code>JsonpathConstants.HEADER_JSON_ENCODING</code></strong>).</p><h3
id="JSonPath-Dependencies">Dependencies</h3><p>To use JSonPath in your camel
routes you need to add the a dependency
on <strong><code>camel-jsonpath</code></strong> which implements the
JSonPath language.</p><p>If you use maven you could just add the following to
your <strong><code>pom.xml</code></strong>, substituting the version number for
the latest & greatest release (see <a shape="rect" href="download.html">the
download page for the latest versions</a>).</p><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[<dependency>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-jsonpath</artifactId>
<version>x.x.x</version>
Modified: websites/production/camel/content/jt400.html
==============================================================================
--- websites/production/camel/content/jt400.html (original)
+++ websites/production/camel/content/jt400.html Thu Sep 14 19:25:46 2017
@@ -86,7 +86,7 @@
<tr>
<td valign="top" width="100%">
<div class="wiki-content maincontent"><h2 id="JT400-JT/400Component">JT/400
Component</h2><p>The <strong><code>jt400</code></strong> component allows you
to exchanges messages with an AS/400 system using data queues.</p><p>Maven
users will need to add the following dependency to their <code>pom.xml</code>
for this component:</p><div class="code panel pdl" style="border-width:
1px;"><div class="codeContent panelContent pdl">
-<script class="brush: xml; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-jt400</artifactId>
<version>x.x.x</version>
Modified: websites/production/camel/content/kafka.html
==============================================================================
--- websites/production/camel/content/kafka.html (original)
+++ websites/production/camel/content/kafka.html Thu Sep 14 19:25:46 2017
@@ -86,7 +86,7 @@
<tr>
<td valign="top" width="100%">
<div class="wiki-content maincontent"><h2 id="Kafka-KafkaComponent">Kafka
Component</h2><p><strong>Available as of Camel 2.13</strong></p><p>The
<strong>kafka:</strong> component is used for communicating with <a
shape="rect" class="external-link" href="http://kafka.apache.org/">Apache
Kafka</a> message broker.</p><p><span style="line-height:
1.4285715;">Maven users will need to add the following dependency to their
</span><code style="line-height: 1.4285715;">pom.xml</code><span
style="line-height: 1.4285715;"> for this component.</span></p><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[<dependency>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-kafka</artifactId>
<version>x.x.x</version>
@@ -94,7 +94,7 @@
</dependency>
]]></script>
</div></div><h4 id="Kafka-Camel2.17ornewer">Camel 2.17 or newer</h4><p>Scala
is no longer used, as we use the kafka java client.</p><h4
id="Kafka-Camel2.16orolder">Camel 2.16 or older</h4><p>And then the Scala
libraries of choice. camel-kafka does not include that dependency, but assumes
it is provided. For example to use Scala 2.10.4 add:</p><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[ <dependency>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[ <dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
<version>2.10.4</version>
Modified: websites/production/camel/content/kestrel.html
==============================================================================
--- websites/production/camel/content/kestrel.html (original)
+++ websites/production/camel/content/kestrel.html Thu Sep 14 19:25:46 2017
@@ -107,7 +107,7 @@
<p><strong>NOTE:</strong> If <strong>waitTimeMs</strong> is set to zero (or
negative), the <code>/t=...</code> specifier does <strong>not</strong> get
passed to the server on GET requests. When a queue is empty, the GET call
returns immediately with no value. In order to prevent "tight looping" in the
polling phase, this component will do a <code>Thread.sleep(100)</code> whenever
nothing is returned from the GET request (only when nothing is returned). You
are <strong>highly encouraged</strong> to configure a positive non-zero value
for waitTimeMs.</p><h3
id="Kestrel-ConfiguringtheKestrelcomponentusingSpringXML">Configuring the
Kestrel component using Spring XML</h3><p>The simplest form of explicit
configuration is as follows:</p><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[<beans
xmlns="http://www.springframework.org/schema/beans"
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<beans
xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
@@ -121,7 +121,7 @@
</beans>
]]></script>
</div></div><p>That will enable the Kestrel component with all default
settings, i.e. it will use <code>localhost:22133</code>, 100ms wait time, and a
single non-concurrent consumer by default.</p><p>To use specific options in the
base configuration (which supplies configuration to endpoints whose
<code>?properties</code> are not specified), you can set up a
KestrelConfiguration POJO as follows:</p><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[<beans
xmlns="http://www.springframework.org/schema/beans"
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<beans
xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
@@ -164,7 +164,7 @@
}
]]></script>
</div></div><h4 id="Kestrel-Example3:SpringXMLConfiguration">Example 3: Spring
XML Configuration</h4><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[ <camelContext
xmlns="http://camel.apache.org/schema/spring">
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[ <camelContext
xmlns="http://camel.apache.org/schema/spring">
<route>
<from
uri="kestrel://ks01:22133/sequential?concurrentConsumers=1&waitTimeMs=500"/>
<bean ref="myBean" method="onMessage"/>
Modified: websites/production/camel/content/krati.html
==============================================================================
--- websites/production/camel/content/krati.html (original)
+++ websites/production/camel/content/krati.html Thu Sep 14 19:25:46 2017
@@ -95,7 +95,7 @@
<p>Maven users will need to add the following dependency to their
<code>pom.xml</code> for this component:</p>
<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
-<script class="brush: xml; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-krati</artifactId>
@@ -159,7 +159,7 @@ from("direct:put").to("kr
Here is how the above example would look like using xml to define our
route.</p>
<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[
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[
<route>
<from uri="direct:put"/>
<to uri="krati:target/test/producerspringtest"/>
@@ -182,7 +182,7 @@ from("direct:get")
Here is how the above example would look like using xml to define our
route.</p>
<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[
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[
<route>
<from uri="direct:get"/>
<to
uri="krati:target/test/producerspringtest?operation=CamelKratiGet"/>
@@ -204,7 +204,7 @@ Here is how the above example would look
<p>You can achieve the same goal by using xml, as you can see below.</p>
<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[
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[
<route>
<from uri="krati:target/test/consumerspringtest"/>
<to uri="mock:results"/>
Modified: websites/production/camel/content/kubernetes.html
==============================================================================
--- websites/production/camel/content/kubernetes.html (original)
+++ websites/production/camel/content/kubernetes.html Thu Sep 14 19:25:46 2017
@@ -86,7 +86,7 @@
<tr>
<td valign="top" width="100%">
<div class="wiki-content maincontent"><h2
id="Kubernetes-KubernetesComponent">Kubernetes
Component</h2><p><strong>Available as of Camel 2.17</strong></p><p>The
<strong>Kubernetes</strong> component is a component for integrating your
application with Kubernetes standalone or on top of
Openshift. </p><p><span>Maven users will need to add the following
dependency to their </span><code>pom.xml</code><span> for this
component:</span></p><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[<dependency>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-kubernetes</artifactId>
<version>x.x.x</version>
Modified: websites/production/camel/content/kura.html
==============================================================================
--- websites/production/camel/content/kura.html (original)
+++ websites/production/camel/content/kura.html Thu Sep 14 19:25:46 2017
@@ -96,22 +96,22 @@
}]]></script>
</div></div><p>Keep in mind that <code>KuraRouter</code> implements
the <code>org.osgi.framework.BundleActivator</code> interface, so you
need to register
its <code>start</code> and <code>stop</code> lifecycle
methods while <a shape="rect" class="external-link"
href="http://eclipse.github.io/kura/doc/hello-example.html#create-component-class"
rel="nofollow">creating Kura bundle component class</a>.</p><p>Kura router
starts its own OSGi-aware <code>CamelContext</code>. It means that for every
class extending <code>KuraRouter</code>, there will be a dedicated
<code>CamelContext</code> instance. Ideally we recommend to deploy one
<code>KuraRouter</code> per OSGi bundle.</p><h3
id="Kura-DeployingKuraRouter">Deploying KuraRouter</h3><p>Bundle containing
your Kura router class should import the following packages in the OSGi
manifest:</p><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[Import-Package:
org.osgi.framework;version="1.3.0",
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[Import-Package:
org.osgi.framework;version="1.3.0",
org.slf4j;version="1.6.4",
org.apache.camel,org.apache.camel.impl,org.apache.camel.core.osgi,org.apache.camel.builder,org.apache.camel.model,
org.apache.camel.component.kura]]></script>
</div></div><p>Keep in mind that you don't have to import every Camel
component bundle you plan to use in your routes, as Camel components are
resolved as the services on the runtime level.</p><p>Before you deploy your
router bundle, be sure that you have deployed (and started) the following Camel
core bundles (using Kura GoGo shell)...</p><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[install
file:///home/user/.m2/repository/org/apache/camel/camel-core/2.15.0/camel-core-2.15.0.jar
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[install
file:///home/user/.m2/repository/org/apache/camel/camel-core/2.15.0/camel-core-2.15.0.jar
start <camel-core-bundle-id>
install
file:///home/user/.m2/repository/org/apache/camel/camel-core-osgi/2.15.0/camel-core-osgi-2.15.0.jar
start <camel-core-osgi-bundle-id>
install
file:///home/user/.m2/repository/org/apache/camel/camel-kura/2.15.0/camel-kura-2.15.0.jar
start <camel-kura-bundle-id>]]></script>
</div></div><p>...and all the components you plan to use in your
routes:</p><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[install
file:///home/user/.m2/repository/org/apache/camel/camel-stream/2.15.0/camel-stream-2.15.0.jar
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[install
file:///home/user/.m2/repository/org/apache/camel/camel-stream/2.15.0/camel-stream-2.15.0.jar
start <camel-stream-bundle-id>]]></script>
</div></div><p>Then finally deploy your router bundle:</p><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[install
file:///home/user/.m2/repository/com/example/myrouter/1.0/myrouter-1.0.jar
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[install
file:///home/user/.m2/repository/com/example/myrouter/1.0/myrouter-1.0.jar
start <your-bundle-id>]]></script>
</div></div><h3 id="Kura-KuraRouterutilities">KuraRouter utilities<span
style="font-size: 14.0px;line-height: 1.4285715;"> </span></h3><p><span
style="font-size: 14.0px;line-height: 1.4285715;"> </span><span
style="line-height: 1.5625;">Kura router base class provides many useful
utilities. This section explores each of them.</span></p><h4
id="Kura-SLF4Jlogger"><span style="line-height: 1.5625;">SLF4J
logger</span></h4><p><span style="line-height: 1.5625;">Kura uses SLF4J facade
for logging purposes. Protected member <code>log</code> returns SLF4J logger
instance associated with the given Kura router.</span></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[public class MyKuraRouter extends KuraRouter {
Modified: websites/production/camel/content/ldap.html
==============================================================================
--- websites/production/camel/content/ldap.html (original)
+++ websites/production/camel/content/ldap.html Thu Sep 14 19:25:46 2017
@@ -86,7 +86,7 @@
<tr>
<td valign="top" width="100%">
<div class="wiki-content maincontent"><h2 id="LDAP-LDAPComponent">LDAP
Component</h2><p>The <strong>ldap</strong> component allows you to perform
searches in LDAP servers using filters as the message payload.<br clear="none">
This component uses standard JNDI (<code>javax.naming</code> package) to access
the server.</p><p>Maven users will need to add the following dependency to
their <code>pom.xml</code> for this component:</p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<script class="brush: xml; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-ldap</artifactId>
<version>x.x.x</version>
Modified:
websites/production/camel/content/load-balance-for-existing-messaging-service.html
==============================================================================
---
websites/production/camel/content/load-balance-for-existing-messaging-service.html
(original)
+++
websites/production/camel/content/load-balance-for-existing-messaging-service.html
Thu Sep 14 19:25:46 2017
@@ -93,7 +93,7 @@
<p>Imagine that we have a message handling system built before to collect some
information from our client and then process and record them. This scenario can
be constructed by using the following XML route configuration.</p>
<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[
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[
<route>
<from uri="file:src/data?noop=true"/>
Modified: websites/production/camel/content/log.html
==============================================================================
--- websites/production/camel/content/log.html (original)
+++ websites/production/camel/content/log.html Thu Sep 14 19:25:46 2017
@@ -107,7 +107,7 @@
.to("bean:processOrder");
]]></script>
</div></div><p>Or using Spring XML:</p><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[ <route>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[ <route>
<from uri="activemq:orders"/>
<to uri="log:com.mycompany.order?level=DEBUG"/>
<to uri="bean:processOrder"/>
Modified: websites/production/camel/content/logeip.html
==============================================================================
--- websites/production/camel/content/logeip.html (original)
+++ websites/production/camel/content/logeip.html Thu Sep 14 19:25:46 2017
@@ -100,14 +100,14 @@
<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[from("file://target/files").log(LoggingLevel.DEBUG,
"Processing file ${file:name}").to("bean:foo");
]]></script>
</div></div><h4 id="LogEIP-UsinglogDSLfromSpring">Using log DSL from
Spring</h4><p>In Spring DSL it is also easy to use log DSL as shown
below:</p><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[ <route id="foo">
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[ <route id="foo">
<from uri="direct:foo"/>
<log message="Got ${body}"/>
<to uri="mock:foo"/>
</route>
]]></script>
</div></div><p>The log tag has attributes to set the <code>message</code>,
<code>loggingLevel</code> and <code>logName</code>. For example:</p><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[ <route id="baz">
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[ <route id="baz">
<from uri="direct:baz"/>
<log message="Me Got ${body}"
loggingLevel="FATAL"
logName="com.mycompany.MyCoolRoute"/>
<to uri="mock:baz"/>
@@ -128,12 +128,12 @@
<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[CamelContext context = ...
context.getProperties().put(Exchange.LOG_EIP_NAME,
"com.foo.myapp");]]></script>
</div></div><p>And in XML</p><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[<camelContext ...>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<camelContext ...>
<properties>
<property key="CamelLogEipName"
value="com.foo.myapp"/>
</properties>]]></script>
</div></div><p> </p><h4 id="LogEIP-Usingslf4jMarker">Using slf4j
Marker</h4><p><strong>Available as of Camel 2.9</strong></p><p>You can specify
a marker name in the DSL</p><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[ <route id="baz">
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[ <route id="baz">
<from uri="direct:baz"/>
<log message="Me Got ${body}"
loggingLevel="FATAL" logName="com.mycompany.MyCoolRoute"
marker="myMarker"/>
<to uri="mock:baz"/>
Modified: websites/production/camel/content/lucene.html
==============================================================================
--- websites/production/camel/content/lucene.html (original)
+++ websites/production/camel/content/lucene.html Thu Sep 14 19:25:46 2017
@@ -86,7 +86,7 @@
<tr>
<td valign="top" width="100%">
<div class="wiki-content maincontent"><h2
id="Lucene-Lucene(IndexerandSearch)Component">Lucene (Indexer and Search)
Component</h2><p><strong>Available as of Camel 2.2</strong></p><p>The
<strong>lucene</strong> component is based on the Apache Lucene project. Apache
Lucene is a powerful high-performance, full-featured text search engine library
written entirely in Java. For more details about Lucene, please see the
following links</p><ul><li><a shape="rect" class="external-link"
href="http://lucene.apache.org/java/docs/">http://lucene.apache.org/java/docs/</a></li><li><a
shape="rect" class="external-link"
href="http://lucene.apache.org/java/docs/features.html">http://lucene.apache.org/java/docs/features.html</a></li></ul><p>The
lucene component in camel facilitates integration and utilization of Lucene
endpoints in enterprise integration patterns and scenarios. The lucene
component does the following</p><ul><li>builds a searchable index of documents
when payloads are sent to the Luce
ne Endpoint</li><li>facilitates performing of indexed searches in
Camel</li></ul><p>This component only supports producer endpoints.</p><p>Maven
users will need to add the following dependency to their <code>pom.xml</code>
for this component:</p><div class="code panel pdl" style="border-width:
1px;"><div class="codeContent panelContent pdl">
-<script class="brush: xml; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-lucene</artifactId>
<version>x.x.x</version>
Modified:
websites/production/camel/content/maven-2-snapshot-repository-in-pom.html
==============================================================================
--- websites/production/camel/content/maven-2-snapshot-repository-in-pom.html
(original)
+++ websites/production/camel/content/maven-2-snapshot-repository-in-pom.html
Thu Sep 14 19:25:46 2017
@@ -85,7 +85,7 @@
<tr>
<td valign="top" width="100%">
<div class="wiki-content maincontent"><h4
id="Maven2snapshotrepositoryinpom-Camel">Camel</h4><p>In your pom.xml file you
can add the Maven 2 snapshot repository if you want to try out the xxx-SNAPSHOT
versions:</p><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[ <repository>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[ <repository>
<id>apache.snapshots</id>
<name>Apache Development Snapshot Repository</name>
<url>https://repository.apache.org/content/repositories/snapshots/</url>
@@ -98,14 +98,14 @@
</repository>
]]></script>
</div></div><p>Then you can use the SNAPSHOT version of camel in your
<code>pom.xml</code>:</p><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[ <dependency>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[ <dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-core</artifactId>
<version>2.13-SNAPSHOT</version>
</dependency>
]]></script>
</div></div><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p>Apache Camel SNAPSHOTS</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="https://repository.apache.org/content/repositories/snapshots/">https://repository.apache.org/content/repositories/snapshots/</a></p></td></tr></tbody></table></div><h4
id="Maven2snapshotrepositoryinpom-CamelPlugins">Camel Plugins</h4><p>And the
same setting for the plugin repository if you want to try the latest Apache
Camel maven tools also:</p><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[ <pluginRepository>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[ <pluginRepository>
<id>apache.snapshots</id>
<name>Apache Development Snapshot Repository</name>
<url>https://repository.apache.org/content/repositories/snapshots/</url>
@@ -118,7 +118,7 @@
</pluginRepository>
]]></script>
</div></div><p>Then you can use the SNAPSHOT version of <code>mvn
camel:run</code> with this in your <code>pom.xml</code>:</p><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[ <plugins>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[ <plugins>
<!-- Allows the routes to be run via 'mvn camel:run' -->
<plugin>
<groupId>org.apache.camel</groupId>
Modified: websites/production/camel/content/mdc-logging.html
==============================================================================
--- websites/production/camel/content/mdc-logging.html (original)
+++ websites/production/camel/content/mdc-logging.html Thu Sep 14 19:25:46 2017
@@ -92,7 +92,7 @@ context.setUseMDCLogging(true);
...
]]></script>
</div></div><p>To enable MDC logging using Spring XML set CamelContext's
<strong><code>useMDCLogging</code></strong> attribute:</p><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[<camelContext
xmlns="http://camel.apache.org/schema/spring"
useMDCLogging="true">
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<camelContext
xmlns="http://camel.apache.org/schema/spring"
useMDCLogging="true">
...
</camelContext>
]]></script>
@@ -120,7 +120,7 @@ context.setUseBreadcrumb(false);
...
]]></script>
</div></div><p>XML DSL:</p><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[<camelContext
xmlns="http://camel.apache.org/schema/spring"
useBreadcrumb="false">
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<camelContext
xmlns="http://camel.apache.org/schema/spring"
useBreadcrumb="false">
...
</camelContext>
]]></script>
Modified: websites/production/camel/content/message-endpoint.html
==============================================================================
--- websites/production/camel/content/message-endpoint.html (original)
+++ websites/production/camel/content/message-endpoint.html Thu Sep 14 19:25:46
2017
@@ -94,7 +94,7 @@
<to uri="jms:queue:foo"/>
</route>]]></script>
</div></div><p> </p><h3 id="MessageEndpoint-DynamicTo">Dynamic
To</h3><p><strong>Available as of Camel 2.16</strong></p><p>There is a new
<toD> that allows to send a message to a dynamic computed <a
shape="rect" href="endpoint.html">Endpoint</a> using one or more <a
shape="rect" href="expression.html">Expression</a> that are concat together. By
default the <a shape="rect" href="simple.html">Simple</a> language is used
to compute the endpoint. For example to send a message to a endpoint
defined by a header you can do</p><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[<route>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<route>
<from uri="direct:start"/>
<toD uri="${header.foo}"/>
</route>]]></script>
@@ -102,7 +102,7 @@
<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[from("direct:start")
.toD("${header.foo}");]]></script>
</div></div><p> </p><p>You can also prefix the uri with a value because
by default the uri is evaluated using the <a shape="rect"
href="simple.html">Simple</a> language</p><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[<route>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<route>
<from uri="direct:start"/>
<toD uri="mock:${header.foo}"/>
</route>]]></script>
@@ -110,7 +110,7 @@
<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[from("direct:start")
.toD("mock:${header.foo}");]]></script>
</div></div><p>In the example above we compute an endpoint that has prefix
"mock:" and then the header foo is appended. So for example if the header foo
has value order, then the endpoint is computed as "mock:order".</p><p>You can
also use other languages than <a shape="rect"
href="simple.html">Simple</a> such as <a shape="rect"
href="xpath.html">XPath</a> - this requires to prefix with language: as
shown below (simple language is the default language). If you do not specify
language: then the endpoint is a component name. And in some cases there is
both a component and language with the same name such as xquery.</p><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[<route>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<route>
<from uri="direct:start"/>
<toD uri="language:xpath:/order/@uri"/>
</route>]]></script>
@@ -118,7 +118,7 @@
<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[from("direct:start")
.toD("language:xpath:/order/@uri");]]></script>
</div></div><p>You can also concat multiple <a shape="rect"
href="language.html">Language</a>(s) together using the plus
sign <code>+</code> such as shown below:</p><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[<route>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<route>
<from uri="direct:start"/>
<toD uri="jms:${header.base}+language:xpath:/order/@id"/>
</route>]]></script>
Modified: websites/production/camel/content/message-history.html
==============================================================================
--- websites/production/camel/content/message-history.html (original)
+++ websites/production/camel/content/message-history.html Thu Sep 14 19:25:46
2017
@@ -93,7 +93,7 @@
<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[camelContext.setMessageHistory(false);
]]></script>
</div></div><p>Or from XML DSL with</p><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[<camelContext
messageHistory="false" ...>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<camelContext
messageHistory="false" ...>
...
</camelContext>
]]></script>
Modified: websites/production/camel/content/mime-multipart.html
==============================================================================
--- websites/production/camel/content/mime-multipart.html (original)
+++ websites/production/camel/content/mime-multipart.html Thu Sep 14 19:25:46
2017
@@ -128,7 +128,7 @@ Content-Disposition: attachment; filenam
[binary content]
------=_Part_0_1134128170.1447659361365]]></script>
</div></div><h3 id="MIME-Multipart-Dependencies"><br
clear="none">Dependencies</h3><p>To use MIME-Multipart in your Camel routes you
need to add a dependency on <strong>camel-mail</strong> which implements this
data format.</p><p>If you use Maven you can just add the following to your
pom.xml:</p><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[<dependency>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-mail</artifactId>
<version>x.x.x</version> <!-- use the same version as your
Camel core version -->
Modified: websites/production/camel/content/mina2.html
==============================================================================
--- websites/production/camel/content/mina2.html (original)
+++ websites/production/camel/content/mina2.html Thu Sep 14 19:25:46 2017
@@ -86,7 +86,7 @@
<tr>
<td valign="top" width="100%">
<div class="wiki-content maincontent"><h2 id="MINA2-MINA2Component">MINA 2
Component</h2><p><strong>Available as of Camel 2.10</strong></p><p>The
<strong>mina2:</strong> component is a transport for working with <a
shape="rect" class="external-link" href="http://mina.apache.org/">Apache MINA
2.x</a></p><div class="confluence-information-macro
confluence-information-macro-tip"><span class="aui-icon aui-icon-small
aui-iconfont-approve confluence-information-macro-icon"></span><div
class="confluence-information-macro-body"><p>Favor using <a shape="rect"
href="netty.html">Netty</a> as Netty is a much more active maintained and
popular project than Apache Mina currently is</p></div></div><div
class="confluence-information-macro
confluence-information-macro-information"><span class="aui-icon aui-icon-small
aui-iconfont-info confluence-information-macro-icon"></span><div
class="confluence-information-macro-body"><p>Be careful with sync=false on
consumer endpoints. Since camel-mina2 all con
sumer exchanges are InOut. This is different to
camel-mina.</p></div></div><p> </p><p>Maven users will need to add the
following dependency to their <code>pom.xml</code> for this component:</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
-<script class="brush: xml; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-mina2</artifactId>
<version>x.x.x</version>
@@ -125,7 +125,7 @@ assertMockEndpointsSatisfied();
assertEquals("Bye World", response);
]]></script>
</div></div><h3 id="MINA2-SamplewithSpringDSL">Sample with Spring
DSL</h3><p>Spring DSL can, of course, also be used for <a shape="rect"
href="mina.html">MINA</a>. In the sample below we expose a TCP server on port
5555:</p><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[ <route>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[ <route>
<from uri="mina2:tcp://localhost:5555?textline=true"/>
<to uri="bean:myTCPOrderHandler"/>
</route>
Modified: websites/production/camel/content/mongodb-gridfs.html
==============================================================================
--- websites/production/camel/content/mongodb-gridfs.html (original)
+++ websites/production/camel/content/mongodb-gridfs.html Thu Sep 14 19:25:46
2017
@@ -86,7 +86,7 @@
<tr>
<td valign="top" width="100%">
<div class="wiki-content maincontent"><h2
id="MongoDBGridFS-CamelMongoDBGridFScomponent">Camel MongoDB GridFS
component</h2><p><strong>Available as of Camel 2.17</strong></p><p>Maven users
will need to add the following dependency to their <code>pom.xml</code> for
this component:</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
-<script class="brush: xml; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-mongodb-gridfs</artifactId>
<version>x.y.z</version>
Modified: websites/production/camel/content/mongodb.html
==============================================================================
--- websites/production/camel/content/mongodb.html (original)
+++ websites/production/camel/content/mongodb.html Thu Sep 14 19:25:46 2017
@@ -86,7 +86,7 @@
<tr>
<td valign="top" width="100%">
<div class="wiki-content maincontent"><h2
id="MongoDB-CamelMongoDBcomponent">Camel MongoDB
component</h2><p><strong>Available as of Camel 2.10</strong></p><p>According to
Wikipedia: "NoSQL is a movement promoting a loosely defined class of
non-relational data stores that break with a long history of relational
databases and ACID guarantees." NoSQL solutions have grown in popularity in the
last few years, and major extremely-used sites and services such as Facebook,
LinkedIn, Twitter, etc. are known to use them extensively to achieve
scalability and agility.</p><p>Basically, NoSQL solutions differ from
traditional RDBMS (Relational Database Management Systems) in that they don't
use SQL as their query language and generally don't offer ACID-like
transactional behaviour nor relational data. Instead, they are designed around
the concept of flexible data structures and schemas (meaning that the
traditional concept of a database table with a fixed schema is dropped),
extreme scalability
on commodity hardware and blazing-fast processing.</p><p>MongoDB is a very
popular NoSQL solution and the camel-mongodb component integrates Camel with
MongoDB allowing you to interact with MongoDB collections both as a producer
(performing operations on the collection) and as a consumer (consuming
documents from a MongoDB collection).</p><p>MongoDB revolves around the
concepts of documents (not as is office documents, but rather hierarchical data
defined in JSON/BSON) and collections. This component page will assume you are
familiar with them. Otherwise, visit <a shape="rect" class="external-link"
href="http://www.mongodb.org/"
rel="nofollow">http://www.mongodb.org/</a>.</p><p>Maven users will need to add
the following dependency to their <code>pom.xml</code> for this
component:</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
-<script class="brush: xml; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-mongodb</artifactId>
<version>x.y.z</version>
Modified: websites/production/camel/content/mqtt.html
==============================================================================
--- websites/production/camel/content/mqtt.html (original)
+++ websites/production/camel/content/mqtt.html Thu Sep 14 19:25:46 2017
@@ -86,7 +86,7 @@
<tr>
<td valign="top" width="100%">
<div class="wiki-content maincontent"><h2 id="MQTT-MQTTComponent">MQTT
Component</h2><p><strong>Available as of Camel 2.10</strong></p><p>The
<strong>mqtt:</strong> component is used for communicating with <a shape="rect"
class="external-link" href="http://mqtt.org" rel="nofollow">MQTT</a> compliant
message brokers, like <a shape="rect" class="external-link"
href="http://activemq.apache.org">Apache ActiveMQ</a> or <a shape="rect"
class="external-link" href="http://mosquitto.org"
rel="nofollow">Mosquitto</a></p><p>Maven users will need to add the following
dependency to their <code>pom.xml</code> for this component:</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
-<script class="brush: xml; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-mqtt</artifactId>
<version>x.x.x</version>
Modified: websites/production/camel/content/msv.html
==============================================================================
--- websites/production/camel/content/msv.html (original)
+++ websites/production/camel/content/msv.html Thu Sep 14 19:25:46 2017
@@ -92,7 +92,7 @@
<p>Maven users will need to add the following dependency to their
<code>pom.xml</code> for this component:</p>
<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
-<script class="brush: xml; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-msv</artifactId>
Modified: websites/production/camel/content/mustache.html
==============================================================================
--- websites/production/camel/content/mustache.html (original)
+++ websites/production/camel/content/mustache.html Thu Sep 14 19:25:46 2017
@@ -92,7 +92,7 @@
<p>Maven users will need to add the following dependency to their
<code>pom.xml</code> for this component:</p>
<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
-<script class="brush: xml; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-mustache</artifactId>