Modified: websites/production/camel/content/controlbus.html
==============================================================================
--- websites/production/camel/content/controlbus.html (original)
+++ websites/production/camel/content/controlbus.html Tue Sep 22 14:26:24 2015
@@ -98,29 +98,29 @@ or use the event notifier which has an e
 <p>From Camel 2.11 onwards we have introduced a new <a shape="rect" 
href="controlbus-component.html">ControlBus Component</a> that allows you to 
send messages to a control bus <a shape="rect" 
href="endpoint.html">Endpoint</a> that reacts accordingly.</p>
 
 <h2 id="ControlBus-ControlBusComponent">ControlBus 
Component</h2><p><strong>Available as of Camel 2.11</strong></p><p>The 
<strong>controlbus:</strong> component provides easy management of Camel 
applications based on the <a shape="rect" href="controlbus.html">Control 
Bus</a> EIP pattern.<br clear="none"> For example, by sending a message to an 
<a shape="rect" href="endpoint.html">Endpoint</a> you can control the lifecycle 
of routes, or gather performance statistics.</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" 
style="font-size:12px;">controlbus:command[?options]
-</pre>
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[controlbus:command[?options]
+]]></script>
 </div></div><p>Where <strong>command</strong> can be any string to identify 
which type of command to use.</p><h3 id="ControlBus-Commands">Commands</h3><div 
class="confluenceTableSmall"><div class="table-wrap"><table 
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Command</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>route</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>To control routes using the 
<code>routeId</code> and <code>action</code> parameter.</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>language</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Allows you to specify a <a shape="rect" 
href="language.html">Language</a> to use for evaluating the message body. If 
there is any result from the evaluation, then the result is put in the message 
body.</p></td></tr></tbody></table>
 </div></div><h3 id="ControlBus-Options">Options</h3><div 
class="confluenceTableSmall"><div class="table-wrap"><table 
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Name</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Default Value</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>routeId</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>To specify a route by its 
<code>id</code>.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>action</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>null</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>To denote an action that can be either: 
<code>start</code>, <code>stop, suspend, resume</code>, or <code>status</code>. 
To either start or stop 
 a route, or to get the status of the route as output in the message body. You 
can use <code>suspend</code> and <code>resume</code> from <strong>Camel 
2.11.1</strong> onwards to either suspend or resume a route. And from 
<strong>Camel 2.11.1</strong> onwards you can use <code>stats</code> to get 
performance statics returned in XML format; the <code>routeId</code> option can 
be used to define which route to get the performance stats for, if 
<code>routeId</code> is not defined, then you get statistics for the entire <a 
shape="rect" href="camelcontext.html">CamelContext</a>.</p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>async</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Whether to execute the control 
bus task asynchronously. <strong>Important:</strong> If this option is enabled, 
then any result from the task is <strong>not</strong> set on the <a 
shape="rect" 
 href="exchange.html">Exchange</a>. This is only possible if executing tasks 
synchronously.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>loggingLevel</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>INFO</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Logging level used for logging when task is 
done, or if any exceptions occurred during processing the 
task.</p></td></tr></tbody></table></div></div><p>You can append query options 
to the URI in the following format, 
<code>?option=value&amp;option=value&amp;...</code></p><h3 
id="ControlBus-Samples">Samples</h3><h4 id="ControlBus-Usingroutecommand">Using 
route command</h4><p>The route command allows you to do common tasks on a given 
route very easily, for example to start a route, you can send an empty message 
to this endpoint:</p><div class="code panel pdl" style="border-width: 
1px;"><div class="codeContent panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" 
style="font-size:12px;">template.sendBody("controlbus:route?routeId=foo&amp;action=start",
 null);
-</pre>
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[template.sendBody(&quot;controlbus:route?routeId=foo&amp;action=start&quot;,
 null);
+]]></script>
 </div></div><p>To get the status of the route, you can do:</p><div class="code 
panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" 
style="font-size:12px;">String status = 
template.requestBody("controlbus:route?routeId=foo&amp;action=status", null, 
String.class);
-</pre>
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[String status = 
template.requestBody(&quot;controlbus:route?routeId=foo&amp;action=status&quot;,
 null, String.class);
+]]></script>
 </div></div><h5 id="ControlBus-Gettingperformancestatistics">Getting 
performance statistics</h5><p><strong>Available as of Camel 
2.11.1</strong></p><p>This requires JMX to be enabled (is by default) then you 
can get the performance statics per route, or for the <a shape="rect" 
href="camelcontext.html">CamelContext</a>. For example to get the statics for a 
route named foo, we can do:</p><div class="code panel pdl" style="border-width: 
1px;"><div class="codeContent panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" 
style="font-size:12px;">String xml = 
template.requestBody("controlbus:route?routeId=foo&amp;action=stats", null, 
String.class);
-</pre>
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[String xml = 
template.requestBody(&quot;controlbus:route?routeId=foo&amp;action=stats&quot;, 
null, String.class);
+]]></script>
 </div></div><p>The returned statics is in XML format. Its the same data you 
can get from JMX with the <code>dumpRouteStatsAsXml</code> operation on the 
<code>ManagedRouteMBean</code>.</p><p>To get statics for the entire <a 
shape="rect" href="camelcontext.html">CamelContext</a> you just omit the 
routeId parameter as shown below:</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" 
style="font-size:12px;">String xml = 
template.requestBody("controlbus:route?action=stats", null, String.class);
-</pre>
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[String xml = 
template.requestBody(&quot;controlbus:route?action=stats&quot;, null, 
String.class);
+]]></script>
 </div></div><h4 id="ControlBus-Usinglanguage">Using <a shape="rect" 
href="simple.html">Simple</a> language</h4><p>You can use the <a shape="rect" 
href="simple.html">Simple</a> language with the control bus, for example to 
stop a specific route, you can send a message to the 
<code>"controlbus:language:simple"</code> endpoint containing the following 
message:</p><div class="code panel pdl" style="border-width: 1px;"><div 
class="codeContent panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" 
style="font-size:12px;">template.sendBody("controlbus:language:simple", 
"${camelContext.stopRoute('myRoute')}");
-</pre>
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[template.sendBody(&quot;controlbus:language:simple&quot;,
 &quot;${camelContext.stopRoute(&#39;myRoute&#39;)}&quot;);
+]]></script>
 </div></div><p>As this is a void operation, no result is returned. However, if 
you want the route status you can do:</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" 
style="font-size:12px;">String status = 
template.requestBody("controlbus:language:simple", 
"${camelContext.getRouteStatus('myRoute')}", String.class);
-</pre>
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[String status = 
template.requestBody(&quot;controlbus:language:simple&quot;, 
&quot;${camelContext.getRouteStatus(&#39;myRoute&#39;)}&quot;, String.class);
+]]></script>
 </div></div><p><strong>Notice:</strong> its easier to use the 
<code>route</code> command to control lifecycle of routes. The 
<code>language</code> command allows you to execute a language script that has 
stronger powers such as <a shape="rect" href="groovy.html">Groovy</a> or to 
some extend the <a shape="rect" href="simple.html">Simple</a> 
language.</p><p>For example to shutdown Camel itself you can do:</p><div 
class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" 
style="font-size:12px;">template.sendBody("controlbus:language:simple?async=true",
 "${camelContext.stop()}");
-</pre>
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[template.sendBody(&quot;controlbus:language:simple?async=true&quot;,
 &quot;${camelContext.stop()}&quot;);
+]]></script>
 </div></div><p>Notice we use <code>async=true</code> to stop Camel 
asynchronously as otherwise we would be trying to stop Camel while it was 
in-flight processing the message we sent to the control bus component.</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>You can also use other languages 
such as <a shape="rect" href="groovy.html">Groovy</a>, 
etc.</p></div></div><p></p><h3 id="ControlBus-SeeAlso">See Also</h3>
 <ul><li><a shape="rect" href="configuring-camel.html">Configuring 
Camel</a></li><li><a shape="rect" 
href="component.html">Component</a></li><li><a shape="rect" 
href="endpoint.html">Endpoint</a></li><li><a shape="rect" 
href="getting-started.html">Getting Started</a></li></ul><ul 
class="alternate"><li><a shape="rect" href="controlbus.html">ControlBus</a> 
EIP</li><li><a shape="rect" href="jmx.html">JMX</a> Component</li><li>Using <a 
shape="rect" href="camel-jmx.html">JMX</a> with Camel</li></ul>
 
@@ -132,7 +132,7 @@ or use the event notifier which has an e
           <div class="navigation">
             <div class="navigation_top">
                 <!-- NavigationBar -->
-<div class="navigation_bottom" id="navigation_bottom"><h3 
id="Navigation-Overviewhttps://cwiki.apache.org/confluence/pages/viewpage.action?pageId=49132";><a
 shape="rect" href="overview.html">Overview</a></h3><ul 
class="alternate"><li><a shape="rect" href="index.html">Home</a></li><li><a 
shape="rect" href="download.html">Download</a></li><li><a shape="rect" 
href="getting-started.html">Getting Started</a></li><li><a shape="rect" 
href="faq.html">FAQ</a></li></ul><h3 
id="Navigation-Documentationhttps://cwiki.apache.org/confluence/pages/viewpage.action?pageId=49534";><a
 shape="rect" href="documentation.html">Documentation</a></h3><ul 
class="alternate"><li><a shape="rect" href="user-guide.html">User 
Guide</a></li><li><a shape="rect" href="manual.html">Manual</a></li><li><a 
shape="rect" href="books.html">Books</a></li><li><a shape="rect" 
href="tutorials.html">Tutorials</a></li><li><a shape="rect" 
href="examples.html">Examples</a></li><li><a shape="rect" 
href="cookbook.html">Cookbook</a></li>
 <li><a shape="rect" href="architecture.html">Architecture</a></li><li><a 
shape="rect" href="enterprise-integration-patterns.html">Enterprise Integration 
Patterns</a></li><li><a shape="rect" href="dsl.html">DSL</a></li><li><a 
shape="rect" href="components.html">Components</a></li><li><a shape="rect" 
href="data-format.html">Data Format</a></li><li><a shape="rect" 
href="languages.html">Languages</a></li><li><a shape="rect" 
href="security.html">Security</a></li><li><a shape="rect" 
href="security-advisories.html">Security Advisories</a></li></ul><h3 
id="Navigation-Search">Search</h3><form 
enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" 
action="http://www.google.com/cse";>
+<div class="navigation_bottom" id="navigation_bottom"><h3 
id="Navigation-Overview"><a shape="rect" 
href="overview.html">Overview</a></h3><ul class="alternate"><li><a shape="rect" 
href="index.html">Home</a></li><li><a shape="rect" 
href="download.html">Download</a></li><li><a shape="rect" 
href="getting-started.html">Getting Started</a></li><li><a shape="rect" 
href="faq.html">FAQ</a></li></ul><h3 id="Navigation-Documentation"><a 
shape="rect" href="documentation.html">Documentation</a></h3><ul 
class="alternate"><li><a shape="rect" href="user-guide.html">User 
Guide</a></li><li><a shape="rect" href="manual.html">Manual</a></li><li><a 
shape="rect" href="books.html">Books</a></li><li><a shape="rect" 
href="tutorials.html">Tutorials</a></li><li><a shape="rect" 
href="examples.html">Examples</a></li><li><a shape="rect" 
href="cookbook.html">Cookbook</a></li><li><a shape="rect" 
href="architecture.html">Architecture</a></li><li><a shape="rect" 
href="enterprise-integration-patterns.html">Enterprise
  Integration Patterns</a></li><li><a shape="rect" 
href="dsl.html">DSL</a></li><li><a shape="rect" 
href="components.html">Components</a></li><li><a shape="rect" 
href="data-format.html">Data Format</a></li><li><a shape="rect" 
href="languages.html">Languages</a></li><li><a shape="rect" 
href="security.html">Security</a></li><li><a shape="rect" 
href="security-advisories.html">Security Advisories</a></li></ul><h3 
id="Navigation-Search">Search</h3><form 
enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" 
action="http://www.google.com/cse";>
   <div>
     <input type="hidden" name="cx" value="007878419884033443453:m5nhvy4hmyq">
     <input type="hidden" name="ie" value="UTF-8">
@@ -140,7 +140,7 @@ or use the event notifier which has an e
     <input type="submit" name="sa" value="Search">
   </div>
 </form>
-<script type="text/javascript" 
src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en";></script><h3
 
id="Navigation-Communityhttps://cwiki.apache.org/confluence/pages/viewpage.action?pageId=49115";><a
 shape="rect" href="community.html">Community</a></h3><ul 
class="alternate"><li><a shape="rect" 
href="support.html">Support</a></li><li><a shape="rect" 
href="contributing.html">Contributing</a></li><li><a shape="rect" 
href="discussion-forums.html">Discussion Forums</a></li><li><a shape="rect" 
href="mailing-lists.html">Mailing Lists</a></li><li><a shape="rect" 
href="user-stories.html">User Stories</a></li><li><a shape="rect" 
href="news.html">News</a></li><li><a shape="rect" 
href="articles.html">Articles</a></li><li><a shape="rect" 
href="site.html">Site</a></li><li><a shape="rect" 
href="team.html">Team</a></li><li><a shape="rect" class="external-link" 
href="http://camel-extra.googlecode.com/"; rel="nofollow">Camel 
Extra</a></li></ul><h3 id="Navigation-Developershttps://cwi
 ki.apache.org/confluence/pages/viewpage.action?pageId=49124"><a shape="rect" 
href="developers.html">Developers</a></h3><ul class="alternate"><li><a 
shape="rect" href="developers.html">Developer Guide</a></li><li><a shape="rect" 
href="source.html">Source</a></li><li><a shape="rect" 
href="building.html">Building</a></li><li><a shape="rect" 
href="javadoc.html">JavaDoc</a></li><li><a shape="rect" 
href="irc-room.html">IRC Room</a></li></ul><h3 
id="Navigation-ApacheSoftwareFoundation">Apache Software Foundation</h3><ul 
class="alternate"><li><a shape="rect" class="external-link" 
href="http://www.apache.org/licenses/";>License</a></li><li><a shape="rect" 
class="external-link" 
href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</a></li><li><a
 shape="rect" class="external-link" 
href="http://www.apache.org/foundation/thanks.html";>Thanks</a></li><li><a 
shape="rect" class="external-link" 
href="http://www.apache.org/security/";>Security</a></li></ul></div>
+<script type="text/javascript" 
src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en";></script><h3
 id="Navigation-Community"><a shape="rect" 
href="community.html">Community</a></h3><ul class="alternate"><li><a 
shape="rect" href="support.html">Support</a></li><li><a shape="rect" 
href="contributing.html">Contributing</a></li><li><a shape="rect" 
href="discussion-forums.html">Discussion Forums</a></li><li><a shape="rect" 
href="mailing-lists.html">Mailing Lists</a></li><li><a shape="rect" 
href="user-stories.html">User Stories</a></li><li><a shape="rect" 
href="news.html">News</a></li><li><a shape="rect" 
href="articles.html">Articles</a></li><li><a shape="rect" 
href="site.html">Site</a></li><li><a shape="rect" 
href="team.html">Team</a></li><li><a shape="rect" class="external-link" 
href="http://camel-extra.googlecode.com/"; rel="nofollow">Camel 
Extra</a></li></ul><h3 id="Navigation-Developers"><a shape="rect" 
href="developers.html">Developers</a></h3><ul class="alternate"
 ><li><a shape="rect" href="developers.html">Developer Guide</a></li><li><a 
 >shape="rect" href="source.html">Source</a></li><li><a shape="rect" 
 >href="building.html">Building</a></li><li><a shape="rect" 
 >href="javadoc.html">JavaDoc</a></li><li><a shape="rect" 
 >href="irc-room.html">IRC Room</a></li></ul><h3 
 >id="Navigation-ApacheSoftwareFoundation">Apache Software Foundation</h3><ul 
 >class="alternate"><li><a shape="rect" class="external-link" 
 >href="http://www.apache.org/licenses/";>License</a></li><li><a shape="rect" 
 >class="external-link" 
 >href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</a></li><li><a
 > shape="rect" class="external-link" 
 >href="http://www.apache.org/foundation/thanks.html";>Thanks</a></li><li><a 
 >shape="rect" class="external-link" 
 >href="http://www.apache.org/security/";>Security</a></li></ul></div>
                 <!-- NavigationBar -->
             </div>
           </div>

Modified: websites/production/camel/content/couchdb.html
==============================================================================
--- websites/production/camel/content/couchdb.html (original)
+++ websites/production/camel/content/couchdb.html Tue Sep 22 14:26:24 2015
@@ -97,22 +97,22 @@
 <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">
-<pre class="brush: xml; gutter: false; theme: Default" style="font-size:12px;">
+<script class="brush: xml; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[
 &lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-couchdb&lt;/artifactId&gt;
     &lt;version&gt;x.x.x&lt;/version&gt;
     &lt;!-- use the same version as your Camel core version --&gt;
 &lt;/dependency&gt;
-</pre>
+]]></script>
 </div></div>
 
 <h3 id="CouchDB-URIformat">URI format</h3>
 
 <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" 
style="font-size:12px;">
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[
 couchdb:http://hostname[:port]/database?[options]
-</pre>
+]]></script>
 </div></div>
 
 <p>Where <strong>hostname</strong> is the hostname of the running couchdb 
instance. Port is optional and if not specified then defaults to 5984.</p>
@@ -140,32 +140,32 @@ couchdb:http://hostname[:port]/database?
 <p>For example if you wish to consume all inserts, updates and deletes from a 
CouchDB instance running locally, on port 9999 then you could use the 
following:</p>
 
 <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" 
style="font-size:12px;">
-from("couchdb:http://localhost:9999";).process(someProcessor);
-</pre>
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[
+from(&quot;couchdb:http://localhost:9999&quot;).process(someProcessor);
+]]></script>
 </div></div>
 
 <p>If you were only interested in deletes, then you could use the following</p>
 
 <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" 
style="font-size:12px;">
-from("couchdb:http://localhost:9999?updates=false";).process(someProcessor);
-</pre>
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[
+from(&quot;couchdb:http://localhost:9999?updates=false&quot;).process(someProcessor);
+]]></script>
 </div></div>
 
 <p>If you wanted to insert a message as a document, then the body of the 
exchange is used</p>
 
 <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" 
style="font-size:12px;">
-from("someProducingEndpoint").process(someProcessor).to("couchdb:http://localhost:9999";)
-</pre>
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[
+from(&quot;someProducingEndpoint&quot;).process(someProcessor).to(&quot;couchdb:http://localhost:9999&quot;)
+]]></script>
 </div></div></div>
         </td>
         <td valign="top">
           <div class="navigation">
             <div class="navigation_top">
                 <!-- NavigationBar -->
-<div class="navigation_bottom" id="navigation_bottom"><h3 
id="Navigation-Overviewhttps://cwiki.apache.org/confluence/pages/viewpage.action?pageId=49132";><a
 shape="rect" href="overview.html">Overview</a></h3><ul 
class="alternate"><li><a shape="rect" href="index.html">Home</a></li><li><a 
shape="rect" href="download.html">Download</a></li><li><a shape="rect" 
href="getting-started.html">Getting Started</a></li><li><a shape="rect" 
href="faq.html">FAQ</a></li></ul><h3 
id="Navigation-Documentationhttps://cwiki.apache.org/confluence/pages/viewpage.action?pageId=49534";><a
 shape="rect" href="documentation.html">Documentation</a></h3><ul 
class="alternate"><li><a shape="rect" href="user-guide.html">User 
Guide</a></li><li><a shape="rect" href="manual.html">Manual</a></li><li><a 
shape="rect" href="books.html">Books</a></li><li><a shape="rect" 
href="tutorials.html">Tutorials</a></li><li><a shape="rect" 
href="examples.html">Examples</a></li><li><a shape="rect" 
href="cookbook.html">Cookbook</a></li>
 <li><a shape="rect" href="architecture.html">Architecture</a></li><li><a 
shape="rect" href="enterprise-integration-patterns.html">Enterprise Integration 
Patterns</a></li><li><a shape="rect" href="dsl.html">DSL</a></li><li><a 
shape="rect" href="components.html">Components</a></li><li><a shape="rect" 
href="data-format.html">Data Format</a></li><li><a shape="rect" 
href="languages.html">Languages</a></li><li><a shape="rect" 
href="security.html">Security</a></li><li><a shape="rect" 
href="security-advisories.html">Security Advisories</a></li></ul><h3 
id="Navigation-Search">Search</h3><form 
enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" 
action="http://www.google.com/cse";>
+<div class="navigation_bottom" id="navigation_bottom"><h3 
id="Navigation-Overview"><a shape="rect" 
href="overview.html">Overview</a></h3><ul class="alternate"><li><a shape="rect" 
href="index.html">Home</a></li><li><a shape="rect" 
href="download.html">Download</a></li><li><a shape="rect" 
href="getting-started.html">Getting Started</a></li><li><a shape="rect" 
href="faq.html">FAQ</a></li></ul><h3 id="Navigation-Documentation"><a 
shape="rect" href="documentation.html">Documentation</a></h3><ul 
class="alternate"><li><a shape="rect" href="user-guide.html">User 
Guide</a></li><li><a shape="rect" href="manual.html">Manual</a></li><li><a 
shape="rect" href="books.html">Books</a></li><li><a shape="rect" 
href="tutorials.html">Tutorials</a></li><li><a shape="rect" 
href="examples.html">Examples</a></li><li><a shape="rect" 
href="cookbook.html">Cookbook</a></li><li><a shape="rect" 
href="architecture.html">Architecture</a></li><li><a shape="rect" 
href="enterprise-integration-patterns.html">Enterprise
  Integration Patterns</a></li><li><a shape="rect" 
href="dsl.html">DSL</a></li><li><a shape="rect" 
href="components.html">Components</a></li><li><a shape="rect" 
href="data-format.html">Data Format</a></li><li><a shape="rect" 
href="languages.html">Languages</a></li><li><a shape="rect" 
href="security.html">Security</a></li><li><a shape="rect" 
href="security-advisories.html">Security Advisories</a></li></ul><h3 
id="Navigation-Search">Search</h3><form 
enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" 
action="http://www.google.com/cse";>
   <div>
     <input type="hidden" name="cx" value="007878419884033443453:m5nhvy4hmyq">
     <input type="hidden" name="ie" value="UTF-8">
@@ -173,7 +173,7 @@ from("someProducingEndpoint").process(so
     <input type="submit" name="sa" value="Search">
   </div>
 </form>
-<script type="text/javascript" 
src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en";></script><h3
 
id="Navigation-Communityhttps://cwiki.apache.org/confluence/pages/viewpage.action?pageId=49115";><a
 shape="rect" href="community.html">Community</a></h3><ul 
class="alternate"><li><a shape="rect" 
href="support.html">Support</a></li><li><a shape="rect" 
href="contributing.html">Contributing</a></li><li><a shape="rect" 
href="discussion-forums.html">Discussion Forums</a></li><li><a shape="rect" 
href="mailing-lists.html">Mailing Lists</a></li><li><a shape="rect" 
href="user-stories.html">User Stories</a></li><li><a shape="rect" 
href="news.html">News</a></li><li><a shape="rect" 
href="articles.html">Articles</a></li><li><a shape="rect" 
href="site.html">Site</a></li><li><a shape="rect" 
href="team.html">Team</a></li><li><a shape="rect" class="external-link" 
href="http://camel-extra.googlecode.com/"; rel="nofollow">Camel 
Extra</a></li></ul><h3 id="Navigation-Developershttps://cwi
 ki.apache.org/confluence/pages/viewpage.action?pageId=49124"><a shape="rect" 
href="developers.html">Developers</a></h3><ul class="alternate"><li><a 
shape="rect" href="developers.html">Developer Guide</a></li><li><a shape="rect" 
href="source.html">Source</a></li><li><a shape="rect" 
href="building.html">Building</a></li><li><a shape="rect" 
href="javadoc.html">JavaDoc</a></li><li><a shape="rect" 
href="irc-room.html">IRC Room</a></li></ul><h3 
id="Navigation-ApacheSoftwareFoundation">Apache Software Foundation</h3><ul 
class="alternate"><li><a shape="rect" class="external-link" 
href="http://www.apache.org/licenses/";>License</a></li><li><a shape="rect" 
class="external-link" 
href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</a></li><li><a
 shape="rect" class="external-link" 
href="http://www.apache.org/foundation/thanks.html";>Thanks</a></li><li><a 
shape="rect" class="external-link" 
href="http://www.apache.org/security/";>Security</a></li></ul></div>
+<script type="text/javascript" 
src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en";></script><h3
 id="Navigation-Community"><a shape="rect" 
href="community.html">Community</a></h3><ul class="alternate"><li><a 
shape="rect" href="support.html">Support</a></li><li><a shape="rect" 
href="contributing.html">Contributing</a></li><li><a shape="rect" 
href="discussion-forums.html">Discussion Forums</a></li><li><a shape="rect" 
href="mailing-lists.html">Mailing Lists</a></li><li><a shape="rect" 
href="user-stories.html">User Stories</a></li><li><a shape="rect" 
href="news.html">News</a></li><li><a shape="rect" 
href="articles.html">Articles</a></li><li><a shape="rect" 
href="site.html">Site</a></li><li><a shape="rect" 
href="team.html">Team</a></li><li><a shape="rect" class="external-link" 
href="http://camel-extra.googlecode.com/"; rel="nofollow">Camel 
Extra</a></li></ul><h3 id="Navigation-Developers"><a shape="rect" 
href="developers.html">Developers</a></h3><ul class="alternate"
 ><li><a shape="rect" href="developers.html">Developer Guide</a></li><li><a 
 >shape="rect" href="source.html">Source</a></li><li><a shape="rect" 
 >href="building.html">Building</a></li><li><a shape="rect" 
 >href="javadoc.html">JavaDoc</a></li><li><a shape="rect" 
 >href="irc-room.html">IRC Room</a></li></ul><h3 
 >id="Navigation-ApacheSoftwareFoundation">Apache Software Foundation</h3><ul 
 >class="alternate"><li><a shape="rect" class="external-link" 
 >href="http://www.apache.org/licenses/";>License</a></li><li><a shape="rect" 
 >class="external-link" 
 >href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</a></li><li><a
 > shape="rect" class="external-link" 
 >href="http://www.apache.org/foundation/thanks.html";>Thanks</a></li><li><a 
 >shape="rect" class="external-link" 
 >href="http://www.apache.org/security/";>Security</a></li></ul></div>
                 <!-- NavigationBar -->
             </div>
           </div>

Modified: websites/production/camel/content/cxf-async-example.html
==============================================================================
--- websites/production/camel/content/cxf-async-example.html (original)
+++ websites/production/camel/content/cxf-async-example.html Tue Sep 22 
14:26:24 2015
@@ -100,18 +100,18 @@
 
 <p>You will need to compile this example first:</p>
 <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" 
style="font-size:12px;">
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[
   mvn compile
-</pre>
+]]></script>
 </div></div>
 
 <p>The example should run if you type:</p>
 <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" 
style="font-size:12px;">
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[
   mvn exec:java -PCamelServer
 
   mvn exec:java -PCamelClient
-</pre>
+]]></script>
 </div></div>
 
 <p>To stop the server hit ctrl + c</p>
@@ -121,18 +121,18 @@
 
 <p>As the client is single threaded it will send the messages in order, e.g. 
from 0 to 99.</p>
 <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" 
style="font-size:12px;">
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[
 [          org.apache.camel.example.client.CamelClient.main()] +++ request +++ 
     INFO  Exchange[BodyType:java.util.ArrayList, 
Body:[org.apache.camel.example.reportincident.InputReportIncident@df2925]]
 [          org.apache.camel.example.client.CamelClient.main()] +++ request +++ 
     INFO  Exchange[BodyType:java.util.ArrayList, 
Body:[org.apache.camel.example.reportincident.InputReportIncident@e89199]]
 [          org.apache.camel.example.client.CamelClient.main()] +++ request +++ 
     INFO  Exchange[BodyType:java.util.ArrayList, 
Body:[org.apache.camel.example.reportincident.InputReportIncident@437154]]
 [          org.apache.camel.example.client.CamelClient.main()] +++ request +++ 
     INFO  Exchange[BodyType:java.util.ArrayList, 
Body:[org.apache.camel.example.reportincident.InputReportIncident@ec7a35]]
 ...
-</pre>
+]]></script>
 </div></div>
 
 <p>As the HTTP server is simulating some time to process each message its 
replies will likely come after all the client have send all 100 messages. When 
they arrive they come back out of order</p>
 <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" 
style="font-size:12px;">
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[
 [    Camel thread 7: ToAsync[cxf:bean:reportIncidentEndpoint]] +++  reply  +++ 
     INFO  Exchange[BodyType:String, Body:7 = OK]
 [    Camel thread 3: ToAsync[cxf:bean:reportIncidentEndpoint]] +++  reply  +++ 
     INFO  Exchange[BodyType:String, Body:9 = OK]
 [    Camel thread 8: ToAsync[cxf:bean:reportIncidentEndpoint]] +++  reply  +++ 
     INFO  Exchange[BodyType:String, Body:0 = OK]
@@ -143,7 +143,7 @@
 [    Camel thread 6: ToAsync[cxf:bean:reportIncidentEndpoint]] +++  reply  +++ 
     INFO  Exchange[BodyType:String, Body:8 = OK]
 [    Camel thread 0: ToAsync[cxf:bean:reportIncidentEndpoint]] +++  reply  +++ 
     INFO  Exchange[BodyType:String, Body:3 = OK]
 ...
-</pre>
+]]></script>
 </div></div>
 
 <p>And as you can see they are being handled by different threads, as we have 
configured using a <code>poolSize=10</code> option.</p>
@@ -154,7 +154,7 @@
 <p>The output is then as expected a request, reply and so forth. And of course 
the throughput is much lower as we are only handle a single message at the time 
and blocked while waiting for the webserver reply.</p>
 
 <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" 
style="font-size:12px;">
+<script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[
 ...
 [          org.apache.camel.example.client.CamelClient.main()] +++  reply  +++ 
     INFO  Exchange[BodyType:String, Body:97 = OK]
 [          org.apache.camel.example.client.CamelClient.main()] +++ request +++ 
     INFO  Exchange[BodyType:java.util.ArrayList, 
Body:[org.apache.camel.example.reportincident.InputReportIncident@2566c1]]
@@ -162,7 +162,7 @@
 [          org.apache.camel.example.client.CamelClient.main()] +++ request +++ 
     INFO  Exchange[BodyType:java.util.ArrayList, 
Body:[org.apache.camel.example.reportincident.InputReportIncident@26ec29]]
 [          org.apache.camel.example.client.CamelClient.main()] +++  reply  +++ 
     INFO  Exchange[BodyType:String, Body:99 = OK]
 ... Send done
-</pre>
+]]></script>
 </div></div>
 
 
@@ -173,7 +173,7 @@
           <div class="navigation">
             <div class="navigation_top">
                 <!-- NavigationBar -->
-<div class="navigation_bottom" id="navigation_bottom"><h3 
id="Navigation-Overviewhttps://cwiki.apache.org/confluence/pages/viewpage.action?pageId=49132";><a
 shape="rect" href="overview.html">Overview</a></h3><ul 
class="alternate"><li><a shape="rect" href="index.html">Home</a></li><li><a 
shape="rect" href="download.html">Download</a></li><li><a shape="rect" 
href="getting-started.html">Getting Started</a></li><li><a shape="rect" 
href="faq.html">FAQ</a></li></ul><h3 
id="Navigation-Documentationhttps://cwiki.apache.org/confluence/pages/viewpage.action?pageId=49534";><a
 shape="rect" href="documentation.html">Documentation</a></h3><ul 
class="alternate"><li><a shape="rect" href="user-guide.html">User 
Guide</a></li><li><a shape="rect" href="manual.html">Manual</a></li><li><a 
shape="rect" href="books.html">Books</a></li><li><a shape="rect" 
href="tutorials.html">Tutorials</a></li><li><a shape="rect" 
href="examples.html">Examples</a></li><li><a shape="rect" 
href="cookbook.html">Cookbook</a></li>
 <li><a shape="rect" href="architecture.html">Architecture</a></li><li><a 
shape="rect" href="enterprise-integration-patterns.html">Enterprise Integration 
Patterns</a></li><li><a shape="rect" href="dsl.html">DSL</a></li><li><a 
shape="rect" href="components.html">Components</a></li><li><a shape="rect" 
href="data-format.html">Data Format</a></li><li><a shape="rect" 
href="languages.html">Languages</a></li><li><a shape="rect" 
href="security.html">Security</a></li><li><a shape="rect" 
href="security-advisories.html">Security Advisories</a></li></ul><h3 
id="Navigation-Search">Search</h3><form 
enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" 
action="http://www.google.com/cse";>
+<div class="navigation_bottom" id="navigation_bottom"><h3 
id="Navigation-Overview"><a shape="rect" 
href="overview.html">Overview</a></h3><ul class="alternate"><li><a shape="rect" 
href="index.html">Home</a></li><li><a shape="rect" 
href="download.html">Download</a></li><li><a shape="rect" 
href="getting-started.html">Getting Started</a></li><li><a shape="rect" 
href="faq.html">FAQ</a></li></ul><h3 id="Navigation-Documentation"><a 
shape="rect" href="documentation.html">Documentation</a></h3><ul 
class="alternate"><li><a shape="rect" href="user-guide.html">User 
Guide</a></li><li><a shape="rect" href="manual.html">Manual</a></li><li><a 
shape="rect" href="books.html">Books</a></li><li><a shape="rect" 
href="tutorials.html">Tutorials</a></li><li><a shape="rect" 
href="examples.html">Examples</a></li><li><a shape="rect" 
href="cookbook.html">Cookbook</a></li><li><a shape="rect" 
href="architecture.html">Architecture</a></li><li><a shape="rect" 
href="enterprise-integration-patterns.html">Enterprise
  Integration Patterns</a></li><li><a shape="rect" 
href="dsl.html">DSL</a></li><li><a shape="rect" 
href="components.html">Components</a></li><li><a shape="rect" 
href="data-format.html">Data Format</a></li><li><a shape="rect" 
href="languages.html">Languages</a></li><li><a shape="rect" 
href="security.html">Security</a></li><li><a shape="rect" 
href="security-advisories.html">Security Advisories</a></li></ul><h3 
id="Navigation-Search">Search</h3><form 
enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" 
action="http://www.google.com/cse";>
   <div>
     <input type="hidden" name="cx" value="007878419884033443453:m5nhvy4hmyq">
     <input type="hidden" name="ie" value="UTF-8">
@@ -181,7 +181,7 @@
     <input type="submit" name="sa" value="Search">
   </div>
 </form>
-<script type="text/javascript" 
src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en";></script><h3
 
id="Navigation-Communityhttps://cwiki.apache.org/confluence/pages/viewpage.action?pageId=49115";><a
 shape="rect" href="community.html">Community</a></h3><ul 
class="alternate"><li><a shape="rect" 
href="support.html">Support</a></li><li><a shape="rect" 
href="contributing.html">Contributing</a></li><li><a shape="rect" 
href="discussion-forums.html">Discussion Forums</a></li><li><a shape="rect" 
href="mailing-lists.html">Mailing Lists</a></li><li><a shape="rect" 
href="user-stories.html">User Stories</a></li><li><a shape="rect" 
href="news.html">News</a></li><li><a shape="rect" 
href="articles.html">Articles</a></li><li><a shape="rect" 
href="site.html">Site</a></li><li><a shape="rect" 
href="team.html">Team</a></li><li><a shape="rect" class="external-link" 
href="http://camel-extra.googlecode.com/"; rel="nofollow">Camel 
Extra</a></li></ul><h3 id="Navigation-Developershttps://cwi
 ki.apache.org/confluence/pages/viewpage.action?pageId=49124"><a shape="rect" 
href="developers.html">Developers</a></h3><ul class="alternate"><li><a 
shape="rect" href="developers.html">Developer Guide</a></li><li><a shape="rect" 
href="source.html">Source</a></li><li><a shape="rect" 
href="building.html">Building</a></li><li><a shape="rect" 
href="javadoc.html">JavaDoc</a></li><li><a shape="rect" 
href="irc-room.html">IRC Room</a></li></ul><h3 
id="Navigation-ApacheSoftwareFoundation">Apache Software Foundation</h3><ul 
class="alternate"><li><a shape="rect" class="external-link" 
href="http://www.apache.org/licenses/";>License</a></li><li><a shape="rect" 
class="external-link" 
href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</a></li><li><a
 shape="rect" class="external-link" 
href="http://www.apache.org/foundation/thanks.html";>Thanks</a></li><li><a 
shape="rect" class="external-link" 
href="http://www.apache.org/security/";>Security</a></li></ul></div>
+<script type="text/javascript" 
src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en";></script><h3
 id="Navigation-Community"><a shape="rect" 
href="community.html">Community</a></h3><ul class="alternate"><li><a 
shape="rect" href="support.html">Support</a></li><li><a shape="rect" 
href="contributing.html">Contributing</a></li><li><a shape="rect" 
href="discussion-forums.html">Discussion Forums</a></li><li><a shape="rect" 
href="mailing-lists.html">Mailing Lists</a></li><li><a shape="rect" 
href="user-stories.html">User Stories</a></li><li><a shape="rect" 
href="news.html">News</a></li><li><a shape="rect" 
href="articles.html">Articles</a></li><li><a shape="rect" 
href="site.html">Site</a></li><li><a shape="rect" 
href="team.html">Team</a></li><li><a shape="rect" class="external-link" 
href="http://camel-extra.googlecode.com/"; rel="nofollow">Camel 
Extra</a></li></ul><h3 id="Navigation-Developers"><a shape="rect" 
href="developers.html">Developers</a></h3><ul class="alternate"
 ><li><a shape="rect" href="developers.html">Developer Guide</a></li><li><a 
 >shape="rect" href="source.html">Source</a></li><li><a shape="rect" 
 >href="building.html">Building</a></li><li><a shape="rect" 
 >href="javadoc.html">JavaDoc</a></li><li><a shape="rect" 
 >href="irc-room.html">IRC Room</a></li></ul><h3 
 >id="Navigation-ApacheSoftwareFoundation">Apache Software Foundation</h3><ul 
 >class="alternate"><li><a shape="rect" class="external-link" 
 >href="http://www.apache.org/licenses/";>License</a></li><li><a shape="rect" 
 >class="external-link" 
 >href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</a></li><li><a
 > shape="rect" class="external-link" 
 >href="http://www.apache.org/foundation/thanks.html";>Thanks</a></li><li><a 
 >shape="rect" class="external-link" 
 >href="http://www.apache.org/security/";>Security</a></li></ul></div>
                 <!-- NavigationBar -->
             </div>
           </div>

Modified: websites/production/camel/content/cxf-example-osgi-blueprint.html
==============================================================================
--- websites/production/camel/content/cxf-example-osgi-blueprint.html (original)
+++ websites/production/camel/content/cxf-example-osgi-blueprint.html Tue Sep 
22 14:26:24 2015
@@ -86,38 +86,38 @@
         <tr>
         <td valign="top" width="100%">
 <div class="wiki-content maincontent"><h2 
id="CXFExampleOSGiBlueprint-CXFExampleOSGiBlueprint">CXF Example OSGi 
Blueprint</h2><p><strong>Available as of Camel 2.8</strong></p><div 
class="confluence-information-macro 
confluence-information-macro-information"><p class="title">Spring-DM vs. OSGi 
Blueprint</p><span class="aui-icon aui-icon-small aui-iconfont-info 
confluence-information-macro-icon"></span><div 
class="confluence-information-macro-body"><p>This example uses OSGi Blueprint 
for OSGi. There is another <a shape="rect" href="cxf-example-osgi.html">CXF 
Example OSGi</a> that uses Spring-DM.</p></div></div><p>A simple example which 
receives web service calls (via a CXF consumer, using bean binding)<br 
clear="none"> and writes these requests into the file system. It's not a very 
useful use case, but the goal<br clear="none"> of this example is to show you 
how you can use the CXF consumer component in an OSGI<br clear="none"> 
environment with the OSGI HTTP service. If your target co
 ntainer is Apache Karaf or Apache<br clear="none"> ServiceMix, you can use PAX 
Web to setup and start an OSGI HTTP service. All Camel<br clear="none"> bundles 
using a Camel CXF consumer can use this HTTP service without needing to 
start<br clear="none"> individual Jetty instances. Another advantage is that 
all provided services can now share<br clear="none"> the same port.</p><p>This 
example is located in the <code>examples/camel-example-cxf-blueprint</code> 
directory of the Camel distribution.<br clear="none"> There is a 
<code>README.txt</code> file with instructions how to run it.</p><p>You will 
need to compile this example first:</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<pre class="brush: text; gutter: false; theme: Default" 
style="font-size:12px;">  mvn install
-</pre>
+<script class="brush: text; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[  mvn install
+]]></script>
 </div></div><p>To run the example on Apache ServiceMix 4.x or Apache Karaf 
2.x</p><p>1) launch the server</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<pre class="brush: text; gutter: false; theme: Default" 
style="font-size:12px;">  karaf.bat
-  </pre>
+<script class="brush: text; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[  karaf.bat
+  ]]></script>
 </div></div><p>Note for Karaf 2.2.x: <br clear="none"> a) edit the 
etc/jre.properties file to add the following packages to be exported</p><div 
class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
-<pre class="brush: text; gutter: false; theme: Default" 
style="font-size:12px;">      jre-1.6=, \
+<script class="brush: text; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[      jre-1.6=, \
       com.sun.org.apache.xerces.internal.dom, \
       com.sun.org.apache.xerces.internal.jaxp, \
-</pre>
+]]></script>
 </div></div><p>b) from the same file comment out the following exports already 
provided by the bundles<br clear="none"> that will be imported next: 
javax.xml.bind*, javax.jws*, javax.xml.soap*, javax.xml.ws*, <br clear="none"> 
javax.activation, javax.annotation, javax.xml.stream*.</p><p>2) Add features 
required</p><div class="code panel pdl" style="border-width: 1px;"><div 
class="codeContent panelContent pdl">
-<pre class="brush: text; gutter: false; theme: Default" 
style="font-size:12px;"> 
+<script class="brush: text; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[ 
    features:addUrl mvn:org.apache.camel.karaf/apache-camel/2.9.0/xml/features
    features:install war
    features:install cxf
    features:install camel-jaxb
    features:install camel-blueprint
    features:install camel-cxf
-  </pre>
+  ]]></script>
 </div></div><p>Note: Apache Camel 2.9.0 is being used above, but you should of 
course change the<br clear="none"> version number to the exact version of Camel 
being used.</p><p>3) Deploy the example bundle</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<pre class="brush: text; gutter: false; theme: Default" 
style="font-size:12px;">  osgi:install -s 
mvn:org.apache.camel/camel-example-cxf-blueprint
-  </pre>
+<script class="brush: text; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[  osgi:install -s 
mvn:org.apache.camel/camel-example-cxf-blueprint
+  ]]></script>
 </div></div><p>4) Verify that your service is available using the following 
url in the browser. <br clear="none"> We assume you're using Karaf's default 
PAX Web configuration which uses <br clear="none"> port 8181 for http. If you 
would like to use another port or https, change the configuration in <br 
clear="none"> ${KARAF_HOME}/etc/org.ops4j.pax.web.cfg. The immediate extension 
after the hostname and port ("cxf" in<br clear="none"> the below URL) is 
configured via the org.apache.cxf.osgi.cfg file (Please see <br clear="none"> 
<a shape="rect" class="external-link" 
href="http://team.ops4j.org/wiki//display/paxweb/Pax+Web"; 
rel="nofollow">http://team.ops4j.org/wiki//display/paxweb/Pax+Web</a> for more 
information on PAX Web).</p><div class="code panel pdl" style="border-width: 
1px;"><div class="codeContent panelContent pdl">
-<pre class="brush: text; gutter: false; theme: Default" 
style="font-size:12px;">  
http://localhost:8181/cxf/camel-example-cxf-blueprint/webservices/incident?wsdl
-  </pre>
+<script class="brush: text; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[  
http://localhost:8181/cxf/camel-example-cxf-blueprint/webservices/incident?wsdl
+  ]]></script>
 </div></div><p>5) Start SOAPUI or use curl to send the request<br 
clear="none"> Create a new project called camel-example-cxf-osgi<br 
clear="none"> Point to the following url: <a shape="rect" class="external-link" 
href="http://localhost:8181/cxf/camel-example-cxf-blueprint/webservices/incident?wsdl";
 
rel="nofollow">http://localhost:8181/cxf/camel-example-cxf-blueprint/webservices/incident?wsdl</a><br
 clear="none"> Open the request 1 (under camel-example-cxf-blueprint --&gt; 
ReportIncidentBinding --&gt; ReportIncident) and copy/paste a SOAP<br 
clear="none"> message generated by the unit test, for example:</p><p>ex :<br 
clear="none"> --&gt; and the message formatted that you copy in SOAPUI</p><div 
class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
-<pre class="brush: xml; gutter: false; theme: Default" 
style="font-size:12px;">   
-   &lt;xml version="1.0" encoding="UTF-8"?&gt;
-   &lt;soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"&gt;
+<script class="brush: xml; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[   
+   &lt;xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
+   &lt;soap:Envelope 
xmlns:soap=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;&gt;
       &lt;soap:Header /&gt;
       &lt;soap:Body&gt;
-         &lt;ns2:inputReportIncident 
xmlns:ns2="http://reportincident.example.camel.apache.org"&gt;
+         &lt;ns2:inputReportIncident 
xmlns:ns2=&quot;http://reportincident.example.camel.apache.org&quot;&gt;
             &lt;incidentId&gt;111&lt;/incidentId&gt;
             &lt;incidentDate&gt;2011-03-05&lt;/incidentDate&gt;
             &lt;givenName&gt;Christian&lt;/givenName&gt;
@@ -129,24 +129,24 @@
          &lt;/ns2:inputReportIncident&gt;
       &lt;/soap:Body&gt;
    &lt;/soap:Envelope&gt;
-  </pre>
+  ]]></script>
 </div></div><p>If you use curl, you need to save the upper message in a file 
(data.xml) first and use the blow command to send the message.&#160;</p><div 
class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
-<pre class="brush: text; gutter: false; theme: Default" 
style="font-size:12px;">curl -X POST -T data.xml -H "Content-Type: text/xml" 
http://localhost:8181/cxf/camel-example-cxf-osgi/webservices/incident</pre>
+<script class="brush: text; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[curl -X POST -T data.xml -H 
&quot;Content-Type: text/xml&quot; 
http://localhost:8181/cxf/camel-example-cxf-osgi/webservices/incident]]></script>
 </div></div><p>The response message looks like this</p><div class="code panel 
pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<pre class="brush: xml; gutter: false; theme: Default" 
style="font-size:12px;">&lt;soap:Envelope 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"&gt;
+<script class="brush: xml; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[&lt;soap:Envelope 
xmlns:soap=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;&gt;
   &lt;soap:Body&gt;
-   &lt;ns2:outputReportIncident 
xmlns:ns2="http://reportincident.example.camel.apache.org"&gt;
+   &lt;ns2:outputReportIncident 
xmlns:ns2=&quot;http://reportincident.example.camel.apache.org&quot;&gt;
      &lt;code&gt;Accepted&lt;/code&gt;
    &lt;/ns2:outputReportIncident&gt;
   &lt;/soap:Body&gt;
-&lt;/soap:Envelope&gt;</pre>
+&lt;/soap:Envelope&gt;]]></script>
 </div></div><p>&#160;</p><p>6) Check the file system<br clear="none"> Check 
the folder "target/inbox/" in the Karaf base directory to see that a message 
has arrived.</p><h3 id="CXFExampleOSGiBlueprint-SeeAlso">See Also</h3><ul 
class="alternate"><li><a shape="rect" href="cxf-example-osgi.html">CXF Example 
OSGi</a></li><li><a shape="rect" 
href="examples.html">Examples</a></li></ul></div>
         </td>
         <td valign="top">
           <div class="navigation">
             <div class="navigation_top">
                 <!-- NavigationBar -->
-<div class="navigation_bottom" id="navigation_bottom"><h3 
id="Navigation-Overviewhttps://cwiki.apache.org/confluence/pages/viewpage.action?pageId=49132";><a
 shape="rect" href="overview.html">Overview</a></h3><ul 
class="alternate"><li><a shape="rect" href="index.html">Home</a></li><li><a 
shape="rect" href="download.html">Download</a></li><li><a shape="rect" 
href="getting-started.html">Getting Started</a></li><li><a shape="rect" 
href="faq.html">FAQ</a></li></ul><h3 
id="Navigation-Documentationhttps://cwiki.apache.org/confluence/pages/viewpage.action?pageId=49534";><a
 shape="rect" href="documentation.html">Documentation</a></h3><ul 
class="alternate"><li><a shape="rect" href="user-guide.html">User 
Guide</a></li><li><a shape="rect" href="manual.html">Manual</a></li><li><a 
shape="rect" href="books.html">Books</a></li><li><a shape="rect" 
href="tutorials.html">Tutorials</a></li><li><a shape="rect" 
href="examples.html">Examples</a></li><li><a shape="rect" 
href="cookbook.html">Cookbook</a></li>
 <li><a shape="rect" href="architecture.html">Architecture</a></li><li><a 
shape="rect" href="enterprise-integration-patterns.html">Enterprise Integration 
Patterns</a></li><li><a shape="rect" href="dsl.html">DSL</a></li><li><a 
shape="rect" href="components.html">Components</a></li><li><a shape="rect" 
href="data-format.html">Data Format</a></li><li><a shape="rect" 
href="languages.html">Languages</a></li><li><a shape="rect" 
href="security.html">Security</a></li><li><a shape="rect" 
href="security-advisories.html">Security Advisories</a></li></ul><h3 
id="Navigation-Search">Search</h3><form 
enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" 
action="http://www.google.com/cse";>
+<div class="navigation_bottom" id="navigation_bottom"><h3 
id="Navigation-Overview"><a shape="rect" 
href="overview.html">Overview</a></h3><ul class="alternate"><li><a shape="rect" 
href="index.html">Home</a></li><li><a shape="rect" 
href="download.html">Download</a></li><li><a shape="rect" 
href="getting-started.html">Getting Started</a></li><li><a shape="rect" 
href="faq.html">FAQ</a></li></ul><h3 id="Navigation-Documentation"><a 
shape="rect" href="documentation.html">Documentation</a></h3><ul 
class="alternate"><li><a shape="rect" href="user-guide.html">User 
Guide</a></li><li><a shape="rect" href="manual.html">Manual</a></li><li><a 
shape="rect" href="books.html">Books</a></li><li><a shape="rect" 
href="tutorials.html">Tutorials</a></li><li><a shape="rect" 
href="examples.html">Examples</a></li><li><a shape="rect" 
href="cookbook.html">Cookbook</a></li><li><a shape="rect" 
href="architecture.html">Architecture</a></li><li><a shape="rect" 
href="enterprise-integration-patterns.html">Enterprise
  Integration Patterns</a></li><li><a shape="rect" 
href="dsl.html">DSL</a></li><li><a shape="rect" 
href="components.html">Components</a></li><li><a shape="rect" 
href="data-format.html">Data Format</a></li><li><a shape="rect" 
href="languages.html">Languages</a></li><li><a shape="rect" 
href="security.html">Security</a></li><li><a shape="rect" 
href="security-advisories.html">Security Advisories</a></li></ul><h3 
id="Navigation-Search">Search</h3><form 
enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" 
action="http://www.google.com/cse";>
   <div>
     <input type="hidden" name="cx" value="007878419884033443453:m5nhvy4hmyq">
     <input type="hidden" name="ie" value="UTF-8">
@@ -154,7 +154,7 @@
     <input type="submit" name="sa" value="Search">
   </div>
 </form>
-<script type="text/javascript" 
src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en";></script><h3
 
id="Navigation-Communityhttps://cwiki.apache.org/confluence/pages/viewpage.action?pageId=49115";><a
 shape="rect" href="community.html">Community</a></h3><ul 
class="alternate"><li><a shape="rect" 
href="support.html">Support</a></li><li><a shape="rect" 
href="contributing.html">Contributing</a></li><li><a shape="rect" 
href="discussion-forums.html">Discussion Forums</a></li><li><a shape="rect" 
href="mailing-lists.html">Mailing Lists</a></li><li><a shape="rect" 
href="user-stories.html">User Stories</a></li><li><a shape="rect" 
href="news.html">News</a></li><li><a shape="rect" 
href="articles.html">Articles</a></li><li><a shape="rect" 
href="site.html">Site</a></li><li><a shape="rect" 
href="team.html">Team</a></li><li><a shape="rect" class="external-link" 
href="http://camel-extra.googlecode.com/"; rel="nofollow">Camel 
Extra</a></li></ul><h3 id="Navigation-Developershttps://cwi
 ki.apache.org/confluence/pages/viewpage.action?pageId=49124"><a shape="rect" 
href="developers.html">Developers</a></h3><ul class="alternate"><li><a 
shape="rect" href="developers.html">Developer Guide</a></li><li><a shape="rect" 
href="source.html">Source</a></li><li><a shape="rect" 
href="building.html">Building</a></li><li><a shape="rect" 
href="javadoc.html">JavaDoc</a></li><li><a shape="rect" 
href="irc-room.html">IRC Room</a></li></ul><h3 
id="Navigation-ApacheSoftwareFoundation">Apache Software Foundation</h3><ul 
class="alternate"><li><a shape="rect" class="external-link" 
href="http://www.apache.org/licenses/";>License</a></li><li><a shape="rect" 
class="external-link" 
href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</a></li><li><a
 shape="rect" class="external-link" 
href="http://www.apache.org/foundation/thanks.html";>Thanks</a></li><li><a 
shape="rect" class="external-link" 
href="http://www.apache.org/security/";>Security</a></li></ul></div>
+<script type="text/javascript" 
src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en";></script><h3
 id="Navigation-Community"><a shape="rect" 
href="community.html">Community</a></h3><ul class="alternate"><li><a 
shape="rect" href="support.html">Support</a></li><li><a shape="rect" 
href="contributing.html">Contributing</a></li><li><a shape="rect" 
href="discussion-forums.html">Discussion Forums</a></li><li><a shape="rect" 
href="mailing-lists.html">Mailing Lists</a></li><li><a shape="rect" 
href="user-stories.html">User Stories</a></li><li><a shape="rect" 
href="news.html">News</a></li><li><a shape="rect" 
href="articles.html">Articles</a></li><li><a shape="rect" 
href="site.html">Site</a></li><li><a shape="rect" 
href="team.html">Team</a></li><li><a shape="rect" class="external-link" 
href="http://camel-extra.googlecode.com/"; rel="nofollow">Camel 
Extra</a></li></ul><h3 id="Navigation-Developers"><a shape="rect" 
href="developers.html">Developers</a></h3><ul class="alternate"
 ><li><a shape="rect" href="developers.html">Developer Guide</a></li><li><a 
 >shape="rect" href="source.html">Source</a></li><li><a shape="rect" 
 >href="building.html">Building</a></li><li><a shape="rect" 
 >href="javadoc.html">JavaDoc</a></li><li><a shape="rect" 
 >href="irc-room.html">IRC Room</a></li></ul><h3 
 >id="Navigation-ApacheSoftwareFoundation">Apache Software Foundation</h3><ul 
 >class="alternate"><li><a shape="rect" class="external-link" 
 >href="http://www.apache.org/licenses/";>License</a></li><li><a shape="rect" 
 >class="external-link" 
 >href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</a></li><li><a
 > shape="rect" class="external-link" 
 >href="http://www.apache.org/foundation/thanks.html";>Thanks</a></li><li><a 
 >shape="rect" class="external-link" 
 >href="http://www.apache.org/security/";>Security</a></li></ul></div>
                 <!-- NavigationBar -->
             </div>
           </div>

Modified: websites/production/camel/content/cxfrs.html
==============================================================================
--- websites/production/camel/content/cxfrs.html (original)
+++ websites/production/camel/content/cxfrs.html Tue Sep 22 14:26:24 2015
@@ -126,29 +126,35 @@
     &lt;/jaxrs:serviceBeans&gt;       
   &lt;/jaxrs:server&gt;
   
-  &lt;!--  bean id=&quot;jsonProvider&quot; 
class=&quot;org.apache.cxf.jaxrs.provider.JSONProvider&quot;/--&gt;
+  &lt;bean id=&quot;jsonProvider&quot; 
class=&quot;org.apache.cxf.jaxrs.provider.json.JSONProvider&quot;/&gt;
 
   &lt;bean id=&quot;customerService&quot; 
class=&quot;org.apache.camel.component.cxf.jaxrs.testbean.CustomerService&quot; 
/&gt;
    
   &lt;!-- Defined the server endpoint to create the cxf-rs consumer --&gt; 
   &lt;cxf:rsServer id=&quot;rsServer&quot; 
address=&quot;http://localhost:${CXFTestSupport.port1}/CxfRsRouterTest/route&quot;
     
serviceClass=&quot;org.apache.camel.component.cxf.jaxrs.testbean.CustomerService&quot;
 
-    loggingFeatureEnabled=&quot;true&quot; loggingSizeLimit=&quot;20&quot; 
skipFaultLogging=&quot;true&quot;/&gt;
+    loggingFeatureEnabled=&quot;true&quot; loggingSizeLimit=&quot;20&quot; 
skipFaultLogging=&quot;true&quot;&gt;
+    &lt;cxf:providers&gt;
+       &lt;ref bean=&quot;jsonProvider&quot;/&gt;
+    &lt;/cxf:providers&gt;
+  &lt;/cxf:rsServer&gt;
 
   &lt;!-- Defined the client endpoint to create the cxf-rs consumer --&gt;
   &lt;cxf:rsClient id=&quot;rsClient&quot; 
address=&quot;http://localhost:${CXFTestSupport.port2}/CxfRsRouterTest/rest&quot;
     
serviceClass=&quot;org.apache.camel.component.cxf.jaxrs.testbean.CustomerService&quot;
-    loggingFeatureEnabled=&quot;true&quot; 
skipFaultLogging=&quot;true&quot;/&gt;
+    loggingFeatureEnabled=&quot;true&quot; 
skipFaultLogging=&quot;true&quot;&gt;
+    &lt;cxf:providers&gt;
+       &lt;ref bean=&quot;jsonProvider&quot;/&gt;
+    &lt;/cxf:providers&gt;
+  &lt;/cxf:rsClient&gt;
   
   &lt;!-- The camel route context --&gt;
   &lt;camelContext id=&quot;camel&quot; 
xmlns=&quot;http://camel.apache.org/schema/spring&quot;&gt;
     &lt;route&gt;
+       &lt;!-- Just need to ignoreDeleteMethodMessageBody --&gt;
        &lt;from uri=&quot;cxfrs://bean://rsServer&quot;/&gt;
-       &lt;!-- We can remove this configure as the CXFRS producer is using the 
HttpAPI by default --&gt;
-       &lt;setHeader headerName=&quot;CamelCxfRsUsingHttpAPI&quot;&gt;
-         &lt;constant&gt;True&lt;/constant&gt;        
-       &lt;/setHeader&gt;
-       &lt;to uri=&quot;cxfrs://bean://rsClient&quot;/&gt;
+       &lt;to uri=&quot;log:body?level=INFO&quot;/&gt;
+       &lt;to 
uri=&quot;cxfrs://bean://rsClient?ignoreDeleteMethodMessageBody=true&quot;/&gt;
     &lt;/route&gt;
   &lt;/camelContext&gt;
   
@@ -190,69 +196,33 @@ Payload:
 ]]></script>
 </div></div><p>For more examples on how to process requests and write 
responses can be found <a shape="rect" class="external-link" 
href="https://svn.apache.org/repos/asf/camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/simplebinding/";>here</a>.</p><h3
 id="CXFRS-ConsumingaRESTRequest-DefaultBindingStyle">Consuming a REST Request 
- Default Binding Style</h3><p>The&#160;<a shape="rect" class="external-link" 
href="https://cwiki.apache.org/CXF20DOC/JAX-RS";>CXF JAXRS front end</a> 
implements the <a shape="rect" class="external-link" 
href="https://jsr311.java.net/"; rel="nofollow">JAX-RS (JSR-311) API</a>, so we 
can export the resources classes as a REST service. And we leverage the <a 
shape="rect" class="external-link" 
href="http://cwiki.apache.org/confluence/display/CXF20DOC/Invokers";>CXF Invoker 
API</a> to turn a REST request into a normal Java object method invocation.<br 
clear="none"> Unlike the <a shape="rect" href="restlet.html">Camel 
Restlet</a>&#1
 60;component, you don't need to specify the URI template within your endpoint, 
CXF takes care of the REST request URI to resource class method mapping 
according to the JSR-311 specification. All you need to do in Camel is delegate 
this method request to a right processor or endpoint.</p><p>Here is an example 
of a CXFRS route...</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[
-private static final String CXF_RS_ENDPOINT_URI = 
&quot;cxfrs://http://localhost:&quot; + CXT + 
&quot;/rest?resourceClasses=org.apache.camel.component.cxf.jaxrs.testbean.CustomerServiceResource&quot;;
-
+private static final String CXF_RS_ENDPOINT_URI = 
+        &quot;cxfrs://http://localhost:&quot; + CXT + 
&quot;/rest?resourceClasses=org.apache.camel.component.cxf.jaxrs.testbean.CustomerServiceResource&quot;;
+private static final String CXF_RS_ENDPOINT_URI2 = 
+        &quot;cxfrs://http://localhost:&quot; + CXT + 
&quot;/rest2?resourceClasses=org.apache.camel.component.cxf.jaxrs.testbean.CustomerService&quot;;
+private static final String CXF_RS_ENDPOINT_URI3 = 
+        &quot;cxfrs://http://localhost:&quot; + CXT + &quot;/rest3?&quot;
+        + 
&quot;resourceClasses=org.apache.camel.component.cxf.jaxrs.testbean.CustomerServiceNoAnnotations&amp;&quot;
+        + 
&quot;modelRef=classpath:/org/apache/camel/component/cxf/jaxrs/CustomerServiceModel.xml&quot;;
+private static final String CXF_RS_ENDPOINT_URI4 = 
+        &quot;cxfrs://http://localhost:&quot; + CXT + &quot;/rest4?&quot;
+        + 
&quot;modelRef=classpath:/org/apache/camel/component/cxf/jaxrs/CustomerServiceDefaultHandlerModel.xml&quot;;
+private static final String CXF_RS_ENDPOINT_URI5 = 
+        &quot;cxfrs://http://localhost:&quot; + CXT + &quot;/rest5?&quot;
+        + &quot;propagateContexts=true&amp;&quot;
+        + 
&quot;modelRef=classpath:/org/apache/camel/component/cxf/jaxrs/CustomerServiceDefaultHandlerModel.xml&quot;;
 protected RouteBuilder createRouteBuilder() throws Exception {
+    final Processor testProcessor = new TestProcessor();
+    final Processor testProcessor2 = new TestProcessor2();
+    final Processor testProcessor3 = new TestProcessor3();
     return new RouteBuilder() {
         public void configure() {
             errorHandler(new NoErrorHandlerBuilder());
-            from(CXF_RS_ENDPOINT_URI).process(new Processor() {
-
-                public void process(Exchange exchange) throws Exception {
-                    Message inMessage = exchange.getIn();                      
  
-                    // Get the operation name from in message
-                    String operationName = 
inMessage.getHeader(CxfConstants.OPERATION_NAME, String.class);
-                    if (&quot;getCustomer&quot;.equals(operationName)) {
-                        String httpMethod = 
inMessage.getHeader(Exchange.HTTP_METHOD, String.class);
-                        assertEquals(&quot;Get a wrong http method&quot;, 
&quot;GET&quot;, httpMethod);
-                        String path = inMessage.getHeader(Exchange.HTTP_PATH, 
String.class);
-                        // The parameter of the invocation is stored in the 
body of in message
-                        String id = inMessage.getBody(String.class);
-                        if 
(&quot;/customerservice/customers/126&quot;.equals(path)) {                     
       
-                            Customer customer = new Customer();
-                            customer.setId(Long.parseLong(id));
-                            customer.setName(&quot;Willem&quot;);
-                            // We just put the response Object into the out 
message body
-                            exchange.getOut().setBody(customer);
-                        } else {
-                            if 
(&quot;/customerservice/customers/400&quot;.equals(path)) {
-                                // We return the remote client IP address this 
time
-                                org.apache.cxf.message.Message cxfMessage = 
inMessage.getHeader(CxfConstants.CAMEL_CXF_MESSAGE, 
org.apache.cxf.message.Message.class);
-                                ServletRequest request = (ServletRequest) 
cxfMessage.get(&quot;HTTP.REQUEST&quot;);
-                                String remoteAddress = request.getRemoteAddr();
-                                Response r = 
Response.status(200).entity(&quot;The remoteAddress is &quot; + 
remoteAddress).build();
-                                exchange.getOut().setBody(r);
-                                return;
-                            }
-                            if 
(&quot;/customerservice/customers/123&quot;.equals(path)) {
-                                // send a customer response back
-                                Response r = 
Response.status(200).entity(&quot;customer response back!&quot;).build();
-                                exchange.getOut().setBody(r);
-                                return;
-                            }
-                            if 
(&quot;/customerservice/customers/456&quot;.equals(path)) {
-                                Response r = 
Response.status(404).entity(&quot;Can&#39;t found the customer with uri &quot; 
+ path).build();
-                                throw new WebApplicationException(r);
-                            } else {
-                                throw new 
RuntimeCamelException(&quot;Can&#39;t found the customer with uri &quot; + 
path);
-                            }
-                        }
-                    }
-                    if (&quot;updateCustomer&quot;.equals(operationName)) {
-                        assertEquals(&quot;Get a wrong customer message 
header&quot;, &quot;header1;header2&quot;, 
inMessage.getHeader(&quot;test&quot;));
-                        String httpMethod = 
inMessage.getHeader(Exchange.HTTP_METHOD, String.class);
-                        assertEquals(&quot;Get a wrong http method&quot;, 
&quot;PUT&quot;, httpMethod);
-                        Customer customer = inMessage.getBody(Customer.class);
-                        assertNotNull(&quot;The customer should not be 
null.&quot;, customer);
-                        // Now you can do what you want on the customer object
-                        assertEquals(&quot;Get a wrong customer name.&quot;, 
&quot;Mary&quot;, customer.getName());
-                        // set the response back
-                        exchange.getOut().setBody(Response.ok().build());
-                    }
-                    
-                }
-                
-            });
+            from(CXF_RS_ENDPOINT_URI).process(testProcessor);
+            from(CXF_RS_ENDPOINT_URI2).process(testProcessor);
+            from(CXF_RS_ENDPOINT_URI3).process(testProcessor);
+            from(CXF_RS_ENDPOINT_URI4).process(testProcessor2);
+            from(CXF_RS_ENDPOINT_URI5).process(testProcessor3);
         }
     };
 }
@@ -269,6 +239,15 @@ public interface CustomerServiceResource
     @PUT
     @Path(&quot;/customers/&quot;)
     Response updateCustomer(Customer customer);
+    
+    @Path(&quot;/{id}&quot;)
+    @PUT()
+    @Consumes({ &quot;application/xml&quot;, &quot;text/plain&quot;,
+                    &quot;application/json&quot; })
+    @Produces({ &quot;application/xml&quot;, &quot;text/plain&quot;,
+                    &quot;application/json&quot; })
+    Object invoke(@PathParam(&quot;id&quot;) String id,
+                    String payload);
 }
 ]]></script>
 </div></div><h3 
id="CXFRS-HowtoinvoketheRESTservicethroughcamel-cxfrsproducer">How to invoke 
the REST service through camel-cxfrs producer</h3><p>The&#160;<a shape="rect" 
class="external-link" href="https://cwiki.apache.org/CXF20DOC/JAX-RS";>CXF JAXRS 
front end</a> implements <a shape="rect" class="external-link" 
href="https://cwiki.apache.org/CXF20DOC/JAX-RS+Client+API#JAX-RSClientAPI-Proxy-basedAPI";>a
 proxy-based client API</a>, with this API you can invoke the remote REST 
service through a proxy. The&#160;<code>camel-cxfrs</code> producer is based on 
this <a shape="rect" class="external-link" 
href="https://cwiki.apache.org/CXF20DOC/JAX-RS+Client+API#JAX-RSClientAPI-Proxy-basedAPI";>proxy
 API</a>.<br clear="none"> You just need to specify the operation name in the 
message header and prepare the parameter in the message body, the 
<span>camel-cxfrs</span>&#160;producer will generate right REST request for 
you.</p><p>Here is an example:</p><div class="code panel pdl" style="border-widt
 h: 1px;"><div class="codeContent panelContent pdl">
@@ -284,6 +263,8 @@ Exchange exchange = template.send(&quot;
         inMessage.setHeader(CxfConstants.CAMEL_CXF_RS_USING_HTTP_API, 
Boolean.FALSE);
         // set a customer header
         inMessage.setHeader(&quot;key&quot;, &quot;value&quot;);
+        // setup the accept content type
+        inMessage.setHeader(Exchange.ACCEPT_CONTENT_TYPE, 
&quot;application/json&quot;);
         // set the parameters , if you just have one parameter 
         // camel will put this object into an Object[] itself
         inMessage.setBody(&quot;123&quot;);

Modified: websites/production/camel/content/documentation.html
==============================================================================
--- websites/production/camel/content/documentation.html (original)
+++ websites/production/camel/content/documentation.html Tue Sep 22 14:26:24 
2015
@@ -90,7 +90,7 @@
           <div class="navigation">
             <div class="navigation_top">
                 <!-- NavigationBar -->
-<div class="navigation_bottom" id="navigation_bottom"><h3 
id="Navigation-Overviewhttps://cwiki.apache.org/confluence/pages/viewpage.action?pageId=49132";><a
 shape="rect" href="overview.html">Overview</a></h3><ul 
class="alternate"><li><a shape="rect" href="index.html">Home</a></li><li><a 
shape="rect" href="download.html">Download</a></li><li><a shape="rect" 
href="getting-started.html">Getting Started</a></li><li><a shape="rect" 
href="faq.html">FAQ</a></li></ul><h3 
id="Navigation-Documentationhttps://cwiki.apache.org/confluence/pages/viewpage.action?pageId=49534";><a
 shape="rect" href="documentation.html">Documentation</a></h3><ul 
class="alternate"><li><a shape="rect" href="user-guide.html">User 
Guide</a></li><li><a shape="rect" href="manual.html">Manual</a></li><li><a 
shape="rect" href="books.html">Books</a></li><li><a shape="rect" 
href="tutorials.html">Tutorials</a></li><li><a shape="rect" 
href="examples.html">Examples</a></li><li><a shape="rect" 
href="cookbook.html">Cookbook</a></li>
 <li><a shape="rect" href="architecture.html">Architecture</a></li><li><a 
shape="rect" href="enterprise-integration-patterns.html">Enterprise Integration 
Patterns</a></li><li><a shape="rect" href="dsl.html">DSL</a></li><li><a 
shape="rect" href="components.html">Components</a></li><li><a shape="rect" 
href="data-format.html">Data Format</a></li><li><a shape="rect" 
href="languages.html">Languages</a></li><li><a shape="rect" 
href="security.html">Security</a></li><li><a shape="rect" 
href="security-advisories.html">Security Advisories</a></li></ul><h3 
id="Navigation-Search">Search</h3><form 
enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" 
action="http://www.google.com/cse";>
+<div class="navigation_bottom" id="navigation_bottom"><h3 
id="Navigation-Overview"><a shape="rect" 
href="overview.html">Overview</a></h3><ul class="alternate"><li><a shape="rect" 
href="index.html">Home</a></li><li><a shape="rect" 
href="download.html">Download</a></li><li><a shape="rect" 
href="getting-started.html">Getting Started</a></li><li><a shape="rect" 
href="faq.html">FAQ</a></li></ul><h3 id="Navigation-Documentation"><a 
shape="rect" href="documentation.html">Documentation</a></h3><ul 
class="alternate"><li><a shape="rect" href="user-guide.html">User 
Guide</a></li><li><a shape="rect" href="manual.html">Manual</a></li><li><a 
shape="rect" href="books.html">Books</a></li><li><a shape="rect" 
href="tutorials.html">Tutorials</a></li><li><a shape="rect" 
href="examples.html">Examples</a></li><li><a shape="rect" 
href="cookbook.html">Cookbook</a></li><li><a shape="rect" 
href="architecture.html">Architecture</a></li><li><a shape="rect" 
href="enterprise-integration-patterns.html">Enterprise
  Integration Patterns</a></li><li><a shape="rect" 
href="dsl.html">DSL</a></li><li><a shape="rect" 
href="components.html">Components</a></li><li><a shape="rect" 
href="data-format.html">Data Format</a></li><li><a shape="rect" 
href="languages.html">Languages</a></li><li><a shape="rect" 
href="security.html">Security</a></li><li><a shape="rect" 
href="security-advisories.html">Security Advisories</a></li></ul><h3 
id="Navigation-Search">Search</h3><form 
enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" 
action="http://www.google.com/cse";>
   <div>
     <input type="hidden" name="cx" value="007878419884033443453:m5nhvy4hmyq">
     <input type="hidden" name="ie" value="UTF-8">
@@ -98,7 +98,7 @@
     <input type="submit" name="sa" value="Search">
   </div>
 </form>
-<script type="text/javascript" 
src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en";></script><h3
 
id="Navigation-Communityhttps://cwiki.apache.org/confluence/pages/viewpage.action?pageId=49115";><a
 shape="rect" href="community.html">Community</a></h3><ul 
class="alternate"><li><a shape="rect" 
href="support.html">Support</a></li><li><a shape="rect" 
href="contributing.html">Contributing</a></li><li><a shape="rect" 
href="discussion-forums.html">Discussion Forums</a></li><li><a shape="rect" 
href="mailing-lists.html">Mailing Lists</a></li><li><a shape="rect" 
href="user-stories.html">User Stories</a></li><li><a shape="rect" 
href="news.html">News</a></li><li><a shape="rect" 
href="articles.html">Articles</a></li><li><a shape="rect" 
href="site.html">Site</a></li><li><a shape="rect" 
href="team.html">Team</a></li><li><a shape="rect" class="external-link" 
href="http://camel-extra.googlecode.com/"; rel="nofollow">Camel 
Extra</a></li></ul><h3 id="Navigation-Developershttps://cwi
 ki.apache.org/confluence/pages/viewpage.action?pageId=49124"><a shape="rect" 
href="developers.html">Developers</a></h3><ul class="alternate"><li><a 
shape="rect" href="developers.html">Developer Guide</a></li><li><a shape="rect" 
href="source.html">Source</a></li><li><a shape="rect" 
href="building.html">Building</a></li><li><a shape="rect" 
href="javadoc.html">JavaDoc</a></li><li><a shape="rect" 
href="irc-room.html">IRC Room</a></li></ul><h3 
id="Navigation-ApacheSoftwareFoundation">Apache Software Foundation</h3><ul 
class="alternate"><li><a shape="rect" class="external-link" 
href="http://www.apache.org/licenses/";>License</a></li><li><a shape="rect" 
class="external-link" 
href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</a></li><li><a
 shape="rect" class="external-link" 
href="http://www.apache.org/foundation/thanks.html";>Thanks</a></li><li><a 
shape="rect" class="external-link" 
href="http://www.apache.org/security/";>Security</a></li></ul></div>
+<script type="text/javascript" 
src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en";></script><h3
 id="Navigation-Community"><a shape="rect" 
href="community.html">Community</a></h3><ul class="alternate"><li><a 
shape="rect" href="support.html">Support</a></li><li><a shape="rect" 
href="contributing.html">Contributing</a></li><li><a shape="rect" 
href="discussion-forums.html">Discussion Forums</a></li><li><a shape="rect" 
href="mailing-lists.html">Mailing Lists</a></li><li><a shape="rect" 
href="user-stories.html">User Stories</a></li><li><a shape="rect" 
href="news.html">News</a></li><li><a shape="rect" 
href="articles.html">Articles</a></li><li><a shape="rect" 
href="site.html">Site</a></li><li><a shape="rect" 
href="team.html">Team</a></li><li><a shape="rect" class="external-link" 
href="http://camel-extra.googlecode.com/"; rel="nofollow">Camel 
Extra</a></li></ul><h3 id="Navigation-Developers"><a shape="rect" 
href="developers.html">Developers</a></h3><ul class="alternate"
 ><li><a shape="rect" href="developers.html">Developer Guide</a></li><li><a 
 >shape="rect" href="source.html">Source</a></li><li><a shape="rect" 
 >href="building.html">Building</a></li><li><a shape="rect" 
 >href="javadoc.html">JavaDoc</a></li><li><a shape="rect" 
 >href="irc-room.html">IRC Room</a></li></ul><h3 
 >id="Navigation-ApacheSoftwareFoundation">Apache Software Foundation</h3><ul 
 >class="alternate"><li><a shape="rect" class="external-link" 
 >href="http://www.apache.org/licenses/";>License</a></li><li><a shape="rect" 
 >class="external-link" 
 >href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</a></li><li><a
 > shape="rect" class="external-link" 
 >href="http://www.apache.org/foundation/thanks.html";>Thanks</a></li><li><a 
 >shape="rect" class="external-link" 
 >href="http://www.apache.org/security/";>Security</a></li></ul></div>
                 <!-- NavigationBar -->
             </div>
           </div>


Reply via email to