Modified: websites/production/camel/content/gauth.html
==============================================================================
--- websites/production/camel/content/gauth.html (original)
+++ websites/production/camel/content/gauth.html Thu Sep 14 19:25:46 2017
@@ -118,7 +118,7 @@ gauth://name[?options]
 
 <p>Some endpoint options such as <code>consumerKey</code>, 
<code>consumerSecret</code> or <code>keyLoader</code> are usually set to the 
same values on <code>gauth:authorize</code> and <code>gauth:upgrade</code> 
endpoints. The <code>gauth</code> component allows to configure them on 
component-level. These settings are then inherited by <code>gauth</code> 
endpoints and need not be set redundantly in the endpoint URIs. Here are some 
configuration examples.</p>
 <div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader 
panelHeader pdl" style="border-bottom-width: 1px;"><b>component configuration 
for a registered web application using the HMAC-SHA1 signature 
method</b></div><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[
 &lt;bean id=&quot;gauth&quot; 
class=&quot;org.apache.camel.component.gae.auth.GAuthComponent&quot;&gt;
     &lt;property name=&quot;consumerKey&quot; 
value=&quot;example.appspot.com&quot; /&gt;
     &lt;property name=&quot;consumerSecret&quot; value=&quot;QAtA...HfQ&quot; 
/&gt;
@@ -126,7 +126,7 @@ gauth://name[?options]
 ]]></script>
 </div></div>
 <div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader 
panelHeader pdl" style="border-bottom-width: 1px;"><b>component configuration 
for an unregistered web application using the HMAC-SHA1 signature 
method</b></div><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[
 &lt;bean id=&quot;gauth&quot; 
class=&quot;org.apache.camel.component.gae.auth.GAuthComponent&quot;&gt;
     &lt;!-- Google will display a warning message on the authorization page 
--&gt;
     &lt;property name=&quot;consumerKey&quot; value=&quot;anonymous&quot; /&gt;
@@ -135,7 +135,7 @@ gauth://name[?options]
 ]]></script>
 </div></div>
 <div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader 
panelHeader pdl" style="border-bottom-width: 1px;"><b>component configuration 
for a registered web application using the RSA-SHA1 signature 
method</b></div><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[
 &lt;bean id=&quot;gauth&quot; 
class=&quot;org.apache.camel.component.gae.auth.GAuthComponent&quot;&gt;
     &lt;property name=&quot;consumerKey&quot; 
value=&quot;ipfcloud.appspot.com&quot; /&gt;
     &lt;property name=&quot;keyLoader&quot; ref=&quot;jksLoader&quot; /&gt;
@@ -207,7 +207,7 @@ public class GAuthRouteBuilder extends R
 </div></div>
 <p>The above example relies on the following component 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[
 &lt;bean id=&quot;gauth&quot; 
class=&quot;org.apache.camel.component.gae.auth.GAuthComponent&quot;&gt;
     &lt;property name=&quot;consumerKey&quot; value=&quot;anonymous&quot; /&gt;
     &lt;property name=&quot;consumerSecret&quot; value=&quot;anonymous&quot; 
/&gt;
@@ -290,7 +290,7 @@ public class AccessExample {
 
 <p>Maven users will need to add the following dependency to their 
<code>pom.xml</code>.</p>
 <div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader 
panelHeader pdl" style="border-bottom-width: 1px;"><b>pom.xml</b></div><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[
 &lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-gae&lt;/artifactId&gt;

Modified: websites/production/camel/content/geocoder.html
==============================================================================
--- websites/production/camel/content/geocoder.html (original)
+++ websites/production/camel/content/geocoder.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="Geocoder-GeocoderComponent">Geocoder Component</h2><p><strong>Available as 
of Camel 2.12</strong></p><p>The <strong>geocoder:</strong> component is used 
for looking up geocodes (latitude and longitude) for a given address, or 
reverse lookup. The component uses the <a shape="rect" class="external-link" 
href="https://code.google.com/p/geocoder-java/"; rel="nofollow">Java API for 
Google Geocoder</a> library.</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[&lt;dependency&gt;
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-geocoder&lt;/artifactId&gt;
     &lt;version&gt;x.x.x&lt;/version&gt;

Modified: websites/production/camel/content/ghttp.html
==============================================================================
--- websites/production/camel/content/ghttp.html (original)
+++ websites/production/camel/content/ghttp.html Thu Sep 14 19:25:46 2017
@@ -131,7 +131,7 @@ ghttps://hostname[:port][/path][?options
 <p>For receiving messages via the <code>ghttp</code> component, a 
<code>CamelHttpTransportServlet</code> must be <a shape="rect" 
href="gae.html#GAE-web-xml">configured and mapped</a> in the application's 
<code>web.xml</code>. For example, to handle requests targeted at 
<code>http://&lt;appname&gt;.appspot.com/camel/*</code> or <code><a 
shape="rect" class="external-link" href="http://localhost/camel/*"; 
rel="nofollow">http://localhost/camel/*</a></code> (when using a local 
development server) the following servlet mapping must be defined:</p>
 
 <div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader 
panelHeader pdl" style="border-bottom-width: 1px;"><b>web.xml</b></div><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[
     ...
     &lt;servlet&gt;
         &lt;servlet-name&gt;CamelServlet&lt;/servlet-name&gt;
@@ -202,7 +202,7 @@ from(...)
 <p>Maven users will need to add the following dependency to their 
<code>pom.xml</code>. </p>
 
 <div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader 
panelHeader pdl" style="border-bottom-width: 1px;"><b>pom.xml</b></div><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[
 &lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-gae&lt;/artifactId&gt;

Modified: websites/production/camel/content/git.html
==============================================================================
--- websites/production/camel/content/git.html (original)
+++ websites/production/camel/content/git.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="Git-GitComponent">Git 
Component</h2><p><strong>Available as of Camel 
2.16</strong></p><p>The&#160;<strong>git:</strong>&#160;component allows you to 
work with a generic Git repository.&#160;</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[&lt;dependency&gt;
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-git&lt;/artifactId&gt;
     &lt;version&gt;x.x.x&lt;/version&gt;

Modified: websites/production/camel/content/github.html
==============================================================================
--- websites/production/camel/content/github.html (original)
+++ websites/production/camel/content/github.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="GitHub-GitHub">GitHub</h2><p><strong>Available as of Camel 
2.15</strong></p><p>The GitHub component interacts with the GitHub API by 
encapsulating&#160;<a shape="rect" class="external-link" 
href="http://org.eclipse.egit.github.core"; rel="nofollow">egit-github</a>. It 
currently provides polling for new pull requests, pull request comments, tags, 
and commits. &#160;It is also able to produce comments on pull requests, as 
well as close the pull request entirely.</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 GitHub API is fairly expansive. &#160;Therefore, 
this component could be easily expanded to provide additional interactions
 .</p><p>Maven users will need 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[&lt;dependency&gt;
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-github&lt;/artifactId&gt;
     &lt;version&gt;${camel-version}&lt;/version&gt;

Modified: websites/production/camel/content/glogin.html
==============================================================================
--- websites/production/camel/content/glogin.html (original)
+++ websites/production/camel/content/glogin.html Thu Sep 14 19:25:46 2017
@@ -183,7 +183,7 @@ public class GLoginTest {
 <p>Maven users will need to add the following dependency to their 
<code>pom.xml</code>. </p>
 
 <div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader 
panelHeader pdl" style="border-bottom-width: 1px;"><b>pom.xml</b></div><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[
 &lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-gae&lt;/artifactId&gt;

Modified: websites/production/camel/content/gmail.html
==============================================================================
--- websites/production/camel/content/gmail.html (original)
+++ websites/production/camel/content/gmail.html Thu Sep 14 19:25:46 2017
@@ -131,7 +131,7 @@ gmail://[email protected][?options]
 <p>Maven users will need to add the following dependency to their 
<code>pom.xml</code>. </p>
 
 <div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader 
panelHeader pdl" style="border-bottom-width: 1px;"><b>pom.xml</b></div><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[
 &lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-gae&lt;/artifactId&gt;

Modified: websites/production/camel/content/grape.html
==============================================================================
--- websites/production/camel/content/grape.html (original)
+++ websites/production/camel/content/grape.html Thu Sep 14 19:25:46 2017
@@ -102,7 +102,7 @@ CamelContext camelContext = grapeCamelCo
   setBody().constant(&quot;org.apache.camel/camel-ftp/2.15.2&quot;).
   to(&quot;grape:defaultMavenCoordinates&quot;);]]></script>
 </div></div><h3 id="Grape-AddingtheGrapecomponenttotheproject">Adding the 
Grape component to the project</h3><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[&lt;dependency&gt;
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-grape&lt;/artifactId&gt;
     &lt;version&gt;x.y.z&lt;/version&gt;

Modified: websites/production/camel/content/groovy-dsl.html
==============================================================================
--- websites/production/camel/content/groovy-dsl.html (original)
+++ websites/production/camel/content/groovy-dsl.html Thu Sep 14 19:25:46 2017
@@ -110,14 +110,14 @@
 ...
 ]]></script>
 </div></div><h3 id="GroovyDSL-DevelopingwiththeGroovyDSL">Developing with the 
Groovy DSL</h3><p>To be able to use the Groovy DSL in your camel routes you 
need to add the a dependency on <strong>camel-groovy</strong> which implements 
the Groovy DSL.</p><p>If you use Maven you can just add the following to your 
pom.xml, substituting the version number for the latest &amp; greatest release 
(see the download page for the latest 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[&lt;dependency&gt;
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
   &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
   &lt;artifactId&gt;camel-groovy&lt;/artifactId&gt;
   &lt;version&gt;2.11.0&lt;/version&gt;
 &lt;/dependency&gt;
 ]]></script>
 </div></div><p>Additionally you need to make sure that the Groovy classes will 
be compiled. You can either use gmaven for this or, particularly with mixed 
projects containing Java and Groovy code, you might want to use the <a 
shape="rect" class="external-link" 
href="http://groovy.codehaus.org/Groovy-Eclipse+compiler+plugin+for+Maven"; 
rel="nofollow">Groovy Eclipse compiler</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[  &lt;plugin&gt;
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[  &lt;plugin&gt;
     &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
     &lt;configuration&gt;
       &lt;compilerId&gt;groovy-eclipse-compiler&lt;/compilerId&gt;
@@ -132,7 +132,7 @@
   &lt;/plugin&gt;
 ]]></script>
 </div></div><p>As Eclipse user, you might want to configure the Maven Eclipse 
plugin in a way so that your project is set up correctly for using <a 
shape="rect" class="external-link" 
href="http://groovy.codehaus.org/Eclipse+Plugin"; rel="nofollow">Eclipse Plugin 
for Groovy</a> when <code>mvn eclipse:eclipse</code> is executed:</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[  &lt;plugin&gt;
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[  &lt;plugin&gt;
     &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
     &lt;artifactId&gt;maven-eclipse-plugin&lt;/artifactId&gt;
     &lt;configuration&gt;

Modified: websites/production/camel/content/groovy-renderer-user-guide.html
==============================================================================
--- websites/production/camel/content/groovy-renderer-user-guide.html (original)
+++ websites/production/camel/content/groovy-renderer-user-guide.html Thu Sep 
14 19:25:46 2017
@@ -97,7 +97,7 @@
 
 <p>Through <a shape="rect" href="web-console.html">Web Console</a>, you can 
review every route in the <a shape="rect" 
href="camelcontext.html">CamelContext</a>. After opening a route in your 
browser, the URL may be <a shape="rect" class="external-link" 
href="http://localhost:8080/routes/route1"; 
rel="nofollow">http://localhost:8080/routes/route1</a>, you can choose the edit 
link with groovy to update it. A groovy renderer will turn the route into 
groovy route definition. For example, after chooseing to edit a route defined 
by the following 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[
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[
 &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; 
standalone=&quot;yes&quot;?&gt;
 &lt;route id=&quot;route1&quot; 
xmlns:ns2=&quot;http://camel.apache.org/schema/web&quot; 
xmlns=&quot;http://camel.apache.org/schema/spring&quot;&gt;
   &lt;description&gt;This is an example route which you can start, stop and 
modify&lt;/description&gt;

Modified: websites/production/camel/content/groovy.html
==============================================================================
--- websites/production/camel/content/groovy.html (original)
+++ websites/production/camel/content/groovy.html Thu Sep 14 19:25:46 2017
@@ -105,7 +105,7 @@
 from(&quot;queue:foo&quot;).filter(groovy(&quot;request.lineItems.any { i 
-&gt; i.value &gt; 100 }&quot;)).to(&quot;queue:bar&quot;)
 ]]></script>
 </div></div><p>And the 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[        &lt;route&gt;
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[        &lt;route&gt;
             &lt;from uri=&quot;queue:foo&quot;/&gt;
             &lt;filter&gt;
                 &lt;groovy&gt;request.lineItems.any { i -&gt; i.value &gt; 100 
}&lt;/groovy&gt;

Modified: websites/production/camel/content/gsec.html
==============================================================================
--- websites/production/camel/content/gsec.html (original)
+++ websites/production/camel/content/gsec.html Thu Sep 14 19:25:46 2017
@@ -89,7 +89,7 @@
 <p>Securing GAE applications from unauthorized access is described in the <a 
shape="rect" class="external-link" 
href="http://code.google.com/appengine/docs/java/config/webxml.html#Security_and_Authentication";
 rel="nofollow">Security and Authentication</a> section of the Google App 
Engine documentation. Authorization constraints are declared in the <a 
shape="rect" href="gae.html#GAE-Theweb.xml">web.xml</a>. This applies to Camel 
applications as well. In the following example, the application is configured 
to only allow authenticated users (in any role) to access the application. 
Additionally, access to <code>/worker/*</code> URLs may only be done by users 
in the admin role. By default, web hook URLs installed by the <a shape="rect" 
href="gtask.html">gtask</a> component match the <code>/worker/*</code> pattern 
and should not be accessed by normal users. With this authorization constraint, 
only the task queuing service (which is always in the admin role) is allowed to 
access the web ho
 oks. For implementing custom, non-declarative authorization logic, Camel GAE 
applications should use the <a shape="rect" class="external-link" 
href="http://code.google.com/appengine/docs/java/users/overview.html"; 
rel="nofollow">Google Accounts Java API</a>.</p>
 
 <div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader 
panelHeader pdl" style="border-bottom-width: 1px;"><b>web.xml with 
authorization constraint</b></div><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[
 &lt;web-app 
 xmlns=&quot;http://java.sun.com/xml/ns/javaee&quot;
 xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;

Modified: websites/production/camel/content/gtask.html
==============================================================================
--- websites/production/camel/content/gtask.html (original)
+++ websites/production/camel/content/gtask.html Thu Sep 14 19:25:46 2017
@@ -135,7 +135,7 @@ from(gtask:default) // receive message f
 <p>This example requires the following servlet mapping.</p>
 
 <div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader 
panelHeader pdl" style="border-bottom-width: 1px;"><b>web.xml</b></div><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[
     ...
     &lt;servlet&gt;
         &lt;servlet-name&gt;CamelServlet&lt;/servlet-name&gt;
@@ -156,7 +156,7 @@ from(gtask:default) // receive message f
 <p>Maven users will need to add the following dependency to their 
<code>pom.xml</code>. </p>
 
 <div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader 
panelHeader pdl" style="border-bottom-width: 1px;"><b>pom.xml</b></div><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[
 &lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-gae&lt;/artifactId&gt;

Modified: websites/production/camel/content/guava-eventbus.html
==============================================================================
--- websites/production/camel/content/guava-eventbus.html (original)
+++ websites/production/camel/content/guava-eventbus.html Thu Sep 14 19:25:46 
2017
@@ -93,7 +93,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[
 &lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-guava-eventbus&lt;/artifactId&gt;

Modified: websites/production/camel/content/guice.html
==============================================================================
--- websites/production/camel/content/guice.html (original)
+++ websites/production/camel/content/guice.html Thu Sep 14 19:25:46 2017
@@ -91,7 +91,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[
 &lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-guice&lt;/artifactId&gt;

Modified: websites/production/camel/content/hazelcast-component.html
==============================================================================
--- websites/production/camel/content/hazelcast-component.html (original)
+++ websites/production/camel/content/hazelcast-component.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="HazelcastComponent-HazelcastComponent">Hazelcast 
Component</h2><p><strong>Available as of Camel 2.7</strong></p><p>The 
<strong>hazelcast:</strong> component allows you to work with the <a 
shape="rect" class="external-link" href="http://www.hazelcast.com"; 
rel="nofollow">Hazelcast</a> distributed data grid / cache. Hazelcast is a in 
memory data grid, entirely written in Java (single jar). It offers a great 
palette of different data stores like map, multi map (same key, n values), 
queue, list and atomic number. The main reason to use Hazelcast is its simple 
cluster support. If you have enabled multicast on your network you can run a 
cluster with hundred nodes with no extra configuration. Hazelcast can simply 
configured to add additional features like n copies between nodes (default is 
1), cache persistence, network configuration (if needed), near cache, enviction 
and so on. For more information consult the Hazelcast documentation on <a shap
 e="rect" class="external-link" href="http://www.hazelcast.com/docs.jsp"; 
rel="nofollow">http://www.hazelcast.com/docs.jsp</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[&lt;dependency&gt;
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-hazelcast&lt;/artifactId&gt;
     &lt;version&gt;x.x.x&lt;/version&gt;

Modified: 
websites/production/camel/content/hazelcast-idempotent-repository-tutorial.html
==============================================================================
--- 
websites/production/camel/content/hazelcast-idempotent-repository-tutorial.html 
(original)
+++ 
websites/production/camel/content/hazelcast-idempotent-repository-tutorial.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="HazelcastIdempotentRepositoryTutorial-HazelcastIdempotentRepositoryTutorial">Hazelcast
 Idempotent Repository Tutorial</h2><h3 
id="HazelcastIdempotentRepositoryTutorial-Overview">Overview</h3><p>Apache 
Camel enables you to integrate the Idempotent Consumer Pattern in a really 
simple way. In this tutorial we will setup a cluster consisting of two OSGi 
containers (Apache Karaf). Inside this both nodes we will deploy two equal 
Camel bundles. This two bundles will receive a message from a REST interface, 
send them via a Hazelcast SEDA queue and finally store it into a distributed 
Hazelcast map. To avoid that a (equal) message will be consumed twice we're 
using the idempotent repository implementation based on Hazelcast. This 
implementation guarantees cluster wide that no message will be processed 
twice.</p><h3 id="HazelcastIdempotentRepositoryTutorial-WhentoUse">When to 
Use</h3><p>If you use camel in a clustered environment (2 nodes or more) 
 and you have to be sure that two equal messages never will be processed 
twice.</p><h4 id="HazelcastIdempotentRepositoryTutorial-Whytouse">Why to 
use</h4><p>Because you can create with very few effort a Idempotent Repository 
over n nodes inside your Camel application.</p><h3 
id="HazelcastIdempotentRepositoryTutorial-HowtoUse">How to Use</h3><p>We will 
create a camel route with a restlet consumer and a hazelcast producer. These 
routes will be deployed on the servers and form our cluster.</p><p><span 
style="text-decoration: underline;">Preconsideration</span></p><p>The restlet 
consumer will get XML strings that represent an invoice:</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[&lt;Invoice id=&quot;${number}&quot;&gt;
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[&lt;Invoice id=&quot;${number}&quot;&gt;
        &lt;Article name=&quot;foo&quot;/&gt;
 &lt;/Invoice&gt; 
 ]]></script>
@@ -177,7 +177,7 @@ public class HazelcastIdempotenRepositor
 }
 ]]></script>
 </div></div><p>Our camel-context.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[&lt;?xml version=&quot;1.0&quot; 
encoding=&quot;UTF-8&quot;?&gt;
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[&lt;?xml version=&quot;1.0&quot; 
encoding=&quot;UTF-8&quot;?&gt;
 
 &lt;beans xmlns=&quot;http://www.springframework.org/schema/beans&quot;
        xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
@@ -192,7 +192,7 @@ public class HazelcastIdempotenRepositor
 &lt;/beans&gt;
 ]]></script>
 </div></div><p>The 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[&lt;?xml version=&quot;1.0&quot; 
encoding=&quot;UTF-8&quot;?&gt;
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[&lt;?xml version=&quot;1.0&quot; 
encoding=&quot;UTF-8&quot;?&gt;
 
 &lt;project xmlns=&quot;http://maven.apache.org/POM/4.0.0&quot; 
xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
        xsi:schemaLocation=&quot;http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd&quot;&gt;

Modified: websites/production/camel/content/hbase.html
==============================================================================
--- websites/production/camel/content/hbase.html (original)
+++ websites/production/camel/content/hbase.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="hbase-HBaseComponent">HBase 
Component</h2><p><strong>Available as of Camel 2.10</strong></p><p>This 
component provides an idempotent repository, producers and consumers for <a 
shape="rect" class="external-link" href="http://hbase.apache.org/";>Apache 
HBase</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[&lt;dependency&gt;
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-hbase&lt;/artifactId&gt;
     &lt;version&gt;x.x.x&lt;/version&gt;
@@ -94,7 +94,7 @@
 &lt;/dependency&gt;
 ]]></script>
 </div></div><h3 id="hbase-ApacheHBaseOverview">Apache HBase 
Overview</h3><p>HBase is an open-source, distributed, versioned, 
column-oriented store modeled after Google's Bigtable: A Distributed Storage 
System for Structured Data. You can use HBase when you need random, realtime 
read/write access to your Big Data. More information at <a shape="rect" 
class="external-link" href="http://hbase.apache.org";>Apache HBase</a>.</p><h3 
id="hbase-CamelandHBase">Camel and HBase</h3><p>When using a datastore inside a 
camel route, there is always the challenge of specifying how the camel message 
will stored to the datastore. In document based stores things are more easy as 
the message body can be directly mapped to a document. In relational databases 
an ORM solution can be used to map properties to columns etc. In column based 
stores things are more challenging as there is no standard way to perform that 
kind of mapping.</p><p>HBase adds two additional challenges:</p><ul 
class="alternate"><li>HBas
 e groups columns into families, so just mapping a property to a column using a 
name convention is just not enough.</li><li>HBase doesn't have the notion of 
type, which means that it stores everything as byte[] and doesn't know if the 
byte[] represents a String, a Number, a serialized Java object or just binary 
data.</li></ul><p>To overcome these challenges, camel-hbase makes use of the 
message headers to specify the mapping of the message to HBase columns. It also 
provides the ability to use some camel-hbase provided classes that model HBase 
data and can be easily convert to and from xml/json etc.<br clear="none"> 
Finally it provides the ability to the user to implement and use his own 
mapping strategy.</p><p>Regardless of the mapping strategy camel-hbase will 
convert a message into an org.apache.camel.component.hbase.model.HBaseData 
object and use that object for its internal operations.</p><h3 
id="hbase-Configuringthecomponent">Configuring the component</h3><p>The HBase 
component 
 can be provided a custom HBaseConfiguration object as a property or it can 
create an HBase configuration object on its own based on the HBase related 
resources that are found on classpath.</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[    &lt;bean id=&quot;hbase&quot; 
class=&quot;org.apache.camel.component.hbase.HBaseComponent&quot;&gt;
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[    &lt;bean id=&quot;hbase&quot; 
class=&quot;org.apache.camel.component.hbase.HBaseComponent&quot;&gt;
         &lt;property name=&quot;configuration&quot; ref=&quot;config&quot;/&gt;
     &lt;/bean&gt;
 ]]></script>
@@ -108,7 +108,7 @@
 
 
 <h4 id="hbase-PutOperations.">Put Operations.</h4><p>HBase is a column based 
store, which allows you to store data into a specific column of a specific row. 
Columns are grouped into families, so in order to specify a column you need to 
specify the column family and the qualifier of that column. To store data into 
a specific column you need to specify both the column and the row.</p><p>The 
simplest scenario for storing data into HBase from a camel route, would be to 
store part of the message body to specified HBase column.</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[        &lt;route&gt;
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[        &lt;route&gt;
             &lt;from uri=&quot;direct:in&quot;/&gt;
             &lt;!-- Set the HBase Row --&gt;
             &lt;setHeader headerName=&quot;CamelHBaseRowId&quot;&gt;
@@ -122,7 +122,7 @@
         &lt;/route&gt;
 ]]></script>
 </div></div><p>The route above assumes that the message body contains an 
object that has an id and value property and will store the content of value in 
the HBase column myfamily:myqualifier in the row specified by id. If we needed 
to specify more than one column/value pairs we could just specify additional 
column mappings. Notice that you must use numbers from the 2nd header onwards, 
eg RowId2, RowId3, RowId4, etc. Only the 1st header does not have the number 
1.</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[        &lt;route&gt;
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[        &lt;route&gt;
             &lt;from uri=&quot;direct:in&quot;/&gt;
             &lt;!-- Set the HBase Row 1st column --&gt;
             &lt;setHeader headerName=&quot;CamelHBaseRowId&quot;&gt;
@@ -144,7 +144,7 @@
         &lt;/route&gt;
 ]]></script>
 </div></div><p>It is important to remember that you can use uri options, 
message headers or a combination of both. It is recommended to specify 
constants as part of the uri and dynamic values as headers. If something is 
defined both as header and as part of the uri, the header will be used.</p><h4 
id="hbase-GetOperations.">Get Operations.</h4><p>A Get Operation is an 
operation that is used to retrieve one or more values from a specified HBase 
row. To specify what are the values that you want to retrieve you can just 
specify them as part of the uri or as message headers.</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[        &lt;route&gt;
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[        &lt;route&gt;
             &lt;from uri=&quot;direct:in&quot;/&gt;
             &lt;!-- Set the HBase Row of the Get --&gt;
             &lt;setHeader headerName=&quot;CamelHBaseRowId&quot;&gt;
@@ -155,7 +155,7 @@
         &lt;/route&gt;
 ]]></script>
 </div></div><p>In the example above the result of the get operation will be 
stored as a header with name CamelHBaseValue.</p><h4 
id="hbase-DeleteOperations.">Delete Operations.</h4><p>You can also you 
camel-hbase to perform HBase delete operation. The delete operation will remove 
an entire row. All that needs to be specified is one or more rows as part of 
the message headers.</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[        &lt;route&gt;
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[        &lt;route&gt;
             &lt;from uri=&quot;direct:in&quot;/&gt;
             &lt;!-- Set the HBase Row of the Get --&gt;
             &lt;setHeader headerName=&quot;CamelHBaseRowId&quot;&gt;
@@ -165,14 +165,14 @@
         &lt;/route&gt;
 ]]></script>
 </div></div><h4 id="hbase-ScanOperations.">Scan Operations.</h4><p>A scan 
operation is the equivalent of a query in HBase. You can use the scan operation 
to retrieve multiple rows. To specify what columns should be part of the result 
and also specify how the values will be converted to objects you can use either 
uri options or headers.</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[        &lt;route&gt;
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[        &lt;route&gt;
             &lt;from uri=&quot;direct:in&quot;/&gt;
             &lt;to 
uri=&quot;hbase:mytable?operation=CamelHBaseScan&amp;amp;family=myfamily&amp;amp;qualifier=myqualifier&amp;amp;valueType=java.lang.Long&amp;amp;rowType=java.lang.String&quot;/&gt;
             &lt;to uri=&quot;log:out&quot;/&gt;
         &lt;/route&gt;
 ]]></script>
 </div></div><p>In this case its probable that you also also need to specify a 
list of filters for limiting the results. You can specify a list of filters as 
part of the uri and camel will return only the rows that satisfy 
<strong>ALL</strong> the filters. <br clear="none"> To have a filter that will 
be aware of the information that is part of the message, camel defines the 
ModelAwareFilter. This will allow your filter to take into consideration the 
model that is defined by the message and the mapping strategy.<br clear="none"> 
When using a ModelAwareFilter camel-hbase will apply the selected mapping 
strategy to the in message, will create an object that models the mapping and 
will pass that object to the Filter.</p><p>For example to perform scan using as 
criteria the message headers, you can make use of the 
ModelAwareColumnMatchingFilter 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[        &lt;route&gt;
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[        &lt;route&gt;
             &lt;from uri=&quot;direct:scan&quot;/&gt;
             &lt;!-- Set the Criteria --&gt;
             &lt;setHeader headerName=&quot;CamelHBaseFamily&quot;&gt;

Modified: websites/production/camel/content/hdfs.html
==============================================================================
--- websites/production/camel/content/hdfs.html (original)
+++ websites/production/camel/content/hdfs.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="HDFS-HDFSComponent">HDFS 
Component</h2><p><strong>Available as of Camel 2.8</strong></p><p>The 
<strong>hdfs</strong> component enables you to read and write messages from/to 
an HDFS file system. HDFS is the distributed file system at the heart of <a 
shape="rect" class="external-link" 
href="http://hadoop.apache.org";>Hadoop</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[&lt;dependency&gt;
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-hdfs&lt;/artifactId&gt;
     &lt;version&gt;x.x.x&lt;/version&gt;

Modified: websites/production/camel/content/hdfs2.html
==============================================================================
--- websites/production/camel/content/hdfs2.html (original)
+++ websites/production/camel/content/hdfs2.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="HDFS2-HDFS2Component">HDFS2 
Component</h2><p><strong>Available as of Camel 2.13</strong></p><p>The 
<strong>hdfs2</strong> component enables you to read and write messages from/to 
an HDFS file system using Hadoop 2.x. HDFS is the distributed file system at 
the heart of <a shape="rect" class="external-link" 
href="http://hadoop.apache.org";>Hadoop</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[&lt;dependency&gt;
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-hdfs2&lt;/artifactId&gt;
     &lt;version&gt;x.x.x&lt;/version&gt;

Modified: websites/production/camel/content/hibernate-example.html
==============================================================================
--- websites/production/camel/content/hibernate-example.html (original)
+++ websites/production/camel/content/hibernate-example.html Thu Sep 14 
19:25:46 2017
@@ -112,7 +112,7 @@ The second route pickup the newly insert
 <p>In the <code>camel-context.xml</code> file in the 
<code>src/main/resources/META-INF/spring</code> folder we have the Spring XML 
file to setup and configure the database and Hibernate, as well the <a 
shape="rect" href="camelcontext.html">CamelContext</a>.</p>
 
 <div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader 
panelHeader pdl" style="border-bottom-width: 1px;"><b>Setting up 
database</b></div><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[
 &lt;!-- this is the JDBC data source which uses an in-memory only Apache Derby 
database --&gt;
   &lt;bean id=&quot;dataSource&quot; 
class=&quot;org.apache.commons.dbcp.BasicDataSource&quot; 
destroy-method=&quot;close&quot;&gt;
     &lt;property name=&quot;driverClassName&quot; 
value=&quot;org.apache.derby.jdbc.EmbeddedDriver&quot;/&gt;
@@ -126,7 +126,7 @@ The second route pickup the newly insert
 <p>And in the same file we setup Hibernate. At first we have the Camel 
Hibernate component, and then a number of beans to setup transactions. And then 
the last bean setup the Hibernate session factory where we refer to the data 
source and the hibernate mapping files, and any other hibernate configurations 
we may need.</p>
 
 <div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader 
panelHeader pdl" style="border-bottom-width: 1px;"><b>Setting up 
Hibernate</b></div><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[
   &lt;!-- setup the Camel hibernate component --&gt;
   &lt;bean id=&quot;hibernate&quot; 
class=&quot;org.apacheextras.camel.component.hibernate.HibernateComponent&quot;&gt;
     &lt;property name=&quot;sessionFactory&quot; 
ref=&quot;sessionFactory&quot;/&gt;
@@ -167,7 +167,7 @@ The second route pickup the newly insert
 
 <p>And then in the same file we setup our Camel application. At first we have 
a orderBean that we use in the routes to generate new orders and process orders 
as well.</p>
 <div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader 
panelHeader pdl" style="border-bottom-width: 1px;"><b>Camel 
application</b></div><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[
   &lt;!-- order bean is our business logic bean that creates new orders --&gt;
   &lt;bean id=&quot;orderBean&quot; 
class=&quot;org.apacheextras.camel.examples.hibernate.OrderBean&quot;/&gt;
 
@@ -218,7 +218,7 @@ public class Order {
 
 <p>The Order pojo is mapped to Hibernate using the mapping file 
<code>Order.hbm.xml</code> which is located in the 
<code>src/main/resources</code> directory of the example</p>
 <div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader 
panelHeader pdl" style="border-bottom-width: 1px;"><b>Hibernate mapping file to 
Order pojo</b></div><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[
 &lt;hibernate-mapping&gt;
 
        &lt;class 
name=&quot;org.apacheextras.camel.examples.hibernate.Order&quot; 
schema=&quot;orders&quot; table=&quot;incoming_order&quot;&gt;

Modified: websites/production/camel/content/hipchat.html
==============================================================================
--- websites/production/camel/content/hipchat.html (original)
+++ websites/production/camel/content/hipchat.html Thu Sep 14 19:25:46 2017
@@ -117,7 +117,7 @@ public void configure() throws Exception
 
 
 <h4 id="Hipchat-Dependencies"><span style="font-size: 16.0px;line-height: 
1.5625;">Dependencies</span></h4><p>Maven users will need to add the following 
dependency to their pom.xml.</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeHeader panelHeader pdl" 
style="border-bottom-width: 1px;"><b>pom.xml</b></div><div class="codeContent 
panelContent pdl">
-<script class="brush: xml; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-hipchat&lt;/artifactId&gt;
     &lt;version&gt;${camel-version}&lt;/version&gt;

Modified: 
websites/production/camel/content/how-do-i-configure-the-default-maximum-cache-size-for-producercache-or-producertemplate.html
==============================================================================
--- 
websites/production/camel/content/how-do-i-configure-the-default-maximum-cache-size-for-producercache-or-producertemplate.html
 (original)
+++ 
websites/production/camel/content/how-do-i-configure-the-default-maximum-cache-size-for-producercache-or-producertemplate.html
 Thu Sep 14 19:25:46 2017
@@ -101,7 +101,7 @@ getCamelContext().getProperties().put(Ex
 
 <p>And in Spring XML its done as:</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[
 &lt;camelContext&gt;
    &lt;properties&gt;
       &lt;property key=&quot;CamelMaximumCachePoolSize&quot; 
value=&quot;50&quot;/&gt;

Modified: 
websites/production/camel/content/how-do-i-configure-the-maximum-endpoint-cache-size-for-camelcontext.html
==============================================================================
--- 
websites/production/camel/content/how-do-i-configure-the-maximum-endpoint-cache-size-for-camelcontext.html
 (original)
+++ 
websites/production/camel/content/how-do-i-configure-the-maximum-endpoint-cache-size-for-camelcontext.html
 Thu Sep 14 19:25:46 2017
@@ -103,7 +103,7 @@ getCamelContext().getProperties().put(Ex
 
 <p>And in Spring XML its done as:</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[
 &lt;camelContext&gt;
    &lt;properties&gt;
       &lt;property key=&quot;CamelMaximumEndpointCacheSize&quot; 
value=&quot;500&quot;/&gt;

Modified: 
websites/production/camel/content/how-do-i-enable-streams-when-debug-logging-messages-in-camel.html
==============================================================================
--- 
websites/production/camel/content/how-do-i-enable-streams-when-debug-logging-messages-in-camel.html
 (original)
+++ 
websites/production/camel/content/how-do-i-enable-streams-when-debug-logging-messages-in-camel.html
 Thu Sep 14 19:25:46 2017
@@ -118,7 +118,7 @@ You can customize whether Camel should l
 <h4 
id="HowdoIenablestreamswhendebugloggingmessagesinCamel-CustomizingfromSpringDSL">Customizing
 from Spring DSL</h4>
 <p>You add to the Camel properties the flag to log streams.</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[
    &lt;camelContext&gt;
        &lt;properties&gt;
            &lt;property key=&quot;CamelLogDebugBodyStreams&quot; 
value=&quot;true&quot;/&gt;

Modified: websites/production/camel/content/how-do-i-name-my-routes.html
==============================================================================
--- websites/production/camel/content/how-do-i-name-my-routes.html (original)
+++ websites/production/camel/content/how-do-i-name-my-routes.html Thu Sep 14 
19:25:46 2017
@@ -97,7 +97,7 @@ from(&quot;direct:start&quot;).routeId(&
 
 <p>And in Spring XML using the <code>id</code> 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[
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[
 &lt;route id=&quot;myRoute&quot;&gt;
     &lt;from uri=&quot;direct:start&quot;/&gt;
     &lt;to uri=&quot;mock:bar&quot;/&gt;

Modified: 
websites/production/camel/content/how-do-i-run-camel-using-java-webstart.html
==============================================================================
--- 
websites/production/camel/content/how-do-i-run-camel-using-java-webstart.html 
(original)
+++ 
websites/production/camel/content/how-do-i-run-camel-using-java-webstart.html 
Thu Sep 14 19:25:46 2017
@@ -99,7 +99,7 @@
 
 <p>You need to configure your maven to not output the jar version attribute 
(<code>outputJarVersion=false</code>) as started in this snippet</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[
 &lt;plugin&gt;
   &lt;groupId&gt;org.codehaus.mojo.webstart&lt;/groupId&gt;
   &lt;artifactId&gt;webstart-maven-plugin&lt;/artifactId&gt;
@@ -136,7 +136,7 @@
 
 <p>And a sample of the generated <strong>appl.jnlp</strong> file:</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[
 &lt;jnlp .....&gt;
   .......
   &lt;resources&gt;

Modified: 
websites/production/camel/content/how-do-i-set-the-max-chars-when-debug-logging-messages-in-camel.html
==============================================================================
--- 
websites/production/camel/content/how-do-i-set-the-max-chars-when-debug-logging-messages-in-camel.html
 (original)
+++ 
websites/production/camel/content/how-do-i-set-the-max-chars-when-debug-logging-messages-in-camel.html
 Thu Sep 14 19:25:46 2017
@@ -116,7 +116,7 @@ You can use a limit of 0 or negative to
 <h4 
id="HowdoIsetthemaxcharswhendebugloggingmessagesinCamel-CustomizingfromSpringDSL">Customizing
 from Spring DSL</h4>
 <p>You add to the Camel properties the limit. For example to limit at 500 
chars:</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[
    &lt;camelContext&gt;
        &lt;properties&gt;
            &lt;property key=&quot;CamelLogDebugBodyMaxChars&quot; 
value=&quot;500&quot;/&gt;

Modified: 
websites/production/camel/content/how-to-avoid-sending-some-or-all-message-headers.html
==============================================================================
--- 
websites/production/camel/content/how-to-avoid-sending-some-or-all-message-headers.html
 (original)
+++ 
websites/production/camel/content/how-to-avoid-sending-some-or-all-message-headers.html
 Thu Sep 14 19:25:46 2017
@@ -108,7 +108,7 @@ from(...).removeHeaders(&quot;*&quot;, &
 
 <p>To do (a similar thing) in XML DSL you simply 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[
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[
 &lt;route&gt;
   &lt;from uri=&quot;...&quot;/&gt;
   &lt;removeHeaders pattern=&quot;*&quot; 
excludePattern=&quot;header1|header2&quot;/&gt;
@@ -129,7 +129,7 @@ from(...).removeHeaders(&quot;Camel*&quo
 
 <p>To do this in XML DSL you simply 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[
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[
 &lt;route&gt;
   &lt;from uri=&quot;...&quot;/&gt;
   &lt;removeHeaders pattern=&quot;Camel*&quot;/&gt;

Modified: 
websites/production/camel/content/how-to-switch-the-cxf-consumer-between-http-and-https-without-touching-the-spring-configuration.html
==============================================================================
--- 
websites/production/camel/content/how-to-switch-the-cxf-consumer-between-http-and-https-without-touching-the-spring-configuration.html
 (original)
+++ 
websites/production/camel/content/how-to-switch-the-cxf-consumer-between-http-and-https-without-touching-the-spring-configuration.html
 Thu Sep 14 19:25:46 2017
@@ -90,7 +90,7 @@
 <p>A simple Camel CXF Consumer configuration which use the http:conduit 
configuration to enable SSL and an external properties file for all environment 
specific configurations could looks like:</p>
 
 <div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader 
panelHeader pdl" style="border-bottom-width: 
1px;"><b>bundle-context.xml</b></div><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[
 &lt;beans xmlns=&quot;http://www.springframework.org/schema/beans&quot;
   xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
   xmlns:ctx=&quot;http://www.springframework.org/schema/context&quot;

Modified: 
websites/production/camel/content/how-to-use-camel-as-a-http-proxy-between-a-client-and-server.html
==============================================================================
--- 
websites/production/camel/content/how-to-use-camel-as-a-http-proxy-between-a-client-and-server.html
 (original)
+++ 
websites/production/camel/content/how-to-use-camel-as-a-http-proxy-between-a-client-and-server.html
 Thu Sep 14 19:25:46 2017
@@ -90,7 +90,7 @@
 
 <p>This can be done using the <a shape="rect" href="jetty.html">Jetty</a> 
component 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[
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[
   &lt;route&gt;
     &lt;from 
uri=&quot;jetty:http://0.0.0.0:8080/myapp?matchOnUriPrefix=true&quot;/&gt;
     &lt;to 
uri=&quot;jetty:http://realserverhostname:8090/myapp?bridgeEndpoint=true&amp;amp;throwExceptionOnFailure=false&quot;/&gt;
@@ -105,7 +105,7 @@ The option <code>matchOnUriPrefix</code>
 
 <p>You can also use <a shape="rect" href="servlet.html">Servlet</a> instead of 
<a shape="rect" href="jetty.html">Jetty</a>, 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[
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[
   &lt;route&gt;
     &lt;from uri=&quot;servlet:myapp?matchOnUriPrefix=true&quot;/&gt;
     &lt;to 
uri=&quot;http://realserverhostname:8090/myapp?bridgeEndpoint=true&amp;amp;throwExceptionOnFailure=false&quot;/&gt;

Modified: websites/production/camel/content/http4.html
==============================================================================
--- websites/production/camel/content/http4.html (original)
+++ websites/production/camel/content/http4.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="HTTP4-HTTP4Component">HTTP4 
Component</h2><p><strong>Available as of Camel 
2.3</strong></p><p>The&#160;<strong><code>camel-http4</code></strong> component 
provides HTTP based <a shape="rect" href="endpoint.html">endpoints</a> for 
calling external HTTP resources (as a client to call external servers using 
HTTP).</p><p>Maven users will need to add the following dependency to their 
<strong><code>pom.xml</code></strong> 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[&lt;dependency&gt;
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-http4&lt;/artifactId&gt;
     &lt;version&gt;x.x.x&lt;/version&gt;
@@ -105,7 +105,7 @@ HttpServletRequest response = exchange.g
   .to(&quot;http4://oldhost&quot;);
 ]]></script>
 </div></div><p><strong> Spring DSL</strong>:</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[&lt;camelContext 
xmlns=&quot;http://activemq.apache.org/camel/schema/spring&quot;&gt;
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[&lt;camelContext 
xmlns=&quot;http://activemq.apache.org/camel/schema/spring&quot;&gt;
   &lt;route&gt;
     &lt;from uri=&quot;direct:start&quot;/&gt;
     &lt;to uri=&quot;http4://oldhost&quot;/&gt;
@@ -136,7 +136,7 @@ HttpServletRequest response = exchange.g
 <script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[.setHeader(&quot;CamelHttpMethod&quot;, 
constant(&quot;POST&quot;))
 ]]></script>
 </div></div><p><strong> Spring DSL</strong>:</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[&lt;camelContext 
xmlns=&quot;http://activemq.apache.org/camel/schema/spring&quot;&gt;
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[&lt;camelContext 
xmlns=&quot;http://activemq.apache.org/camel/schema/spring&quot;&gt;
   &lt;route&gt;
     &lt;from uri=&quot;direct:start&quot;/&gt;
     &lt;setHeader headerName=&quot;CamelHttpMethod&quot;&gt;
@@ -208,7 +208,7 @@ HttpComponent httpComponent = getContext
 httpComponent.setSslContextParameters(scp);
 ]]></script>
 </div></div><h6 id="HTTP4-SpringDSLBasedConfigurationofEndpoint">Spring DSL 
Based Configuration of Endpoint</h6><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[...
   &lt;camel:sslContextParameters
       id=&quot;sslContextParameters&quot;&gt;
     &lt;camel:keyManagers
@@ -267,7 +267,7 @@ httpComponent.setHttpClientConfigurer(ne
 <script class="brush: xml; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[&lt;to 
uri=&quot;https4://myhostname.com:443/myURL?httpContext=myHttpContext&quot;/&gt;
 ]]></script>
 </div></div><h5 id="HTTP4-UsingDifferentSSLContextParameters">Using 
Different&#160;<code>SSLContextParameters</code></h5><p>The <a shape="rect" 
href="http4.html">HTTP4</a> component only support one instance of 
<strong><code>org.apache.camel.util.jsse.SSLContextParameters</code></strong> 
per component. If you need to use two or more different instances, then you 
need to setup multiple <a shape="rect" href="http4.html">HTTP4</a> components 
as shown below. Where we have two components, each using their own instance of 
<strong><code>sslContextParameters</code></strong> property.</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[&lt;bean id=&quot;http4-foo&quot; 
class=&quot;org.apache.camel.component.http4.HttpComponent&quot;&gt;
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[&lt;bean id=&quot;http4-foo&quot; 
class=&quot;org.apache.camel.component.http4.HttpComponent&quot;&gt;
    &lt;property name=&quot;sslContextParameters&quot; 
ref=&quot;sslContextParams1&quot;/&gt;
    &lt;property name=&quot;x509HostnameVerifier&quot; 
ref=&quot;hostnameVerifier&quot;/&gt;
 &lt;/bean&gt;

Modified: websites/production/camel/content/hystrix-eip.html
==============================================================================
--- websites/production/camel/content/hystrix-eip.html (original)
+++ websites/production/camel/content/hystrix-eip.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="HystrixEIP-HystrixEIP">Hystrix 
EIP</h2><p><strong>Available as of Camel 2.18</strong></p><p>The hystrix EIP 
provides integration with Netflix <a shape="rect" class="external-link" 
href="https://github.com/Netflix/Hystrix"; rel="nofollow">Hystrix</a>&#160;to be 
used as circuit breaker in the Camel routes. Hystrix is a latency and fault 
tolerance library designed to isolate points of access to remote systems, 
services and 3rd party libraries, stop cascading failure and enable resilience 
in complex distributed systems where failure is inevitable.</p><p>Maven users 
will need to add the following dependency to 
their&#160;<strong><code>pom.xml</code></strong> to use this EIP:</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[&lt;dependency&gt;
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-hystrix&lt;/artifactId&gt;
     &lt;version&gt;x.x.x&lt;/version&gt;&lt;!-- use the same version as your 
Camel core version --&gt;
@@ -101,7 +101,7 @@
     .end()
     .to(&quot;mock:result&quot;);]]></script>
 </div></div><p>And in 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[&lt;camelContext 
xmlns=&quot;http://camel.apache.org/schema/spring&quot;&gt;
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[&lt;camelContext 
xmlns=&quot;http://camel.apache.org/schema/spring&quot;&gt;
   &lt;route&gt;
     &lt;from uri=&quot;direct:start&quot;/&gt;
     &lt;hystrix&gt;
@@ -127,7 +127,7 @@
     .end()
     .to(&quot;mock:result&quot;);]]></script>
 </div></div><p>&#160;</p><p>And in 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[&lt;camelContext 
xmlns=&quot;http://camel.apache.org/schema/spring&quot;&gt;
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[&lt;camelContext 
xmlns=&quot;http://camel.apache.org/schema/spring&quot;&gt;
   &lt;route&gt;
     &lt;from uri=&quot;direct:start&quot;/&gt;
     &lt;hystrix&gt;
@@ -143,7 +143,7 @@
   &lt;/route&gt;
 &lt;/camelContext&gt;]]></script>
 </div></div><p>You can also configure hystrix globally and then refer to that 
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[&lt;camelContext 
xmlns=&quot;http://camel.apache.org/schema/spring&quot;&gt;
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[&lt;camelContext 
xmlns=&quot;http://camel.apache.org/schema/spring&quot;&gt;
  
   &lt;!-- a shared config which you can refer to from all your hystrix EIPs 
--&gt;
   &lt;hystrixConfiguration id=&quot;sharedConfig&quot; 
executionTimeoutInMilliseconds=&quot;5000&quot; 
circuitBreakerSleepWindowInMilliseconds=&quot;10000&quot;/&gt;

Modified: websites/production/camel/content/ical.html
==============================================================================
--- websites/production/camel/content/ical.html (original)
+++ websites/production/camel/content/ical.html Thu Sep 14 19:25:46 2017
@@ -127,7 +127,7 @@ from(&quot;direct:ical-unmarshal&quot;)
 
 <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[
 &lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-ical&lt;/artifactId&gt;

Modified: websites/production/camel/content/ignite.html
==============================================================================
--- websites/production/camel/content/ignite.html (original)
+++ websites/production/camel/content/ignite.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="Ignite-CamelIgnitecomponent">Camel Ignite 
component</h2><p><strong>Available as of Camel 2.17</strong></p><p><a 
shape="rect" class="external-link" href="https://ignite.apache.org/";>Apache 
Ignite</a> In-Memory Data Fabric is a high-performance, integrated and 
distributed in-memory platform for computing and transacting on large-scale 
data sets in real-time, orders of magnitude faster than possible with 
traditional disk-based or flash technologies. It&#160;is designed to deliver 
uncompromised performance for a wide set of in-memory computing use cases from 
high performance computing, to the industry most advanced data grid, highly 
available service grid, and streaming. See all <a shape="rect" 
class="external-link" 
href="https://ignite.apache.org/features.html";>features</a>.</p><p><span 
class="confluence-embedded-file-wrapper confluence-embedded-manual-size"><img 
class="confluence-embedded-image confluence-external-resource" height="250" sr
 c="https://ignite.apache.org/images/apache-ignite.png"; 
data-image-src="https://ignite.apache.org/images/apache-ignite.png";></span></p><p>This
 component offers seven endpoints to cover much of Ignite's 
functionality:</p><ul><li>Ignite Cache.</li><li>Ignite Compute.</li><li>Ignite 
Messaging.</li><li>Ignite Events.</li><li>Ignite Sets.</li><li>Ignite 
Queues.</li><li>Ignite ID Generator.</li></ul><p><strong>To use this 
component</strong>,&#160;add the following dependency to 
your&#160;<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[&lt;dependency&gt;
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-ignite&lt;/artifactId&gt;
     &lt;version&gt;${camel.version}&lt;/version&gt; &lt;!-- use the same 
version as your Camel core version --&gt;
@@ -107,11 +107,11 @@
 </div></div><p>This endpoint only supports producers.</p><h3 
id="Ignite-Options.5">Options</h3><div class="table-wrap"><table 
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh">Option</th><th colspan="1" rowspan="1" 
class="confluenceTh">Type</th><th colspan="1" rowspan="1" 
class="confluenceTh">Default value</th><th colspan="1" rowspan="1" 
class="confluenceTh">Description</th><th colspan="1" rowspan="1" 
class="confluenceTh">Compulsory</th><th colspan="1" rowspan="1" 
class="confluenceTh">Consumer/producer</th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p class="p1"><code>operation</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p 
class="p1"><code>IgniteQueueOperation</code> enum</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><pre class="p1">---</pre></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>The operation to invoke on the Ignite 
Queue.</p><p>Superseded by the <code>IgniteConstants.IGNITE_QUEUE_OPE
 RATION</code> header in the IN message.</p><p>Possible values: 
<code>CONTAINS<span class="s1" style="line-height: 1.42857;">,</span> ADD<span 
class="s1" style="line-height: 1.42857;">,</span> SIZE<span class="s1" 
style="line-height: 1.42857;">,</span> REMOVE<span class="s1" 
style="line-height: 1.42857;">,</span> ITERATOR<span class="s1" 
style="line-height: 1.42857;">,</span> CLEAR<span class="s1" 
style="line-height: 1.42857;">,</span> RETAIN_ALL<span class="s1" 
style="line-height: 1.42857;">,</span> ARRAY<span class="s1" 
style="line-height: 1.42857;">,</span> DRAIN<span class="s1" 
style="line-height: 1.42857;">,</span> ELEMENT<span class="s1" 
style="line-height: 1.42857;">,</span> PEEK<span class="s1" style="line-height: 
1.42857;">,</span> OFFER<span class="s1" style="line-height: 1.42857;">,</span> 
POLL<span class="s1" style="line-height: 1.42857;">,</span> TAKE<span 
class="s1" style="line-height: 1.42857;">,</span> PUT</code>.</p></td><td 
colspan="1" rowspan="1" class="confluenceT
 d">N</td><td colspan="1" rowspan="1" class="confluenceTd"><strong><span 
style="color: rgb(0,128,0);">Producer</span></strong></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p 
class="p1"><code>configuration</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><pre class="p1">CollectionConfiguration</pre></td><td 
colspan="1" rowspan="1" class="confluenceTd">empty 
<code>CollectionConfiguration</code></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>The configuration for this data structure. You can also 
specify inner properties by using the <code>config.</code> prefix.</p><p>For 
example: <code>?config.backups=4</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd">N</td><td colspan="1" rowspan="1" 
class="confluenceTd"><strong><span style="color: 
rgb(0,128,0);">Producer</span></strong></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><code>timeoutMillis</code></td><td colspan="1" 
rowspan="1" class="confluenceTd"><code>Long</code><
 /td><td colspan="1" rowspan="1" class="confluenceTd">---</td><td colspan="1" 
rowspan="1" class="confluenceTd">The <span>timeout in milliseconds to use when 
invoking the OFFER or POLL operations.</span></td><td colspan="1" rowspan="1" 
class="confluenceTd">N</td><td colspan="1" rowspan="1" 
class="confluenceTd"><strong><span style="color: 
rgb(0,128,0);">Producer</span></strong></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><code>capacity</code></td><td colspan="1" 
rowspan="1" class="confluenceTd"><code>int</code></td><td colspan="1" 
rowspan="1" class="confluenceTd">--- (unbounded)</td><td colspan="1" 
rowspan="1" class="confluenceTd">The queue capacity if you'd like to use a 
bounded queue.</td><td colspan="1" rowspan="1" class="confluenceTd">N</td><td 
colspan="1" rowspan="1" class="confluenceTd"><strong><span style="color: 
rgb(0,128,0);">Producer</span></strong></td></tr></tbody></table></div><h3 
id="Ignite-Headersused.4">Headers used</h3><p>This endpoint uses the follow
 ing headers:</p><div class="table-wrap"><table 
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh">Header name</th><th colspan="1" rowspan="1" 
class="confluenceTh">Constant</th><th colspan="1" rowspan="1" 
class="confluenceTh">Expected type</th><th colspan="1" rowspan="1" 
class="confluenceTh">Description</th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p 
class="p1"><code>CamelIgniteQueueOperation</code></p></td><td colspan="1" 
rowspan="1" 
class="confluenceTd"><code>IgniteConstants.<span>IGNITE_QUEUE_OPERATION</span></code></td><td
 colspan="1" rowspan="1" class="confluenceTd"><code>IgniteQueueOperation</code> 
enum</td><td colspan="1" rowspan="1" class="confluenceTd"><p>Allows you to 
dynamically change the queue operation.</p></td></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><code>CamelIgniteQueueMaxElements</code></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><code>IgniteConstants.IGNITE_QUEUE_MAX_ELEMENTS</code></td><t
 d colspan="1" rowspan="1" class="confluenceTd"><code>Integer or 
int</code></td><td colspan="1" rowspan="1" class="confluenceTd">When invoking 
the DRAIN operation, the amount of items to drain.</td></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><code>CamelIgniteQueueTransferredCount</code></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><code><span><span>IgniteConstants.</span></span>IGNITE_QUEUE_TRANSFERRED_COUNT</code></td><td
 colspan="1" rowspan="1" class="confluenceTd"><code><span>Integer or 
int</span></code></td><td colspan="1" rowspan="1" class="confluenceTd">The 
amount of items transferred as the result of the 
DRAIN&#160;operation.</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><code>CamelIgniteQueueTimeoutMillis</code></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><code><span><span>IgniteConstants.</span></span>IGNITE_QUEUE_TIMEOUT_MILLIS</code></td><td
 colspan="1" rowspan="1" class="confluenceTd"><code>Long or long</code></td><td 
colspan
 ="1" rowspan="1" class="confluenceTd">Dynamically sets the timeout in 
milliseconds to use when invoking the OFFER or POLL 
operations.&#160;</td></tr></tbody></table></div><h2 
id="Ignite-IDGEN:IgniteIDGeneratorendpoint">IDGEN: Ignite ID Generator 
endpoint</h2><p>The Ignite ID Generator endpoint allows you to interact with <a 
shape="rect" class="external-link" 
href="https://apacheignite.readme.io/docs/id-generator"; rel="nofollow">Ignite 
Atomic Sequences and ID Generators</a>.</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[ignite:idgen:sequenceName?option1=value1&amp;option2=value2...]]></script>
 </div></div><p>This endpoint only supports producers.</p><h3 
id="Ignite-Options.6">Options</h3><div class="table-wrap"><table 
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh">Option</th><th colspan="1" rowspan="1" 
class="confluenceTh">Type</th><th colspan="1" rowspan="1" 
class="confluenceTh">Default value</th><th colspan="1" rowspan="1" 
class="confluenceTh">Description</th><th colspan="1" rowspan="1" 
class="confluenceTh">Compulsory</th><th colspan="1" rowspan="1" 
class="confluenceTh">Consumer/producer</th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p class="p1"><code>operation</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p 
class="p1"><code>IgniteIdGenOperation enum</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><pre class="p1"><code>---</code></pre></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The operation to invoke on the 
Ignite ID Generator.</p><p>Superseded by the <code>IgniteConsta
 nts.IGNITE_IDGEN_OPERATION</code> header in the IN message.</p><p>Possible 
values: <code>ADD_AND_GET<span class="s1" style="line-height: 
1.42857;">,</span> GET<span class="s1" style="line-height: 1.42857;">,</span> 
GET_AND_ADD<span class="s1" style="line-height: 1.42857;">,</span> 
GET_AND_INCREMENT<span class="s1" style="line-height: 1.42857;">,</span> 
INCREMENT_AND_GET</code>.</p></td><td colspan="1" rowspan="1" 
class="confluenceTd">N</td><td colspan="1" rowspan="1" 
class="confluenceTd"><strong><span style="color: 
rgb(0,128,0);">Producer</span></strong></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p 
class="p1"><code>configuration</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><pre class="p1">CollectionConfiguration</pre></td><td 
colspan="1" rowspan="1" class="confluenceTd">empty 
CollectionConfiguration</td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>The configuration for this data structure. You can also 
specify inner properties by using t
 he <code>config.</code> prefix.</p><p>For example: 
<code>?config.backups=4</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd">N</td><td colspan="1" rowspan="1" 
class="confluenceTd"><strong><span style="color: 
rgb(0,128,0);">Producer</span></strong></td></tr></tbody></table></div><h2 
id="Ignite-InitializingtheIgnitecomponent">Initializing the Ignite 
component</h2><p>Each instance of the Ignite component is associated with an 
underlying <code>org.apache.ignite.Ignite</code> instance. You can interact 
with two Ignite clusters by initializing two instances of the Ignite component 
and binding them to different <code>IgniteConfiguration</code>s. There are 3 
ways to initialize the Ignite component:</p><ul><li>By passing in an existing 
<code><span>org.apache.ignite.Ignite</span></code>&#160;instance. Here's an 
example using Spring config:</li></ul><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<script class="brush: xml; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[&lt;bean name=&quot;ignite&quot; 
class=&quot;org.apache.camel.component.ignite.IgniteComponent&quot;&gt;
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[&lt;bean name=&quot;ignite&quot; 
class=&quot;org.apache.camel.component.ignite.IgniteComponent&quot;&gt;
    &lt;property name=&quot;ignite&quot; ref=&quot;ignite&quot; /&gt;
 &lt;/bean&gt;]]></script>
 </div></div><ul><li>By passing in an <code>IgniteConfiguration</code>, either 
constructed programmatically or through inversion of control (e.g. Spring, 
Blueprint, etc.). Here's an example using Spring config:</li></ul><div 
class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
-<script class="brush: xml; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[&lt;bean name=&quot;ignite&quot; 
class=&quot;org.apache.camel.component.ignite.IgniteComponent&quot;&gt;
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[&lt;bean name=&quot;ignite&quot; 
class=&quot;org.apache.camel.component.ignite.IgniteComponent&quot;&gt;
    &lt;property name=&quot;igniteConfiguration&quot;&gt;
       &lt;bean 
class=&quot;org.apache.ignite.configuration.IgniteConfiguration&quot;&gt;
          [...]
@@ -119,7 +119,7 @@
    &lt;/property&gt;
 &lt;/bean&gt;]]></script>
 </div></div><ul><li>By passing in a <code>URL</code>, <code>InputStream</code> 
or <code>String</code> URL to a Spring-based configuration file. In all three 
cases, you inject them in the same property called 
<code>configurationResource</code>.&#160;Here's an example using Spring 
config:</li></ul><div class="code panel pdl" style="border-width: 1px;"><div 
class="codeContent panelContent pdl">
-<script class="brush: xml; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[&lt;bean name=&quot;ignite&quot; 
class=&quot;org.apache.camel.component.ignite.IgniteComponent&quot;&gt;
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[&lt;bean name=&quot;ignite&quot; 
class=&quot;org.apache.camel.component.ignite.IgniteComponent&quot;&gt;
    &lt;property name=&quot;configurationResource&quot; 
value=&quot;file:[...]/ignite-config.xml&quot; /&gt;
 &lt;/bean&gt;]]></script>
 </div></div><p><br clear="none">Additionally, if using Camel programmatically, 
there are several convenience static methods in 
<code>IgniteComponent</code>&#160;that return a component out of any of these 
configuration 
options:</p><ul><li><code>IgniteComponent#fromIgnite(Ignite)</code></li><li><code>IgniteComponent#fromConfiguration(IgniteConfiguration)</code></li><li><code>IgniteComponent#fromInputStream(InputStream)</code></li><li><code>IgniteComponent#fromUrl(URL)</code></li><li><code>IgniteComponent#<span
 class="s2" style="font-family: monospace;line-height: 
1.42857;">fromLocation(</span>String)</code></li></ul><div><span 
style="font-family: monospace;"><br clear="none"></span></div><div>You may use 
those methods to quickly create an <code>IgniteComponent</code> with your 
chosen configuration technique.</div><h2 id="Ignite-Generaloptions">General 
options</h2><p>All endpoints share the following options:</p><div 
class="table-wrap"><table class="confluenceTable"><tbody><tr><th col
 span="1" rowspan="1" class="confluenceTh">Option</th><th colspan="1" 
rowspan="1" class="confluenceTh">Type</th><th colspan="1" rowspan="1" 
class="confluenceTh">Default value</th><th colspan="1" rowspan="1" 
class="confluenceTh">Description</th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><code>propagateIncomingBodyIfNoReturnValue</code></td><td 
colspan="1" rowspan="1" class="confluenceTd"><code>boolean</code></td><td 
colspan="1" rowspan="1" class="confluenceTd"><code>true</code></td><td 
colspan="1" rowspan="1" class="confluenceTd">If the underlying Ignite operation 
returns void (no return type), this flag determines whether the producer will 
copy the IN body into the OUT body.</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><code>treatCollectionsAsCacheObjects</code></td><td 
colspan="1" rowspan="1" class="confluenceTd"><code>boolean</code></td><td 
colspan="1" rowspan="1" class="confluenceTd"><code>false</code></td><td 
colspan="1" rowspan="1" class="confluen
 ceTd">Some Ignite operations can deal with multiple elements at once, if 
passed a Collection. Enabling this option will treat Collections as a single 
object, invoking the operation variant for cardinality 
1.</td></tr></tbody></table></div><h2 id="Ignite-OSGiSupportosgi-support">OSGi 
Support<span class="confluence-anchor-link" 
id="Ignite-osgi-support"></span></h2><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>Apache Ignite supports OSGi from 
version 1.5.0.final onwards.</p></div></div><p><strong>NOTES when installing 
on&#160;<a shape="rect" class="external-link" 
href="http://karaf.apache.org/";>Apache 
Karaf</a>:</strong></p><ol><li>Installing the camel-ignite feature will require 
the <strong>Ignite feature repository</strong> to be present.</li><li>You must 
have exported from the JRE (system bundle) some 
 low-level, non-standard packages that Ignite requires.</li></ol><p>Please 
refer to the OSGi section in the <a shape="rect" class="external-link" 
href="https://apacheignite.readme.io/docs/osgi-installation-in-karaf"; 
rel="nofollow">Ignite documentation</a>&#160;for more 
information.</p><p></p><h3 id="Ignite-SeeAlso">See Also</h3>


Reply via email to