Author: buildbot
Date: Tue Jan  6 07:19:27 2015
New Revision: 935232

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/book-component-appendix.html
    websites/production/camel/content/book-in-one-page.html
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/cometd.html

Modified: websites/production/camel/content/book-component-appendix.html
==============================================================================
--- websites/production/camel/content/book-component-appendix.html (original)
+++ websites/production/camel/content/book-component-appendix.html Tue Jan  6 
07:19:27 2015
@@ -1024,74 +1024,23 @@ For example to use the <code>MyFooBean</
 <h3 id="BookComponentAppendix-SeeAlso.6">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><li><a shape="rect" href="bean.html">Bean</a></li><li><a shape="rect" 
href="bean-binding.html">Bean Binding</a></li><li><a shape="rect" 
href="bean-integration.html">Bean Integration</a></li></ul>
-<h2 id="BookComponentAppendix-CometdComponent">Cometd Component</h2>
-
-<p>The <strong>cometd:</strong> component is a transport for working with the 
<a shape="rect" class="external-link" href="http://www.mortbay.org/jetty"; 
rel="nofollow">jetty</a> implementation of the <a shape="rect" 
class="external-link" 
href="http://docs.codehaus.org/display/JETTY/Cometd+%28aka+Bayeux%29"; 
rel="nofollow">cometd/bayeux protocol</a>.<br clear="none">
-Using this component in combination with the dojo toolkit library it's 
possible to push Camel messages directly into the browser using an AJAX based 
mechanism.</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="theme: Default; brush: xml; gutter: false" 
type="syntaxhighlighter"><![CDATA[
-&lt;dependency&gt;
+<h2 id="BookComponentAppendix-CometdComponent">Cometd Component</h2><p>The 
<strong>cometd:</strong> component is a transport for working with the <a 
shape="rect" class="external-link" href="http://www.mortbay.org/jetty"; 
rel="nofollow">jetty</a> implementation of the <a shape="rect" 
class="external-link" 
href="http://docs.codehaus.org/display/JETTY/Cometd+%28aka+Bayeux%29"; 
rel="nofollow">cometd/bayeux protocol</a>.<br clear="none"> Using this 
component in combination with the dojo toolkit library it's possible to push 
Camel messages directly into the browser using an AJAX based 
mechanism.</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="theme: Default; brush: xml; gutter: false" 
type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-cometd&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;
 ]]></script>
-</div></div>
-
-<h3 id="BookComponentAppendix-URIformat.7">URI format</h3>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
-<script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[
-cometd://host:port/channelName[?options]
+</div></div><h3 id="BookComponentAppendix-URIformat.7">URI format</h3><div 
class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[cometd://host:port/channelName[?options]
 ]]></script>
-</div></div>
-
-<p>The <strong>channelName</strong> represents a topic that can be subscribed 
to by the Camel endpoints.</p>
-
-<h3 id="BookComponentAppendix-Examples">Examples</h3>
-<div class="preformatted panel" style="border-width: 1px;"><div 
class="preformattedContent panelContent">
+</div></div><p>The <strong>channelName</strong> represents a topic that can be 
subscribed to by the Camel endpoints.</p><h3 
id="BookComponentAppendix-Examples">Examples</h3><div class="preformatted 
panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
 <pre>cometd://localhost:8080/service/mychannel
 cometds://localhost:8443/service/mychannel
 </pre>
-</div></div>
-<p>where <code>cometds:</code> represents an SSL configured endpoint.</p>
-
-<p>See this <a shape="rect" class="external-link" 
href="http://www.davidgreco.it/MySite/Blog/Entries/2008/12/4_Camel,_Cometd_and_Bayeux_what_a_nice_combination.html";
 rel="nofollow">blog entry</a> by David Greco who contributed this component to 
Apache Camel, for a full sample.</p>
-
-<h3 id="BookComponentAppendix-Options.5">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>resourceBase</code> 
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> The root directory for the web 
resources or classpath. Use the protocol file: or classpath: depending if you 
want that the component loads the resource from file system or classpath. 
Classpath is required for OSGI deployment where the resources are packaged in 
the jar. Notice this option has been renamed to <code>baseResource</code> from 
<strong>Camel 2.7</strong> onwards. </p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>baseResource</code> </p></td><td 
colspan="1"
  rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <strong>Camel 2.7:</strong> The root 
directory for the web resources or classpath. Use the protocol file: or 
classpath: depending if you want that the component loads the resource from 
file system or classpath. Classpath is required for OSGI deployment where the 
resources are packaged in the jar </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>timeout</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>240000</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> The server side poll timeout 
in milliseconds. This is how long the server will hold a reconnect request 
before responding. </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>interval</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>0</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> The 
 client side poll timeout in milliseconds. How long a client will wait between 
reconnects </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>maxInterval</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>30000</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> The max client side poll 
timeout in milliseconds. A client will be removed if a connection is not 
received in this time. </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>multiFrameInterval</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> <code>1500</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> The client side poll timeout, 
if multiple connections are detected from the same browser. 
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>jsonCommented</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>true</code> </p></td><td colspan="1" rowspan="1
 " class="confluenceTd"><p> If <code>true</code>, the server will accept JSON 
wrapped in a comment and will generate JSON wrapped in a comment. This is a 
defence against Ajax Hijacking. </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>logLevel</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>1</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>0</code>=none, <code>1</code>=info, 
<code>2</code>=debug. </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> sslContextParameters </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <strong>Camel 2.9:</strong> Reference to a 
<code>org.apache.camel.util.jsse.SSLContextParameters</code> in the <a 
shape="rect" class="external-link" 
href="http://camel.apache.org/registry.html";>Registry</a>.&#160; This reference 
overrides any configured SSLContextParameters at the component lev
 el.&#160; See <a shape="rect" href="camel-configuration-utilities.html">Using 
the JSSE Configuration Utility</a>. <br clear="none" 
class="atl-forced-newline"> </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>crossOriginFilterOn</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> <code>false</code> 
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 
2.10:</strong> If <code>true</code>, the server will support for cross-domain 
filtering </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>allowedOrigins</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>*</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <strong>Camel 2.10:</strong> The origins 
domain that support to cross, if the <code>crosssOriginFilterOn</code> is 
<code>true</code> </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>filterPath</code> </p></td><td colspan="1
 " rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <strong>Camel 2.10:</strong> The 
filterPath will be used by the CrossOriginFilter, if the 
<code>crosssOriginFilterOn</code> is <code>true</code> </p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>disconnectLocalSession</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>true</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <strong>Camel 2.10.5/2.11.1: (Producer only)</strong>: 
Whether to disconnect local sessions after publishing a message to its channel. 
Disconnecting local session is needed as they are not swept by default by 
CometD, and therefore you can run out of memory.  
</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>
-
-<p>Here is some examples on How to pass the parameters</p>
-
-<p>For file (for webapp resources located in the Web Application directory 
--&gt; cometd://localhost:8080?resourceBase=file./webapp<br clear="none">
-For classpath (when by example the web resources are packaged inside the 
webapp folder --&gt; cometd://localhost:8080?resourceBase=classpath:webapp</p>
-
-<h3 id="BookComponentAppendix-Authentication">Authentication</h3>
-
-<p><strong>Available as of Camel 2.8</strong></p>
-
-<p>You can configure custom <code>SecurityPolicy</code> and 
<code>Extension</code>'s to the <code>CometdComponent</code> which allows you 
to use authentication as <a shape="rect" class="external-link" 
href="http://cometd.org/documentation/howtos/authentication"; 
rel="nofollow">documented here</a></p>
-
-
-<h3 id="BookComponentAppendix-SettingupSSLforCometdComponent">Setting up SSL 
for Cometd Component</h3>
-
-<h4 id="BookComponentAppendix-UsingtheJSSEConfigurationUtility">Using the JSSE 
Configuration Utility</h4>
-
-<p>As of Camel 2.9, the Cometd component supports SSL/TLS configuration 
through the <a shape="rect" href="camel-configuration-utilities.html">Camel 
JSSE Configuration Utility</a>.&#160; This utility greatly decreases the amount 
of component specific code you need to write and is configurable at the 
endpoint and component levels.&#160; The following examples demonstrate how to 
use the utility with the Cometd component.</p>
-
-<h5 
id="BookComponentAppendix-Programmaticconfigurationofthecomponent">Programmatic 
configuration of the component</h5>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
-<script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[
-KeyStoreParameters ksp = new KeyStoreParameters();
+</div></div><p>where <code>cometds:</code> represents an SSL configured 
endpoint.</p><h3 id="BookComponentAppendix-Options.5">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>resourceBase</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>The root directory for the web resources or 
classpath. Use the protocol file: or classpath: depending if you want that the 
component loads the resource from file system or classpath. Classpath is 
required for OSGI deployment where the resources are packaged in the jar. 
Notice this option has been renamed to <code>baseResource</code>
  from <strong>Camel 2.7</strong> onwards.</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>baseResource</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><strong>Camel 2.7:</strong> The root 
directory for the web resources or classpath. Use the protocol file: or 
classpath: depending if you want that the component loads the resource from 
file system or classpath. Classpath is required for OSGI deployment where the 
resources are packaged in the jar</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>timeout</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>240000</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>The server side poll timeout in 
milliseconds. This is how long the server will hold a reconnect request before 
responding.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>interval
 </code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>0</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>The client side poll timeout in milliseconds. How long 
a client will wait between reconnects</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>maxInterval</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>30000</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The max client side poll 
timeout in milliseconds. A client will be removed if a connection is not 
received in this time.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>multiFrameInterval</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>1500</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>The client side poll timeout, if multiple 
connections are detected from the same browser.</p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>jso
 nCommented</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>true</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>If <code>true</code>, the server will accept JSON 
wrapped in a comment and will generate JSON wrapped in a comment. This is a 
defence against Ajax Hijacking.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>logLevel</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>1</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>0</code>=none, <code>1</code>=info, 
<code>2</code>=debug.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>crossOriginFilterOn</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.10:</strong> If 
<code>true</code>, the server will support for cross-domain 
filtering</p></td></tr><tr><td colspan="1" rowspan="1" class
 ="confluenceTd"><p><code>allowedOrigins</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>*</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><strong>Camel 2.10:</strong> The origins 
domain that support to cross, if the <code>crosssOriginFilterOn</code> is 
<code>true</code></p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>filterPath</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><strong>Camel 2.10:</strong> The filterPath will be 
used by the CrossOriginFilter, if the <code>crosssOriginFilterOn</code> is 
<code>true</code></p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>disconnectLocalSession</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.10.5/2.11.1: 
(Producer only)</strong>: Whether to disconne
 ct local sessions after publishing a message to its channel. Disconnecting 
local session is needed as they are not swept by default by CometD, and 
therefore you can run out of 
memory.</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><p>Here is some examples 
on How to pass the parameters</p><p>For file (for webapp resources located in 
the Web Application directory --&gt; 
cometd://localhost:8080?resourceBase=file./webapp<br clear="none"> For 
classpath (when by example the web resources are packaged inside the webapp 
folder --&gt; cometd://localhost:8080?resourceBase=classpath:webapp</p><h3 
id="BookComponentAppendix-Authentication">Authentication</h3><p><strong>Available
 as of Camel 2.8</strong></p><p>You can configure custom 
<code>SecurityPolicy</code> and <code>Extension</code>'s to the 
<code>CometdComponent</code> which allows you to use authentication as <a 
shape="rect
 " class="external-link" 
href="http://cometd.org/documentation/howtos/authentication"; 
rel="nofollow">documented here</a></p><h3 
id="BookComponentAppendix-SettingupSSLforCometdComponent">Setting up SSL for 
Cometd Component</h3><h4 
id="BookComponentAppendix-UsingtheJSSEConfigurationUtility">Using the JSSE 
Configuration Utility</h4><p>As of Camel 2.9, the Cometd component supports 
SSL/TLS configuration through the <a shape="rect" 
href="camel-configuration-utilities.html">Camel JSSE Configuration 
Utility</a>.&#160; This utility greatly decreases the amount of component 
specific code you need to write and is configurable at the endpoint and 
component levels.&#160; The following examples demonstrate how to use the 
utility with the Cometd component. You need to configure SSL on the 
CometdComponent.</p><h5 
id="BookComponentAppendix-Programmaticconfigurationofthecomponent">Programmatic 
configuration of the component</h5><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeCo
 ntent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[KeyStoreParameters ksp = new 
KeyStoreParameters();
 ksp.setResource(&quot;/users/home/server/keystore.jks&quot;);
 ksp.setPassword(&quot;keystorePassword&quot;);
 
@@ -1109,13 +1058,8 @@ scp.setTrustManagers(tmp);
 CometdComponent commetdComponent = 
getContext().getComponent(&quot;cometds&quot;, CometdComponent.class);
 commetdComponent.setSslContextParameters(scp);
 ]]></script>
-</div></div>
-
-<h5 id="BookComponentAppendix-SpringDSLbasedconfigurationofendpoint">Spring 
DSL based configuration of endpoint</h5>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
-<script class="theme: Default; brush: xml; gutter: false" 
type="syntaxhighlighter"><![CDATA[
-...
+</div></div><h5 
id="BookComponentAppendix-SpringDSLbasedconfigurationofendpoint">Spring DSL 
based configuration of endpoint</h5><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: xml; gutter: false" 
type="syntaxhighlighter"><![CDATA[...
   &lt;camel:sslContextParameters
       id=&quot;sslContextParameters&quot;&gt;
     &lt;camel:keyManagers
@@ -1130,13 +1074,14 @@ commetdComponent.setSslContextParameters
           password=&quot;keystorePassword&quot;/&gt;
     &lt;/camel:keyManagers&gt;
   &lt;/camel:sslContextParameters&gt;...
+ 
+  &lt;bean id=&quot;cometd&quot; 
class=&quot;org.apache.camel.component.cometd.CometdComponent&quot;&gt;
+    &lt;property name=&quot;sslContextParameters&quot; 
ref=&quot;sslContextParameters&quot;/&gt;
+  &lt;/bean&gt;
 ...
-  &lt;to 
uri=&quot;cometds://127.0.0.1:443/service/test?baseResource=file:./target/test-classes/webapp&amp;timeout=240000&amp;interval=0&amp;maxInterval=30000&amp;multiFrameInterval=1500&amp;jsonCommented=true&amp;logLevel=2&amp;sslContextParameters=#sslContextParameters&quot;/&gt;...
+  &lt;to 
uri=&quot;cometds://127.0.0.1:443/service/test?baseResource=file:./target/test-classes/webapp&amp;timeout=240000&amp;interval=0&amp;maxInterval=30000&amp;multiFrameInterval=1500&amp;jsonCommented=true&amp;logLevel=2&quot;/&gt;...
 ]]></script>
-</div></div>
-
-
-<h3 id="BookComponentAppendix-SeeAlso.7">See Also</h3>
+</div></div><p></p><h3 id="BookComponentAppendix-SeeAlso.7">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>
 <h2 id="BookComponentAppendix-ContextComponent">Context Component</h2>
 
@@ -1415,11 +1360,11 @@ template.send(&quot;direct:alias-verify&
                     </div>
     </div>
 <p>The <strong>cxf:</strong> component provides integration with <a 
shape="rect" href="http://cxf.apache.org";>Apache CXF</a> for connecting to 
JAX-WS services hosted in CXF.</p><p><style type="text/css">/*<![CDATA[*/
-div.rbtoc1420456681640 {padding: 0px;}
-div.rbtoc1420456681640 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1420456681640 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1420528664071 {padding: 0px;}
+div.rbtoc1420528664071 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1420528664071 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1420456681640">
+/*]]>*/</style></p><div class="toc-macro rbtoc1420528664071">
 <ul class="toc-indentation"><li><a shape="rect" href="#CXF-CXFComponent">CXF 
Component</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#CXF-URIformat">URI 
format</a></li><li><a shape="rect" href="#CXF-Options">Options</a>
 <ul class="toc-indentation"><li><a shape="rect" 
href="#CXF-Thedescriptionsofthedataformats">The descriptions of the 
dataformats</a>

Modified: websites/production/camel/content/book-in-one-page.html
==============================================================================
--- websites/production/camel/content/book-in-one-page.html (original)
+++ websites/production/camel/content/book-in-one-page.html Tue Jan  6 07:19:27 
2015
@@ -4126,11 +4126,11 @@ While not actual tutorials you might fin
                     </div>
     </div>
 <h2 id="BookInOnePage-Preface">Preface</h2><p>This tutorial aims to guide the 
reader through the stages of creating a project which uses Camel to facilitate 
the routing of messages from a JMS queue to a <a shape="rect" 
class="external-link" href="http://www.springramework.org"; 
rel="nofollow">Spring</a> service. The route works in a synchronous fashion 
returning a response to the client.</p><p><style type="text/css">/*<![CDATA[*/
-div.rbtoc1420456726470 {padding: 0px;}
-div.rbtoc1420456726470 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1420456726470 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1420528686521 {padding: 0px;}
+div.rbtoc1420528686521 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1420528686521 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1420456726470">
+/*]]>*/</style></p><div class="toc-macro rbtoc1420528686521">
 <ul class="toc-indentation"><li><a shape="rect" 
href="#Tutorial-JmsRemoting-TutorialonSpringRemotingwithJMS">Tutorial on Spring 
Remoting with JMS</a></li><li><a shape="rect" 
href="#Tutorial-JmsRemoting-Preface">Preface</a></li><li><a shape="rect" 
href="#Tutorial-JmsRemoting-Prerequisites">Prerequisites</a></li><li><a 
shape="rect" 
href="#Tutorial-JmsRemoting-Distribution">Distribution</a></li><li><a 
shape="rect" href="#Tutorial-JmsRemoting-About">About</a></li><li><a 
shape="rect" href="#Tutorial-JmsRemoting-CreatetheCamelProject">Create the 
Camel Project</a>
 <ul class="toc-indentation"><li><a shape="rect" 
href="#Tutorial-JmsRemoting-UpdatethePOMwithDependencies">Update the POM with 
Dependencies</a></li></ul>
 </li><li><a shape="rect" href="#Tutorial-JmsRemoting-WritingtheServer">Writing 
the Server</a>
@@ -6316,11 +6316,11 @@ So we completed the last piece in the pi
 
 
 <style type="text/css">/*<![CDATA[*/
-div.rbtoc1420456730531 {padding: 0px;}
-div.rbtoc1420456730531 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1420456730531 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1420528687298 {padding: 0px;}
+div.rbtoc1420528687298 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1420528687298 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style><div class="toc-macro rbtoc1420456730531">
+/*]]>*/</style><div class="toc-macro rbtoc1420528687298">
 <ul class="toc-indentation"><li><a shape="rect" 
href="#Tutorial-AXIS-Camel-TutorialusingAxis1.4withApacheCamel">Tutorial using 
Axis 1.4 with Apache Camel</a>
 <ul class="toc-indentation"><li><a shape="rect" 
href="#Tutorial-AXIS-Camel-Prerequisites">Prerequisites</a></li><li><a 
shape="rect" 
href="#Tutorial-AXIS-Camel-Distribution">Distribution</a></li><li><a 
shape="rect" 
href="#Tutorial-AXIS-Camel-Introduction">Introduction</a></li><li><a 
shape="rect" href="#Tutorial-AXIS-Camel-SettinguptheprojecttorunAxis">Setting 
up the project to run Axis</a>
 <ul class="toc-indentation"><li><a shape="rect" 
href="#Tutorial-AXIS-Camel-Maven2">Maven 2</a></li><li><a shape="rect" 
href="#Tutorial-AXIS-Camel-wsdl">wsdl</a></li><li><a shape="rect" 
href="#Tutorial-AXIS-Camel-ConfiguringAxis">Configuring Axis</a></li><li><a 
shape="rect" href="#Tutorial-AXIS-Camel-RunningtheExample">Running the 
Example</a></li></ul>
@@ -18838,74 +18838,23 @@ For example to use the <code>MyFooBean</
 <h3 id="BookInOnePage-SeeAlso.26">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><li><a shape="rect" href="bean.html">Bean</a></li><li><a shape="rect" 
href="bean-binding.html">Bean Binding</a></li><li><a shape="rect" 
href="bean-integration.html">Bean Integration</a></li></ul>
-<h2 id="BookInOnePage-CometdComponent">Cometd Component</h2>
-
-<p>The <strong>cometd:</strong> component is a transport for working with the 
<a shape="rect" class="external-link" href="http://www.mortbay.org/jetty"; 
rel="nofollow">jetty</a> implementation of the <a shape="rect" 
class="external-link" 
href="http://docs.codehaus.org/display/JETTY/Cometd+%28aka+Bayeux%29"; 
rel="nofollow">cometd/bayeux protocol</a>.<br clear="none">
-Using this component in combination with the dojo toolkit library it's 
possible to push Camel messages directly into the browser using an AJAX based 
mechanism.</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="theme: Default; brush: xml; gutter: false" 
type="syntaxhighlighter"><![CDATA[
-&lt;dependency&gt;
+<h2 id="BookInOnePage-CometdComponent">Cometd Component</h2><p>The 
<strong>cometd:</strong> component is a transport for working with the <a 
shape="rect" class="external-link" href="http://www.mortbay.org/jetty"; 
rel="nofollow">jetty</a> implementation of the <a shape="rect" 
class="external-link" 
href="http://docs.codehaus.org/display/JETTY/Cometd+%28aka+Bayeux%29"; 
rel="nofollow">cometd/bayeux protocol</a>.<br clear="none"> Using this 
component in combination with the dojo toolkit library it's possible to push 
Camel messages directly into the browser using an AJAX based 
mechanism.</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="theme: Default; brush: xml; gutter: false" 
type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-cometd&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;
 ]]></script>
-</div></div>
-
-<h3 id="BookInOnePage-URIformat.8">URI format</h3>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
-<script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[
-cometd://host:port/channelName[?options]
+</div></div><h3 id="BookInOnePage-URIformat.8">URI format</h3><div class="code 
panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[cometd://host:port/channelName[?options]
 ]]></script>
-</div></div>
-
-<p>The <strong>channelName</strong> represents a topic that can be subscribed 
to by the Camel endpoints.</p>
-
-<h3 id="BookInOnePage-Examples.11">Examples</h3>
-<div class="preformatted panel" style="border-width: 1px;"><div 
class="preformattedContent panelContent">
+</div></div><p>The <strong>channelName</strong> represents a topic that can be 
subscribed to by the Camel endpoints.</p><h3 
id="BookInOnePage-Examples.11">Examples</h3><div class="preformatted panel" 
style="border-width: 1px;"><div class="preformattedContent panelContent">
 <pre>cometd://localhost:8080/service/mychannel
 cometds://localhost:8443/service/mychannel
 </pre>
-</div></div>
-<p>where <code>cometds:</code> represents an SSL configured endpoint.</p>
-
-<p>See this <a shape="rect" class="external-link" 
href="http://www.davidgreco.it/MySite/Blog/Entries/2008/12/4_Camel,_Cometd_and_Bayeux_what_a_nice_combination.html";
 rel="nofollow">blog entry</a> by David Greco who contributed this component to 
Apache Camel, for a full sample.</p>
-
-<h3 id="BookInOnePage-Options.26">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>resourceBase</code> 
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> The root directory for the web 
resources or classpath. Use the protocol file: or classpath: depending if you 
want that the component loads the resource from file system or classpath. 
Classpath is required for OSGI deployment where the resources are packaged in 
the jar. Notice this option has been renamed to <code>baseResource</code> from 
<strong>Camel 2.7</strong> onwards. </p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>baseResource</code> </p></td><td 
colspan="1"
  rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <strong>Camel 2.7:</strong> The root 
directory for the web resources or classpath. Use the protocol file: or 
classpath: depending if you want that the component loads the resource from 
file system or classpath. Classpath is required for OSGI deployment where the 
resources are packaged in the jar </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>timeout</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>240000</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> The server side poll timeout 
in milliseconds. This is how long the server will hold a reconnect request 
before responding. </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>interval</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>0</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> The 
 client side poll timeout in milliseconds. How long a client will wait between 
reconnects </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>maxInterval</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>30000</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> The max client side poll 
timeout in milliseconds. A client will be removed if a connection is not 
received in this time. </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>multiFrameInterval</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> <code>1500</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> The client side poll timeout, 
if multiple connections are detected from the same browser. 
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>jsonCommented</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>true</code> </p></td><td colspan="1" rowspan="1
 " class="confluenceTd"><p> If <code>true</code>, the server will accept JSON 
wrapped in a comment and will generate JSON wrapped in a comment. This is a 
defence against Ajax Hijacking. </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>logLevel</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>1</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>0</code>=none, <code>1</code>=info, 
<code>2</code>=debug. </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> sslContextParameters </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <strong>Camel 2.9:</strong> Reference to a 
<code>org.apache.camel.util.jsse.SSLContextParameters</code> in the <a 
shape="rect" class="external-link" 
href="http://camel.apache.org/registry.html";>Registry</a>.&#160; This reference 
overrides any configured SSLContextParameters at the component lev
 el.&#160; See <a shape="rect" href="camel-configuration-utilities.html">Using 
the JSSE Configuration Utility</a>. <br clear="none" 
class="atl-forced-newline"> </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>crossOriginFilterOn</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> <code>false</code> 
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 
2.10:</strong> If <code>true</code>, the server will support for cross-domain 
filtering </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>allowedOrigins</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>*</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <strong>Camel 2.10:</strong> The origins 
domain that support to cross, if the <code>crosssOriginFilterOn</code> is 
<code>true</code> </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>filterPath</code> </p></td><td colspan="1
 " rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <strong>Camel 2.10:</strong> The 
filterPath will be used by the CrossOriginFilter, if the 
<code>crosssOriginFilterOn</code> is <code>true</code> </p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>disconnectLocalSession</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>true</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <strong>Camel 2.10.5/2.11.1: (Producer only)</strong>: 
Whether to disconnect local sessions after publishing a message to its channel. 
Disconnecting local session is needed as they are not swept by default by 
CometD, and therefore you can run out of memory.  
</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>
-
-<p>Here is some examples on How to pass the parameters</p>
-
-<p>For file (for webapp resources located in the Web Application directory 
--&gt; cometd://localhost:8080?resourceBase=file./webapp<br clear="none">
-For classpath (when by example the web resources are packaged inside the 
webapp folder --&gt; cometd://localhost:8080?resourceBase=classpath:webapp</p>
-
-<h3 id="BookInOnePage-Authentication">Authentication</h3>
-
-<p><strong>Available as of Camel 2.8</strong></p>
-
-<p>You can configure custom <code>SecurityPolicy</code> and 
<code>Extension</code>'s to the <code>CometdComponent</code> which allows you 
to use authentication as <a shape="rect" class="external-link" 
href="http://cometd.org/documentation/howtos/authentication"; 
rel="nofollow">documented here</a></p>
-
-
-<h3 id="BookInOnePage-SettingupSSLforCometdComponent">Setting up SSL for 
Cometd Component</h3>
-
-<h4 id="BookInOnePage-UsingtheJSSEConfigurationUtility">Using the JSSE 
Configuration Utility</h4>
-
-<p>As of Camel 2.9, the Cometd component supports SSL/TLS configuration 
through the <a shape="rect" href="camel-configuration-utilities.html">Camel 
JSSE Configuration Utility</a>.&#160; This utility greatly decreases the amount 
of component specific code you need to write and is configurable at the 
endpoint and component levels.&#160; The following examples demonstrate how to 
use the utility with the Cometd component.</p>
-
-<h5 id="BookInOnePage-Programmaticconfigurationofthecomponent">Programmatic 
configuration of the component</h5>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
-<script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[
-KeyStoreParameters ksp = new KeyStoreParameters();
+</div></div><p>where <code>cometds:</code> represents an SSL configured 
endpoint.</p><h3 id="BookInOnePage-Options.26">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>resourceBase</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>The root directory for the web resources or 
classpath. Use the protocol file: or classpath: depending if you want that the 
component loads the resource from file system or classpath. Classpath is 
required for OSGI deployment where the resources are packaged in the jar. 
Notice this option has been renamed to <code>baseResource</code> from <
 strong>Camel 2.7</strong> onwards.</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>baseResource</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><strong>Camel 2.7:</strong> The root 
directory for the web resources or classpath. Use the protocol file: or 
classpath: depending if you want that the component loads the resource from 
file system or classpath. Classpath is required for OSGI deployment where the 
resources are packaged in the jar</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>timeout</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>240000</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>The server side poll timeout in 
milliseconds. This is how long the server will hold a reconnect request before 
responding.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>interval</code>
 </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>0</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>The client side poll timeout in milliseconds. How long 
a client will wait between reconnects</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>maxInterval</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>30000</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The max client side poll 
timeout in milliseconds. A client will be removed if a connection is not 
received in this time.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>multiFrameInterval</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>1500</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>The client side poll timeout, if multiple 
connections are detected from the same browser.</p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>jsonCommen
 ted</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>true</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>If <code>true</code>, the server will accept JSON 
wrapped in a comment and will generate JSON wrapped in a comment. This is a 
defence against Ajax Hijacking.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>logLevel</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>1</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>0</code>=none, <code>1</code>=info, 
<code>2</code>=debug.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>crossOriginFilterOn</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.10:</strong> If 
<code>true</code>, the server will support for cross-domain 
filtering</p></td></tr><tr><td colspan="1" rowspan="1" class="confl
 uenceTd"><p><code>allowedOrigins</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>*</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><strong>Camel 2.10:</strong> The origins domain that 
support to cross, if the <code>crosssOriginFilterOn</code> is 
<code>true</code></p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>filterPath</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><strong>Camel 2.10:</strong> The filterPath will be 
used by the CrossOriginFilter, if the <code>crosssOriginFilterOn</code> is 
<code>true</code></p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>disconnectLocalSession</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.10.5/2.11.1: 
(Producer only)</strong>: Whether to disconnect loca
 l sessions after publishing a message to its channel. Disconnecting local 
session is needed as they are not swept by default by CometD, and therefore you 
can run out of memory.</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><p>Here is some examples 
on How to pass the parameters</p><p>For file (for webapp resources located in 
the Web Application directory --&gt; 
cometd://localhost:8080?resourceBase=file./webapp<br clear="none"> For 
classpath (when by example the web resources are packaged inside the webapp 
folder --&gt; cometd://localhost:8080?resourceBase=classpath:webapp</p><h3 
id="BookInOnePage-Authentication">Authentication</h3><p><strong>Available as of 
Camel 2.8</strong></p><p>You can configure custom <code>SecurityPolicy</code> 
and <code>Extension</code>'s to the <code>CometdComponent</code> which allows 
you to use authentication as <a shape="rect" class="extern
 al-link" href="http://cometd.org/documentation/howtos/authentication"; 
rel="nofollow">documented here</a></p><h3 
id="BookInOnePage-SettingupSSLforCometdComponent">Setting up SSL for Cometd 
Component</h3><h4 id="BookInOnePage-UsingtheJSSEConfigurationUtility">Using the 
JSSE Configuration Utility</h4><p>As of Camel 2.9, the Cometd component 
supports SSL/TLS configuration through the <a shape="rect" 
href="camel-configuration-utilities.html">Camel JSSE Configuration 
Utility</a>.&#160; This utility greatly decreases the amount of component 
specific code you need to write and is configurable at the endpoint and 
component levels.&#160; The following examples demonstrate how to use the 
utility with the Cometd component. You need to configure SSL on the 
CometdComponent.</p><h5 
id="BookInOnePage-Programmaticconfigurationofthecomponent">Programmatic 
configuration of the component</h5><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[KeyStoreParameters ksp = new 
KeyStoreParameters();
 ksp.setResource(&quot;/users/home/server/keystore.jks&quot;);
 ksp.setPassword(&quot;keystorePassword&quot;);
 
@@ -18923,13 +18872,8 @@ scp.setTrustManagers(tmp);
 CometdComponent commetdComponent = 
getContext().getComponent(&quot;cometds&quot;, CometdComponent.class);
 commetdComponent.setSslContextParameters(scp);
 ]]></script>
-</div></div>
-
-<h5 id="BookInOnePage-SpringDSLbasedconfigurationofendpoint">Spring DSL based 
configuration of endpoint</h5>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
-<script class="theme: Default; brush: xml; gutter: false" 
type="syntaxhighlighter"><![CDATA[
-...
+</div></div><h5 
id="BookInOnePage-SpringDSLbasedconfigurationofendpoint">Spring DSL based 
configuration of endpoint</h5><div class="code panel pdl" style="border-width: 
1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: xml; gutter: false" 
type="syntaxhighlighter"><![CDATA[...
   &lt;camel:sslContextParameters
       id=&quot;sslContextParameters&quot;&gt;
     &lt;camel:keyManagers
@@ -18944,13 +18888,14 @@ commetdComponent.setSslContextParameters
           password=&quot;keystorePassword&quot;/&gt;
     &lt;/camel:keyManagers&gt;
   &lt;/camel:sslContextParameters&gt;...
+ 
+  &lt;bean id=&quot;cometd&quot; 
class=&quot;org.apache.camel.component.cometd.CometdComponent&quot;&gt;
+    &lt;property name=&quot;sslContextParameters&quot; 
ref=&quot;sslContextParameters&quot;/&gt;
+  &lt;/bean&gt;
 ...
-  &lt;to 
uri=&quot;cometds://127.0.0.1:443/service/test?baseResource=file:./target/test-classes/webapp&amp;timeout=240000&amp;interval=0&amp;maxInterval=30000&amp;multiFrameInterval=1500&amp;jsonCommented=true&amp;logLevel=2&amp;sslContextParameters=#sslContextParameters&quot;/&gt;...
+  &lt;to 
uri=&quot;cometds://127.0.0.1:443/service/test?baseResource=file:./target/test-classes/webapp&amp;timeout=240000&amp;interval=0&amp;maxInterval=30000&amp;multiFrameInterval=1500&amp;jsonCommented=true&amp;logLevel=2&quot;/&gt;...
 ]]></script>
-</div></div>
-
-
-<h3 id="BookInOnePage-SeeAlso.27">See Also</h3>
+</div></div><p></p><h3 id="BookInOnePage-SeeAlso.27">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>
 <h2 id="BookInOnePage-ContextComponent">Context Component</h2>
 
@@ -19229,11 +19174,11 @@ template.send(&quot;direct:alias-verify&
                     </div>
     </div>
 <p>The <strong>cxf:</strong> component provides integration with <a 
shape="rect" href="http://cxf.apache.org";>Apache CXF</a> for connecting to 
JAX-WS services hosted in CXF.</p><p><style type="text/css">/*<![CDATA[*/
-div.rbtoc1420456775617 {padding: 0px;}
-div.rbtoc1420456775617 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1420456775617 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1420528697035 {padding: 0px;}
+div.rbtoc1420528697035 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1420528697035 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1420456775617">
+/*]]>*/</style></p><div class="toc-macro rbtoc1420528697035">
 <ul class="toc-indentation"><li><a shape="rect" href="#CXF-CXFComponent">CXF 
Component</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#CXF-URIformat">URI 
format</a></li><li><a shape="rect" href="#CXF-Options">Options</a>
 <ul class="toc-indentation"><li><a shape="rect" 
href="#CXF-Thedescriptionsofthedataformats">The descriptions of the 
dataformats</a>

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

Modified: websites/production/camel/content/cometd.html
==============================================================================
--- websites/production/camel/content/cometd.html (original)
+++ websites/production/camel/content/cometd.html Tue Jan  6 07:19:27 2015
@@ -85,74 +85,23 @@
        <tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><h2 id="Cometd-CometdComponent">Cometd 
Component</h2>
-
-<p>The <strong>cometd:</strong> component is a transport for working with the 
<a shape="rect" class="external-link" href="http://www.mortbay.org/jetty"; 
rel="nofollow">jetty</a> implementation of the <a shape="rect" 
class="external-link" 
href="http://docs.codehaus.org/display/JETTY/Cometd+%28aka+Bayeux%29"; 
rel="nofollow">cometd/bayeux protocol</a>.<br clear="none">
-Using this component in combination with the dojo toolkit library it's 
possible to push Camel messages directly into the browser using an AJAX based 
mechanism.</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="theme: Default; brush: xml; gutter: false" 
type="syntaxhighlighter"><![CDATA[
-&lt;dependency&gt;
+<div class="wiki-content maincontent"><h2 id="Cometd-CometdComponent">Cometd 
Component</h2><p>The <strong>cometd:</strong> component is a transport for 
working with the <a shape="rect" class="external-link" 
href="http://www.mortbay.org/jetty"; rel="nofollow">jetty</a> implementation of 
the <a shape="rect" class="external-link" 
href="http://docs.codehaus.org/display/JETTY/Cometd+%28aka+Bayeux%29"; 
rel="nofollow">cometd/bayeux protocol</a>.<br clear="none"> Using this 
component in combination with the dojo toolkit library it's possible to push 
Camel messages directly into the browser using an AJAX based 
mechanism.</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="theme: Default; brush: xml; gutter: false" 
type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-cometd&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;
 ]]></script>
-</div></div>
-
-<h3 id="Cometd-URIformat">URI format</h3>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
-<script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[
-cometd://host:port/channelName[?options]
+</div></div><h3 id="Cometd-URIformat">URI format</h3><div class="code panel 
pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[cometd://host:port/channelName[?options]
 ]]></script>
-</div></div>
-
-<p>The <strong>channelName</strong> represents a topic that can be subscribed 
to by the Camel endpoints.</p>
-
-<h3 id="Cometd-Examples">Examples</h3>
-<div class="preformatted panel" style="border-width: 1px;"><div 
class="preformattedContent panelContent">
+</div></div><p>The <strong>channelName</strong> represents a topic that can be 
subscribed to by the Camel endpoints.</p><h3 
id="Cometd-Examples">Examples</h3><div class="preformatted panel" 
style="border-width: 1px;"><div class="preformattedContent panelContent">
 <pre>cometd://localhost:8080/service/mychannel
 cometds://localhost:8443/service/mychannel
 </pre>
-</div></div>
-<p>where <code>cometds:</code> represents an SSL configured endpoint.</p>
-
-<p>See this <a shape="rect" class="external-link" 
href="http://www.davidgreco.it/MySite/Blog/Entries/2008/12/4_Camel,_Cometd_and_Bayeux_what_a_nice_combination.html";
 rel="nofollow">blog entry</a> by David Greco who contributed this component to 
Apache Camel, for a full sample.</p>
-
-<h3 id="Cometd-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>resourceBase</code> 
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> The root directory for the web 
resources or classpath. Use the protocol file: or classpath: depending if you 
want that the component loads the resource from file system or classpath. 
Classpath is required for OSGI deployment where the resources are packaged in 
the jar. Notice this option has been renamed to <code>baseResource</code> from 
<strong>Camel 2.7</strong> onwards. </p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>baseResource</code> </p></td><td 
colspan="1"
  rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <strong>Camel 2.7:</strong> The root 
directory for the web resources or classpath. Use the protocol file: or 
classpath: depending if you want that the component loads the resource from 
file system or classpath. Classpath is required for OSGI deployment where the 
resources are packaged in the jar </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>timeout</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>240000</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> The server side poll timeout 
in milliseconds. This is how long the server will hold a reconnect request 
before responding. </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>interval</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>0</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> The 
 client side poll timeout in milliseconds. How long a client will wait between 
reconnects </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>maxInterval</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>30000</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> The max client side poll 
timeout in milliseconds. A client will be removed if a connection is not 
received in this time. </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>multiFrameInterval</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> <code>1500</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> The client side poll timeout, 
if multiple connections are detected from the same browser. 
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>jsonCommented</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>true</code> </p></td><td colspan="1" rowspan="1
 " class="confluenceTd"><p> If <code>true</code>, the server will accept JSON 
wrapped in a comment and will generate JSON wrapped in a comment. This is a 
defence against Ajax Hijacking. </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>logLevel</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>1</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>0</code>=none, <code>1</code>=info, 
<code>2</code>=debug. </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> sslContextParameters </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <strong>Camel 2.9:</strong> Reference to a 
<code>org.apache.camel.util.jsse.SSLContextParameters</code> in the <a 
shape="rect" class="external-link" 
href="http://camel.apache.org/registry.html";>Registry</a>.&#160; This reference 
overrides any configured SSLContextParameters at the component lev
 el.&#160; See <a shape="rect" href="camel-configuration-utilities.html">Using 
the JSSE Configuration Utility</a>. <br clear="none" 
class="atl-forced-newline"> </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>crossOriginFilterOn</code> </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> <code>false</code> 
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 
2.10:</strong> If <code>true</code>, the server will support for cross-domain 
filtering </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>allowedOrigins</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <code>*</code> </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <strong>Camel 2.10:</strong> The origins 
domain that support to cross, if the <code>crosssOriginFilterOn</code> is 
<code>true</code> </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>filterPath</code> </p></td><td colspan="1
 " rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> <strong>Camel 2.10:</strong> The 
filterPath will be used by the CrossOriginFilter, if the 
<code>crosssOriginFilterOn</code> is <code>true</code> </p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p> 
<code>disconnectLocalSession</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <code>true</code> </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> <strong>Camel 2.10.5/2.11.1: (Producer only)</strong>: 
Whether to disconnect local sessions after publishing a message to its channel. 
Disconnecting local session is needed as they are not swept by default by 
CometD, and therefore you can run out of memory.  
</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>
-
-<p>Here is some examples on How to pass the parameters</p>
-
-<p>For file (for webapp resources located in the Web Application directory 
--&gt; cometd://localhost:8080?resourceBase=file./webapp<br clear="none">
-For classpath (when by example the web resources are packaged inside the 
webapp folder --&gt; cometd://localhost:8080?resourceBase=classpath:webapp</p>
-
-<h3 id="Cometd-Authentication">Authentication</h3>
-
-<p><strong>Available as of Camel 2.8</strong></p>
-
-<p>You can configure custom <code>SecurityPolicy</code> and 
<code>Extension</code>'s to the <code>CometdComponent</code> which allows you 
to use authentication as <a shape="rect" class="external-link" 
href="http://cometd.org/documentation/howtos/authentication"; 
rel="nofollow">documented here</a></p>
-
-
-<h3 id="Cometd-SettingupSSLforCometdComponent">Setting up SSL for Cometd 
Component</h3>
-
-<h4 id="Cometd-UsingtheJSSEConfigurationUtility">Using the JSSE Configuration 
Utility</h4>
-
-<p>As of Camel 2.9, the Cometd component supports SSL/TLS configuration 
through the <a shape="rect" href="camel-configuration-utilities.html">Camel 
JSSE Configuration Utility</a>.&#160; This utility greatly decreases the amount 
of component specific code you need to write and is configurable at the 
endpoint and component levels.&#160; The following examples demonstrate how to 
use the utility with the Cometd component.</p>
-
-<h5 id="Cometd-Programmaticconfigurationofthecomponent">Programmatic 
configuration of the component</h5>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
-<script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[
-KeyStoreParameters ksp = new KeyStoreParameters();
+</div></div><p>where <code>cometds:</code> represents an SSL configured 
endpoint.</p><h3 id="Cometd-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>resourceBase</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>The root directory for the web resources or 
classpath. Use the protocol file: or classpath: depending if you want that the 
component loads the resource from file system or classpath. Classpath is 
required for OSGI deployment where the resources are packaged in the jar. 
Notice this option has been renamed to <code>baseResource</code> from 
<strong>Cam
 el 2.7</strong> onwards.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>baseResource</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><strong>Camel 2.7:</strong> The root directory for the 
web resources or classpath. Use the protocol file: or classpath: depending if 
you want that the component loads the resource from file system or classpath. 
Classpath is required for OSGI deployment where the resources are packaged in 
the jar</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>timeout</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>240000</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>The server side poll timeout in 
milliseconds. This is how long the server will hold a reconnect request before 
responding.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>interval</code></p></td><
 td colspan="1" rowspan="1" class="confluenceTd"><p><code>0</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>The client side poll timeout in 
milliseconds. How long a client will wait between 
reconnects</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>maxInterval</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>30000</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>The max client side poll timeout in 
milliseconds. A client will be removed if a connection is not received in this 
time.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>multiFrameInterval</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>1500</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>The client side poll timeout, if multiple 
connections are detected from the same browser.</p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>jsonCommented</code>
 </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>true</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>If <code>true</code>, the server will accept JSON 
wrapped in a comment and will generate JSON wrapped in a comment. This is a 
defence against Ajax Hijacking.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>logLevel</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>1</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>0</code>=none, <code>1</code>=info, 
<code>2</code>=debug.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>crossOriginFilterOn</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.10:</strong> If 
<code>true</code>, the server will support for cross-domain 
filtering</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><
 p><code>allowedOrigins</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>*</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><strong>Camel 2.10:</strong> The origins domain that 
support to cross, if the <code>crosssOriginFilterOn</code> is 
<code>true</code></p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>filterPath</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><strong>Camel 2.10:</strong> The filterPath will be 
used by the CrossOriginFilter, if the <code>crosssOriginFilterOn</code> is 
<code>true</code></p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>disconnectLocalSession</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.10.5/2.11.1: 
(Producer only)</strong>: Whether to disconnect local sessions
  after publishing a message to its channel. Disconnecting local session is 
needed as they are not swept by default by CometD, and therefore you can run 
out of memory.</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><p>Here is some examples 
on How to pass the parameters</p><p>For file (for webapp resources located in 
the Web Application directory --&gt; 
cometd://localhost:8080?resourceBase=file./webapp<br clear="none"> For 
classpath (when by example the web resources are packaged inside the webapp 
folder --&gt; cometd://localhost:8080?resourceBase=classpath:webapp</p><h3 
id="Cometd-Authentication">Authentication</h3><p><strong>Available as of Camel 
2.8</strong></p><p>You can configure custom <code>SecurityPolicy</code> and 
<code>Extension</code>'s to the <code>CometdComponent</code> which allows you 
to use authentication as <a shape="rect" class="external-link" href="ht
 tp://cometd.org/documentation/howtos/authentication" rel="nofollow">documented 
here</a></p><h3 id="Cometd-SettingupSSLforCometdComponent">Setting up SSL for 
Cometd Component</h3><h4 id="Cometd-UsingtheJSSEConfigurationUtility">Using the 
JSSE Configuration Utility</h4><p>As of Camel 2.9, the Cometd component 
supports SSL/TLS configuration through the <a shape="rect" 
href="camel-configuration-utilities.html">Camel JSSE Configuration 
Utility</a>.&#160; This utility greatly decreases the amount of component 
specific code you need to write and is configurable at the endpoint and 
component levels.&#160; The following examples demonstrate how to use the 
utility with the Cometd component. You need to configure SSL on the 
CometdComponent.</p><h5 
id="Cometd-Programmaticconfigurationofthecomponent">Programmatic configuration 
of the component</h5><div class="code panel pdl" style="border-width: 
1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[KeyStoreParameters ksp = new 
KeyStoreParameters();
 ksp.setResource(&quot;/users/home/server/keystore.jks&quot;);
 ksp.setPassword(&quot;keystorePassword&quot;);
 
@@ -170,13 +119,8 @@ scp.setTrustManagers(tmp);
 CometdComponent commetdComponent = 
getContext().getComponent(&quot;cometds&quot;, CometdComponent.class);
 commetdComponent.setSslContextParameters(scp);
 ]]></script>
-</div></div>
-
-<h5 id="Cometd-SpringDSLbasedconfigurationofendpoint">Spring DSL based 
configuration of endpoint</h5>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
-<script class="theme: Default; brush: xml; gutter: false" 
type="syntaxhighlighter"><![CDATA[
-...
+</div></div><h5 id="Cometd-SpringDSLbasedconfigurationofendpoint">Spring DSL 
based configuration of endpoint</h5><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: xml; gutter: false" 
type="syntaxhighlighter"><![CDATA[...
   &lt;camel:sslContextParameters
       id=&quot;sslContextParameters&quot;&gt;
     &lt;camel:keyManagers
@@ -191,13 +135,14 @@ commetdComponent.setSslContextParameters
           password=&quot;keystorePassword&quot;/&gt;
     &lt;/camel:keyManagers&gt;
   &lt;/camel:sslContextParameters&gt;...
+ 
+  &lt;bean id=&quot;cometd&quot; 
class=&quot;org.apache.camel.component.cometd.CometdComponent&quot;&gt;
+    &lt;property name=&quot;sslContextParameters&quot; 
ref=&quot;sslContextParameters&quot;/&gt;
+  &lt;/bean&gt;
 ...
-  &lt;to 
uri=&quot;cometds://127.0.0.1:443/service/test?baseResource=file:./target/test-classes/webapp&amp;timeout=240000&amp;interval=0&amp;maxInterval=30000&amp;multiFrameInterval=1500&amp;jsonCommented=true&amp;logLevel=2&amp;sslContextParameters=#sslContextParameters&quot;/&gt;...
+  &lt;to 
uri=&quot;cometds://127.0.0.1:443/service/test?baseResource=file:./target/test-classes/webapp&amp;timeout=240000&amp;interval=0&amp;maxInterval=30000&amp;multiFrameInterval=1500&amp;jsonCommented=true&amp;logLevel=2&quot;/&gt;...
 ]]></script>
-</div></div>
-
-
-<h3 id="Cometd-SeeAlso">See Also</h3>
+</div></div><p></p><h3 id="Cometd-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></div>
         </td>
         <td valign="top">


Reply via email to