Author: buildbot Date: Sat May 25 18:19:14 2013 New Revision: 863125 Log: Production update by buildbot for camel
Modified: websites/production/camel/content/cache/main.pageCache websites/production/camel/content/websocket.html Modified: websites/production/camel/content/cache/main.pageCache ============================================================================== Binary files - no diff available. Modified: websites/production/camel/content/websocket.html ============================================================================== --- websites/production/camel/content/websocket.html (original) +++ websites/production/camel/content/websocket.html Sat May 25 18:19:14 2013 @@ -98,7 +98,7 @@ websocket:<span class="code-comment">//h <p>The <tt>WebsocketComponent</tt> can be configured prior to use, to setup host, to act as a websocket server. </p> <div class="confluenceTableSmall"><div class="table-wrap"> -<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"> Option </th><th colspan="1" rowspan="1" class="confluenceTh"> Default </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> host </td><td colspan="1" rowspan="1" class="confluenceTd"> 0.0.0.0 </td><td colspan="1" rowspan="1" class="confluenceTd"> The hostname. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> port </td><td colspan="1" rowspan="1" class="confluenceTd"> 9292 </td><td colspan="1" rowspan="1" class="confluenceTd"> The port number. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> staticResources </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Path for static resources such as index.html files etc. If this option has been configured, then a server is started on the given hostname and port, to se rvice the static resources, eg such as an index.html file. If this option has not been configured, then no server is started. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> sslContextParameters </td><td colspan="1" rowspan="1" class="confluenceTd"> </td><td colspan="1" rowspan="1" class="confluenceTd"> Reference to a <tt>org.apache.camel.util.jsse.SSLContextParameters</tt> in the <a shape="rect" class="external-link" href="http://camel.apache.org/registry.html">Registry</a>.  This reference overrides any configured SSLContextParameters at the component level.  See <a shape="rect" href="camel-configuration-utilities.html" title="Camel Configuration Utilities">Using the JSSE Configuration Utility</a>. <br clear="none" class="atl-forced-newline"> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>enableJmx</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluence Td"> If this option is true, Jetty JMX support will be enabled for this endpoint. See <a shape="rect" href="#Websocket-JettyJMXsupport">Jetty JMX support</a> for more details. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>sslKeyPassword</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Consumer only</b>: The password for the keystore when using SSL. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>sslPassword</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Consumer only</b>: The password when using SSL. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>sslKeystore</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Consumer only</b>: The path to the keystore. </td></tr><tr><t d colspan="1" rowspan="1" class="confluenceTd"> <tt>minThreads</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Consumer only</b>: To set a value for minimum number of threads in server thread pool. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>maxThreads</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Consumer only</b>: To set a value for maximum number of threads in server thread pool. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>threadPool</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Consumer only</b>: To use a custom thread pool for the server. </td></tr></tbody></table> +<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"> Option </th><th colspan="1" rowspan="1" class="confluenceTh"> Default </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> host </td><td colspan="1" rowspan="1" class="confluenceTd"> 0.0.0.0 </td><td colspan="1" rowspan="1" class="confluenceTd"> The hostname. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> port </td><td colspan="1" rowspan="1" class="confluenceTd"> 9292 </td><td colspan="1" rowspan="1" class="confluenceTd"> The port number. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> staticResources </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Path for static resources such as index.html files etc. If this option has been configured, then a server is started on the given hostname and port, to se rvice the static resources, eg such as an index.html file. If this option has not been configured, then no server is started. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> sslContextParameters </td><td colspan="1" rowspan="1" class="confluenceTd"> </td><td colspan="1" rowspan="1" class="confluenceTd"> Reference to a <tt>org.apache.camel.util.jsse.SSLContextParameters</tt> in the <a shape="rect" class="external-link" href="http://camel.apache.org/registry.html">Registry</a>. This reference overrides any configured SSLContextParameters at the component level.  See <a shape="rect" href="camel-configuration-utilities.html" title="Camel Configuration Utilities">Using the JSSE Configuration Utility</a>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>enableJmx</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> If this option is true, Jetty JMX support will be enabled for this endpoint. See <a shape="rect" href="#Websocket-JettyJMXsupport">Jetty JMX support</a> for more details. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>sslKeyPassword</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Consumer only</b>: The password for the keystore when using SSL. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>sslPassword</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Consumer only</b>: The password when using SSL. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>sslKeystore</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Consumer only</b>: The path to the keystore. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt >minThreads</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> ><tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> ><b>Consumer only</b>: To set a value for minimum number of threads in server >thread pool. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> ><tt>maxThreads</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> ><tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> ><b>Consumer only</b>: To set a value for maximum number of threads in server >thread pool. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> ><tt>threadPool</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> ><tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> ><b>Consumer only</b>: To use a custom thread pool for the server. ></td></tr></tbody></table> </div> </div> @@ -107,7 +107,7 @@ websocket:<span class="code-comment">//h <p>The <tt>WebsocketEndpoint</tt> can be configured prior to use</p> <div class="confluenceTableSmall"><div class="table-wrap"> -<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"> Option </th><th colspan="1" rowspan="1" class="confluenceTh"> Default </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> sslContextParameters </td><td colspan="1" rowspan="1" class="confluenceTd"> </td><td colspan="1" rowspan="1" class="confluenceTd"> Reference to a <tt>org.apache.camel.util.jsse.SSLContextParameters</tt> in the <a shape="rect" class="external-link" href="http://camel.apache.org/registry.html">Registry</a>.  This reference overrides any configured SSLContextParameters at the component level.  See <a shape="rect" href="camel-configuration-utilities.html" title="Camel Configuration Utilities">Using the JSSE Configuration Utility</a>. <br clear="none" class="atl-forced-newline"> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> sendToAll </td><td colspan="1" rowsp an="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Producer only:</b> To send to all websocket subscribers. Can be used to configure on endpoint level, instead of having to use the <tt>WebsocketConstants.SEND_TO_ALL</tt> header on the message. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> staticResources </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 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. </td></tr></tbody></table> +<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"> Option </th><th colspan="1" rowspan="1" class="confluenceTh"> Default </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> sslContextParametersRef </td><td colspan="1" rowspan="1" class="confluenceTd"> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Deprecated and will be removed in Camel 3.0:</b> Reference to a <tt>org.apache.camel.util.jsse.SSLContextParameters</tt> in the <a shape="rect" class="external-link" href="http://camel.apache.org/registry.html">Registry</a>.  This reference overrides any configured SSLContextParameters at the component level. See <a shape="rect" href="camel-configuration-utilities.html" title="Camel Configuration Utilities">Using the JSSE Configuration Utility</a>. Use the <tt>sslContextParameters</tt> option instead </td></tr><tr><td colspan="1" rowspan="1" c lass="confluenceTd"> sslContextParameters </td><td colspan="1" rowspan="1" class="confluenceTd"> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.11.1:</b> Reference to a <tt>org.apache.camel.util.jsse.SSLContextParameters</tt> in the <a shape="rect" class="external-link" href="http://camel.apache.org/registry.html">Registry</a>. This reference overrides any configured SSLContextParameters at the component level.  See <a shape="rect" href="camel-configuration-utilities.html" title="Camel Configuration Utilities">Using the JSSE Configuration Utility</a>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> sendToAll </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Producer only:</b> To send to all websocket subscribers. Can be used to configure on endpoint level, instead of having to use the <tt>WebsocketConstants.SEND_TO_ALL</tt> header on the message. </td></t r><tr><td colspan="1" rowspan="1" class="confluenceTd"> staticResources </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 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. </td></tr></tbody></table> </div> </div> @@ -200,7 +200,7 @@ commetdComponent.setSslContextParameters <span class="code-tag"></camel:trustManagers></span> <span class="code-tag"></camel:sslContextParameters></span>... ... - <span class="code-tag"><to uri=<span class="code-quote">"websocket://127.0.0.1:8443/test?sslContextParametersRef=#sslContextParameters"</span>/></span>... + <span class="code-tag"><to uri=<span class="code-quote">"websocket://127.0.0.1:8443/test?sslContextParameters=#sslContextParameters"</span>/></span>... </pre> </div></div> @@ -213,7 +213,7 @@ commetdComponent.setSslContextParameters <span class="code-keyword">return</span> <span class="code-keyword">new</span> RouteBuilder() { <span class="code-keyword">public</span> void configure() { - <span class="code-object">String</span> uri = <span class="code-quote">"websocket:<span class="code-comment">//127.0.0.1:8443/test?sslContextParametersRef=#sslContextParameters"</span>; + <span class="code-object">String</span> uri = <span class="code-quote">"websocket:<span class="code-comment">//127.0.0.1:8443/test?sslContextParameters=#sslContextParameters"</span>; </span> from(uri) .log(<span class="code-quote">">>> Message received from WebSocket Client : ${body}"</span>)