You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bu...@apache.org on 2013/07/19 14:20:17 UTC

svn commit: r870133 - in /websites/production/camel/content: book-component-appendix.html book-in-one-page.html cache/main.pageCache restlet.html

Author: buildbot
Date: Fri Jul 19 12:20:16 2013
New Revision: 870133

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/restlet.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 Fri Jul 19 12:20:16 2013
@@ -14681,7 +14681,7 @@ protocol://hostname[:port][/resourcePatt
 </div>
 
 <h3><a shape="rect" name="BookComponentAppendix-ComponentOptions"></a>Component Options</h3>
-<p>The Restlet component can be configured with the following options</p>
+<p>The Restlet component can be configured with the following options. Notice these are <b>component</b> options and cannot be configured on the endpoint, see further below for an example.</p>
 <div class="confluenceTableSmall"><div class="table-wrap">
 <table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"> Name </th><th colspan="1" rowspan="1" class="confluenceTh"> Default Value </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>controllerDaemon</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10:</b> Indicates if the controller thread should be a daemon (not blocking JVM exit). </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>controllerSleepTimeMs</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>100</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10:</b> Time for the controller thread to sleep between each control. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>inboundBufferSize</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>819
 2</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10:</b> The size of the buffer when reading messages. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>minThreads</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>1</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10:</b>  Minimum threads waiting to service requests. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>maxThreads</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>10</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10:</b> Maximum threads that will service requests. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>maxConnectionsPerHost</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>-1</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10:</b> Maximum number of concurrent connections per host (IP address). </td></tr><tr><td colspan="1" r
 owspan="1" class="confluenceTd"> <tt>maxTotalConnections</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>-1</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10:</b> Maximum number of concurrent connections in total. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>outboundBufferSize</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>8192</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10:</b> The size of the buffer when writing messages. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>persistingConnections</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10:</b> Indicates if connections should be kept alive after a call. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>pipeliningConnections</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt>
  </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10:</b> Indicates if pipelining connections are supported. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>threadMaxIdleTimeMs</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>60000</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10:</b>  Time for an idle thread to wait for an operation before being collected. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>useForwardedForHeader</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10:</b> Lookup the "X-Forwarded-For" header supported by popular proxies and caches and uses it to populate the Request.getClientAddresses() method result. This information is only safe for intermediary components within your local network. Other addresses could easily be changed by setting a fake header and should not be trust
 ed for serious security checks.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>reuseAddress</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10.5/2.11.1:</b> Enable/disable the SO_REUSEADDR socket option. See java.io.ServerSocket#reuseAddress property for additional details. </td></tr></tbody></table>
 </div>
@@ -14833,6 +14833,17 @@ from("restlet:http://localhost:" + portN
 ]]></script>
 </div></div>
 
+<h4><a shape="rect" name="BookComponentAppendix-Configuringmaxthreadsoncomponent"></a>Configuring max threads on component</h4>
+
+<p>To configure the max threads options you must do this on the component, such as:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;bean id="restlet" class="org.apache.camel.component.RestletComponent"&gt;
+  &lt;property name="maxThreads" value="100"/&gt;
+&lt;/bean&gt;
+]]></script>
+</div></div>
+
 <h4><a shape="rect" name="BookComponentAppendix-UsingtheRestletservletwithinawebapp"></a>Using the Restlet servlet within a webapp</h4>
 <p><b>Available as of Camel 2.8</b><br clear="none">
 There are <a shape="rect" class="external-link" href="http://www.restlet.org/documentation/2.0/jee/ext/org/restlet/ext/servlet/ServerServlet.html" rel="nofollow">three possible ways</a> to configure a Restlet application within a servlet container and using the subclassed SpringServerServlet enables configuration within Camel by injecting the Restlet Component.</p>

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 Fri Jul 19 12:20:16 2013
@@ -36063,7 +36063,7 @@ protocol://hostname[:port][/resourcePatt
 </div>
 
 <h3><a shape="rect" name="BookInOnePage-ComponentOptions"></a>Component Options</h3>
-<p>The Restlet component can be configured with the following options</p>
+<p>The Restlet component can be configured with the following options. Notice these are <b>component</b> options and cannot be configured on the endpoint, see further below for an example.</p>
 <div class="confluenceTableSmall"><div class="table-wrap">
 <table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"> Name </th><th colspan="1" rowspan="1" class="confluenceTh"> Default Value </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>controllerDaemon</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10:</b> Indicates if the controller thread should be a daemon (not blocking JVM exit). </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>controllerSleepTimeMs</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>100</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10:</b> Time for the controller thread to sleep between each control. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>inboundBufferSize</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>819
 2</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10:</b> The size of the buffer when reading messages. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>minThreads</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>1</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10:</b>  Minimum threads waiting to service requests. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>maxThreads</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>10</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10:</b> Maximum threads that will service requests. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>maxConnectionsPerHost</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>-1</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10:</b> Maximum number of concurrent connections per host (IP address). </td></tr><tr><td colspan="1" r
 owspan="1" class="confluenceTd"> <tt>maxTotalConnections</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>-1</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10:</b> Maximum number of concurrent connections in total. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>outboundBufferSize</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>8192</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10:</b> The size of the buffer when writing messages. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>persistingConnections</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10:</b> Indicates if connections should be kept alive after a call. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>pipeliningConnections</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt>
  </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10:</b> Indicates if pipelining connections are supported. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>threadMaxIdleTimeMs</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>60000</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10:</b>  Time for an idle thread to wait for an operation before being collected. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>useForwardedForHeader</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10:</b> Lookup the "X-Forwarded-For" header supported by popular proxies and caches and uses it to populate the Request.getClientAddresses() method result. This information is only safe for intermediary components within your local network. Other addresses could easily be changed by setting a fake header and should not be trust
 ed for serious security checks.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>reuseAddress</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10.5/2.11.1:</b> Enable/disable the SO_REUSEADDR socket option. See java.io.ServerSocket#reuseAddress property for additional details. </td></tr></tbody></table>
 </div>
@@ -36215,6 +36215,17 @@ from("restlet:http://localhost:" + portN
 ]]></script>
 </div></div>
 
+<h4><a shape="rect" name="BookInOnePage-Configuringmaxthreadsoncomponent"></a>Configuring max threads on component</h4>
+
+<p>To configure the max threads options you must do this on the component, such as:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;bean id="restlet" class="org.apache.camel.component.RestletComponent"&gt;
+  &lt;property name="maxThreads" value="100"/&gt;
+&lt;/bean&gt;
+]]></script>
+</div></div>
+
 <h4><a shape="rect" name="BookInOnePage-UsingtheRestletservletwithinawebapp"></a>Using the Restlet servlet within a webapp</h4>
 <p><b>Available as of Camel 2.8</b><br clear="none">
 There are <a shape="rect" class="external-link" href="http://www.restlet.org/documentation/2.0/jee/ext/org/restlet/ext/servlet/ServerServlet.html" rel="nofollow">three possible ways</a> to configure a Restlet application within a servlet container and using the subclassed SpringServerServlet enables configuration within Camel by injecting the Restlet Component.</p>

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

Modified: websites/production/camel/content/restlet.html
==============================================================================
--- websites/production/camel/content/restlet.html (original)
+++ websites/production/camel/content/restlet.html Fri Jul 19 12:20:16 2013
@@ -125,7 +125,7 @@ protocol://hostname[:port][/resourcePatt
 </div>
 
 <h3><a shape="rect" name="Restlet-ComponentOptions"></a>Component Options</h3>
-<p>The Restlet component can be configured with the following options</p>
+<p>The Restlet component can be configured with the following options. Notice these are <b>component</b> options and cannot be configured on the endpoint, see further below for an example.</p>
 <div class="confluenceTableSmall"><div class="table-wrap">
 <table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"> Name </th><th colspan="1" rowspan="1" class="confluenceTh"> Default Value </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>controllerDaemon</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10:</b> Indicates if the controller thread should be a daemon (not blocking JVM exit). </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>controllerSleepTimeMs</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>100</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10:</b> Time for the controller thread to sleep between each control. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>inboundBufferSize</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>819
 2</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10:</b> The size of the buffer when reading messages. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>minThreads</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>1</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10:</b>  Minimum threads waiting to service requests. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>maxThreads</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>10</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10:</b> Maximum threads that will service requests. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>maxConnectionsPerHost</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>-1</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10:</b> Maximum number of concurrent connections per host (IP address). </td></tr><tr><td colspan="1" r
 owspan="1" class="confluenceTd"> <tt>maxTotalConnections</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>-1</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10:</b> Maximum number of concurrent connections in total. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>outboundBufferSize</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>8192</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10:</b> The size of the buffer when writing messages. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>persistingConnections</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10:</b> Indicates if connections should be kept alive after a call. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>pipeliningConnections</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt>
  </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10:</b> Indicates if pipelining connections are supported. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>threadMaxIdleTimeMs</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>60000</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10:</b>  Time for an idle thread to wait for an operation before being collected. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>useForwardedForHeader</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10:</b> Lookup the "X-Forwarded-For" header supported by popular proxies and caches and uses it to populate the Request.getClientAddresses() method result. This information is only safe for intermediary components within your local network. Other addresses could easily be changed by setting a fake header and should not be trust
 ed for serious security checks.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>reuseAddress</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10.5/2.11.1:</b> Enable/disable the SO_REUSEADDR socket option. See java.io.ServerSocket#reuseAddress property for additional details. </td></tr></tbody></table>
 </div>
@@ -277,6 +277,17 @@ from("restlet:http://localhost:" + portN
 ]]></script>
 </div></div>
 
+<h4><a shape="rect" name="Restlet-Configuringmaxthreadsoncomponent"></a>Configuring max threads on component</h4>
+
+<p>To configure the max threads options you must do this on the component, such as:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;bean id="restlet" class="org.apache.camel.component.RestletComponent"&gt;
+  &lt;property name="maxThreads" value="100"/&gt;
+&lt;/bean&gt;
+]]></script>
+</div></div>
+
 <h4><a shape="rect" name="Restlet-UsingtheRestletservletwithinawebapp"></a>Using the Restlet servlet within a webapp</h4>
 <p><b>Available as of Camel 2.8</b><br clear="none">
 There are <a shape="rect" class="external-link" href="http://www.restlet.org/documentation/2.0/jee/ext/org/restlet/ext/servlet/ServerServlet.html" rel="nofollow">three possible ways</a> to configure a Restlet application within a servlet container and using the subclassed SpringServerServlet enables configuration within Camel by injecting the Restlet Component.</p>