Author: buildbot
Date: Fri Dec 28 10:24:10 2012
New Revision: 844084
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/jetty.html
websites/production/camel/content/urlrewrite.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 Dec 28
10:24:10 2012
@@ -8268,7 +8268,7 @@ jetty:http:<span class="code-comment">//
<h3><a shape="rect" name="BookComponentAppendix-Options"></a>Options</h3>
<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>sessionSupport</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> Specifies whether to enable the session manager on the
server side of Jetty. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>httpClient.XXX</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> Configuration of Jetty's <a shape="rect"
class="external-link" href="http://wiki.eclipse.org/Jetty/Tutorial/HttpClient"
rel="nofollow">HttpClient</a>. For example, setting
<tt>httpClient.idleTimeout=30000</tt> sets the idle timeout to 30 seconds.
</td></
tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>httpClient</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> To use a shared
<tt>org.eclipse.jetty.client.HttpClient</tt> for all producers created by this
endpoint. This option should only be used in special circumstances.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>httpClientMinThreads</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <b>Camel 2.11:</b> <b>Producer only</b>: To set a value
for minimum number of threads in <tt>HttpClient</tt> thread pool. This setting
override any setting configured on component level. Notice that both a min and
max size must be configured. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>httpClientMaxThreads</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>null</tt> <
/td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.11:</b>
<b>Producer only</b>: To set a value for maximum number of threads in
<tt>HttpClient</tt> thread pool. This setting override any setting configured
on component level. Notice that both a min and max size must be configured.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>httpBindingRef</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
<tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Reference
to an <tt>org.apache.camel.component.http.HttpBinding</tt> in the <a
shape="rect" href="registry.html" title="Registry">Registry</a>.
<tt>HttpBinding</tt> can be used to customize how a response should be written
for the consumer. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>jettyHttpBindingRef</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <b>Camel 2.6.0+:</b> R
eference to an <tt>org.apache.camel.component.jetty.JettyHttpBinding</tt> in
the <a shape="rect" href="registry.html" title="Registry">Registry</a>.
<tt>JettyHttpBinding</tt> can be used to customize how a response should be
written for the producer. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>matchOnUriPrefix</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> Whether or not the <tt>CamelServlet</tt>
should try to find a target consumer by matching the URI prefix if no exact
match is found. See here <a shape="rect"
href="how-do-i-let-jetty-match-wildcards.html" title="How do I let Jetty match
wildcards">How do I let Jetty match wildcards</a>. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>handlers</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> Specifies a comma-delimited s
et of <tt>org.mortbay.jetty.Handler</tt> instances in your <a shape="rect"
href="registry.html" title="Registry">Registry</a> (such as your Spring
<tt>ApplicationContext</tt>). These handlers are added to the Jetty servlet
context (for example, to add security). </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>chunked</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <b>Camel 2.2:</b> If this option is false
Jetty servlet will disable the HTTP streaming and set the content-length header
on the response </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"> <b>Camel
2.3:</b> If this option is true, Jetty JMX support will be enabled for this
endpoint. See <a shape="rect"
href="#BookComponentAppendix-JettyJMXsupport">Jetty JMX supp
ort</a> for more details. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>disableStreamCache</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <b>Camel 2.3:</b> Determines whether or not
the raw input stream from Jetty is cached or not (Camel will read the stream
into a in memory/overflow to file, <a shape="rect" href="stream-caching.html"
title="Stream caching">Stream caching</a>) cache. By default Camel will cache
the Jetty input stream to support reading it multiple times to ensure it Camel
can retrieve all data from the stream. However you can set this option to
<tt>true</tt> when you for example need to access the raw stream, such as
streaming it directly to a file or other persistent store. DefaultHttpBinding
will copy the request input stream into a stream cache and put it into message
body if this option is <tt>false</tt> to support reading the stream multiple
times. I
f you use <a shape="rect" href="jetty.html" title="Jetty">Jetty</a> to
bridge/proxy an endpoint then consider enabling this option to improve
performance, in case you do not need to read the message payload multiple
times. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>bridgeEndpoint</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
<tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel
2.1:</b> If the option is true , HttpProducer will ignore the Exchange.HTTP_URI
header, and use the endpoint's URI for request. You may also set the
<b>throwExceptionOnFailure</b> to be false to let the HttpProducer send all the
fault response back. <br clear="none" class="atl-forced-newline">
-<b>Camel 2.3:</b> If the option is true, HttpProducer and CamelServlet will
skip the gzip processing if the content-encoding is "gzip". Also consider
setting <b>disableStreamCache</b> to true to optimize when bridging.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>enableMultipartFilter</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <b>Camel 2.5:</b> Whether Jetty
<tt>org.eclipse.jetty.servlets.MultiPartFilter</tt> is enabled or not. You
should set this value to <tt>false</tt> when bridging endpoints, to ensure
multipart requests is proxied/bridged as well. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>multipartFilterRef</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.6:</b> Allows using a
custom multipart filter. Note: setting <tt>multipartFilterRef</tt> forces
the value of <tt>enableMultipartFilter</tt> to <tt>true</tt>.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>filtersRef</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
<tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel
2.9:</b> Allows using a custom filters which is putted into a list and can be
find in the <a shape="rect" href="registry.html"
title="Registry">Registry</a></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>continuationTimeout</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <b>Camel 2.6:</b> Allows to set a timeout in
millis when using <a shape="rect" href="jetty.html" title="Jetty">Jetty</a> as
consumer (server). By default Jetty uses 30000. You can use a value of
<tt><= 0</tt> to never expire. If a timeout occurs then the request will be
expired and Jetty will return back a http error 503 to the cli
ent. This option is only in use when using <a shape="rect" href="jetty.html"
title="Jetty">Jetty</a> with the <a shape="rect"
href="asynchronous-routing-engine.html" title="Asynchronous Routing
Engine">Asynchronous Routing Engine</a>. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>useContinuation</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <b>Camel 2.6:</b> Whether or not to use <a
shape="rect" class="external-link"
href="http://wiki.eclipse.org/Jetty/Feature/Continuations" rel="nofollow">Jetty
continuations</a> for the Jetty Server. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>sslContextParametersRef</tt><br
clear="none" class="atl-forced-newline"> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>null</tt><br clear="none" class="atl-forced-newline">
</td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.8:</b>
Reference to a <
tt>org.apache.camel.util.jsse.SSLContextParameters</tt> in the <a shape="rect"
href="registry.html" title="Registry">Registry</a>.  This reference
overrides any configured SSLContextParameters at the component level.  See
<a shape="rect"
href="#BookComponentAppendix-UsingtheJSSEConfigurationUtility">Using the JSSE
Configuration Utility</a>. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>traceEnabled</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> Specifies whether to enable HTTP TRACE for this Jetty
consumer. By default TRACE is turned off. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>headerFilterStrategy</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.11:</b> Reference to a
instance of <tt>org.apache.camel.spi.HeaderFilterStrategy</tt> in the <a shap
e="rect" href="registry.html" title="Registry">Registry</a>. It will be used
to apply the custom headerFilterStrategy on the new create HttpJettyEndpoint.
</td></tr></tbody></table>
+<b>Camel 2.3:</b> If the option is true, HttpProducer and CamelServlet will
skip the gzip processing if the content-encoding is "gzip". Also consider
setting <b>disableStreamCache</b> to true to optimize when bridging.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>enableMultipartFilter</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <b>Camel 2.5:</b> Whether Jetty
<tt>org.eclipse.jetty.servlets.MultiPartFilter</tt> is enabled or not. You
should set this value to <tt>false</tt> when bridging endpoints, to ensure
multipart requests is proxied/bridged as well. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>multipartFilterRef</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.6:</b> Allows using a
custom multipart filter. Note: setting <tt>multipartFilterRef</tt> forces
the value of <tt>enableMultipartFilter</tt> to <tt>true</tt>.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>filtersRef</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
<tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel
2.9:</b> Allows using a custom filters which is putted into a list and can be
find in the <a shape="rect" href="registry.html"
title="Registry">Registry</a></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>continuationTimeout</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <b>Camel 2.6:</b> Allows to set a timeout in
millis when using <a shape="rect" href="jetty.html" title="Jetty">Jetty</a> as
consumer (server). By default Jetty uses 30000. You can use a value of
<tt><= 0</tt> to never expire. If a timeout occurs then the request will be
expired and Jetty will return back a http error 503 to the cli
ent. This option is only in use when using <a shape="rect" href="jetty.html"
title="Jetty">Jetty</a> with the <a shape="rect"
href="asynchronous-routing-engine.html" title="Asynchronous Routing
Engine">Asynchronous Routing Engine</a>. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>useContinuation</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <b>Camel 2.6:</b> Whether or not to use <a
shape="rect" class="external-link"
href="http://wiki.eclipse.org/Jetty/Feature/Continuations" rel="nofollow">Jetty
continuations</a> for the Jetty Server. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>sslContextParametersRef</tt><br
clear="none" class="atl-forced-newline"> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>null</tt><br clear="none" class="atl-forced-newline">
</td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.8:</b>
Reference to a <
tt>org.apache.camel.util.jsse.SSLContextParameters</tt> in the <a shape="rect"
href="registry.html" title="Registry">Registry</a>.  This reference
overrides any configured SSLContextParameters at the component level.  See
<a shape="rect"
href="#BookComponentAppendix-UsingtheJSSEConfigurationUtility">Using the JSSE
Configuration Utility</a>. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>traceEnabled</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> Specifies whether to enable HTTP TRACE for this Jetty
consumer. By default TRACE is turned off. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>headerFilterStrategy</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.11:</b> Reference to a
instance of <tt>org.apache.camel.spi.HeaderFilterStrategy</tt> in the <a shap
e="rect" href="registry.html" title="Registry">Registry</a>. It will be used
to apply the custom headerFilterStrategy on the new create HttpJettyEndpoint.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>urlRewrite</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
<tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel
2.11:</b> <b>Producer only</b> Refers to a custom
<tt>org.apache.camel.component.http.UrlRewrite</tt> which allows you to rewrite
urls when you bridge/proxy endpoints. See more details at <a shape="rect"
href="urlrewrite.html" title="UrlRewrite">UrlRewrite</a> and <a shape="rect"
href="how-to-use-camel-as-a-http-proxy-between-a-client-and-server.html"
title="How to use Camel as a HTTP proxy between a client and server">How to use
Camel as a HTTP proxy between a client and server</a>.
</td></tr></tbody></table>
</div>
</div>
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 Dec 28 10:24:10
2012
@@ -28527,7 +28527,7 @@ jetty:http:<span class="code-comment">//
<h3><a shape="rect" name="BookInOnePage-Options"></a>Options</h3>
<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>sessionSupport</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> Specifies whether to enable the session manager on the
server side of Jetty. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>httpClient.XXX</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> Configuration of Jetty's <a shape="rect"
class="external-link" href="http://wiki.eclipse.org/Jetty/Tutorial/HttpClient"
rel="nofollow">HttpClient</a>. For example, setting
<tt>httpClient.idleTimeout=30000</tt> sets the idle timeout to 30 seconds.
</td></
tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>httpClient</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> To use a shared
<tt>org.eclipse.jetty.client.HttpClient</tt> for all producers created by this
endpoint. This option should only be used in special circumstances.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>httpClientMinThreads</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <b>Camel 2.11:</b> <b>Producer only</b>: To set a value
for minimum number of threads in <tt>HttpClient</tt> thread pool. This setting
override any setting configured on component level. Notice that both a min and
max size must be configured. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>httpClientMaxThreads</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>null</tt> <
/td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.11:</b>
<b>Producer only</b>: To set a value for maximum number of threads in
<tt>HttpClient</tt> thread pool. This setting override any setting configured
on component level. Notice that both a min and max size must be configured.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>httpBindingRef</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
<tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Reference
to an <tt>org.apache.camel.component.http.HttpBinding</tt> in the <a
shape="rect" href="registry.html" title="Registry">Registry</a>.
<tt>HttpBinding</tt> can be used to customize how a response should be written
for the consumer. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>jettyHttpBindingRef</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <b>Camel 2.6.0+:</b> R
eference to an <tt>org.apache.camel.component.jetty.JettyHttpBinding</tt> in
the <a shape="rect" href="registry.html" title="Registry">Registry</a>.
<tt>JettyHttpBinding</tt> can be used to customize how a response should be
written for the producer. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>matchOnUriPrefix</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> Whether or not the <tt>CamelServlet</tt>
should try to find a target consumer by matching the URI prefix if no exact
match is found. See here <a shape="rect"
href="how-do-i-let-jetty-match-wildcards.html" title="How do I let Jetty match
wildcards">How do I let Jetty match wildcards</a>. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>handlers</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> Specifies a comma-delimited s
et of <tt>org.mortbay.jetty.Handler</tt> instances in your <a shape="rect"
href="registry.html" title="Registry">Registry</a> (such as your Spring
<tt>ApplicationContext</tt>). These handlers are added to the Jetty servlet
context (for example, to add security). </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>chunked</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <b>Camel 2.2:</b> If this option is false
Jetty servlet will disable the HTTP streaming and set the content-length header
on the response </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"> <b>Camel
2.3:</b> If this option is true, Jetty JMX support will be enabled for this
endpoint. See <a shape="rect" href="#BookInOnePage-JettyJMXsupport">Jetty JMX
support</a>
for more details. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>disableStreamCache</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <b>Camel 2.3:</b> Determines whether or not
the raw input stream from Jetty is cached or not (Camel will read the stream
into a in memory/overflow to file, <a shape="rect" href="stream-caching.html"
title="Stream caching">Stream caching</a>) cache. By default Camel will cache
the Jetty input stream to support reading it multiple times to ensure it Camel
can retrieve all data from the stream. However you can set this option to
<tt>true</tt> when you for example need to access the raw stream, such as
streaming it directly to a file or other persistent store. DefaultHttpBinding
will copy the request input stream into a stream cache and put it into message
body if this option is <tt>false</tt> to support reading the stream multiple
times. If you us
e <a shape="rect" href="jetty.html" title="Jetty">Jetty</a> to bridge/proxy an
endpoint then consider enabling this option to improve performance, in case you
do not need to read the message payload multiple times. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>bridgeEndpoint</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.1:</b> If the option
is true , HttpProducer will ignore the Exchange.HTTP_URI header, and use the
endpoint's URI for request. You may also set the <b>throwExceptionOnFailure</b>
to be false to let the HttpProducer send all the fault response back. <br
clear="none" class="atl-forced-newline">
-<b>Camel 2.3:</b> If the option is true, HttpProducer and CamelServlet will
skip the gzip processing if the content-encoding is "gzip". Also consider
setting <b>disableStreamCache</b> to true to optimize when bridging.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>enableMultipartFilter</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <b>Camel 2.5:</b> Whether Jetty
<tt>org.eclipse.jetty.servlets.MultiPartFilter</tt> is enabled or not. You
should set this value to <tt>false</tt> when bridging endpoints, to ensure
multipart requests is proxied/bridged as well. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>multipartFilterRef</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.6:</b> Allows using a
custom multipart filter. Note: setting <tt>multipartFilterRef</tt> forces
the value of <tt>enableMultipartFilter</tt> to <tt>true</tt>.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>filtersRef</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
<tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel
2.9:</b> Allows using a custom filters which is putted into a list and can be
find in the <a shape="rect" href="registry.html"
title="Registry">Registry</a></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>continuationTimeout</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <b>Camel 2.6:</b> Allows to set a timeout in
millis when using <a shape="rect" href="jetty.html" title="Jetty">Jetty</a> as
consumer (server). By default Jetty uses 30000. You can use a value of
<tt><= 0</tt> to never expire. If a timeout occurs then the request will be
expired and Jetty will return back a http error 503 to the cli
ent. This option is only in use when using <a shape="rect" href="jetty.html"
title="Jetty">Jetty</a> with the <a shape="rect"
href="asynchronous-routing-engine.html" title="Asynchronous Routing
Engine">Asynchronous Routing Engine</a>. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>useContinuation</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <b>Camel 2.6:</b> Whether or not to use <a
shape="rect" class="external-link"
href="http://wiki.eclipse.org/Jetty/Feature/Continuations" rel="nofollow">Jetty
continuations</a> for the Jetty Server. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>sslContextParametersRef</tt><br
clear="none" class="atl-forced-newline"> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>null</tt><br clear="none" class="atl-forced-newline">
</td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.8:</b>
Reference to a <
tt>org.apache.camel.util.jsse.SSLContextParameters</tt> in the <a shape="rect"
href="registry.html" title="Registry">Registry</a>.  This reference
overrides any configured SSLContextParameters at the component level.  See
<a shape="rect" href="#BookInOnePage-UsingtheJSSEConfigurationUtility">Using
the JSSE Configuration Utility</a>. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>traceEnabled</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> Specifies whether to enable HTTP TRACE for this Jetty
consumer. By default TRACE is turned off. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>headerFilterStrategy</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.11:</b> Reference to a
instance of <tt>org.apache.camel.spi.HeaderFilterStrategy</tt> in the <a
shape="rect"
href="registry.html" title="Registry">Registry</a>. It will be used to apply
the custom headerFilterStrategy on the new create HttpJettyEndpoint.
</td></tr></tbody></table>
+<b>Camel 2.3:</b> If the option is true, HttpProducer and CamelServlet will
skip the gzip processing if the content-encoding is "gzip". Also consider
setting <b>disableStreamCache</b> to true to optimize when bridging.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>enableMultipartFilter</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <b>Camel 2.5:</b> Whether Jetty
<tt>org.eclipse.jetty.servlets.MultiPartFilter</tt> is enabled or not. You
should set this value to <tt>false</tt> when bridging endpoints, to ensure
multipart requests is proxied/bridged as well. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>multipartFilterRef</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.6:</b> Allows using a
custom multipart filter. Note: setting <tt>multipartFilterRef</tt> forces
the value of <tt>enableMultipartFilter</tt> to <tt>true</tt>.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>filtersRef</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
<tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel
2.9:</b> Allows using a custom filters which is putted into a list and can be
find in the <a shape="rect" href="registry.html"
title="Registry">Registry</a></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>continuationTimeout</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <b>Camel 2.6:</b> Allows to set a timeout in
millis when using <a shape="rect" href="jetty.html" title="Jetty">Jetty</a> as
consumer (server). By default Jetty uses 30000. You can use a value of
<tt><= 0</tt> to never expire. If a timeout occurs then the request will be
expired and Jetty will return back a http error 503 to the cli
ent. This option is only in use when using <a shape="rect" href="jetty.html"
title="Jetty">Jetty</a> with the <a shape="rect"
href="asynchronous-routing-engine.html" title="Asynchronous Routing
Engine">Asynchronous Routing Engine</a>. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>useContinuation</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <b>Camel 2.6:</b> Whether or not to use <a
shape="rect" class="external-link"
href="http://wiki.eclipse.org/Jetty/Feature/Continuations" rel="nofollow">Jetty
continuations</a> for the Jetty Server. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>sslContextParametersRef</tt><br
clear="none" class="atl-forced-newline"> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>null</tt><br clear="none" class="atl-forced-newline">
</td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.8:</b>
Reference to a <
tt>org.apache.camel.util.jsse.SSLContextParameters</tt> in the <a shape="rect"
href="registry.html" title="Registry">Registry</a>.  This reference
overrides any configured SSLContextParameters at the component level.  See
<a shape="rect" href="#BookInOnePage-UsingtheJSSEConfigurationUtility">Using
the JSSE Configuration Utility</a>. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>traceEnabled</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> Specifies whether to enable HTTP TRACE for this Jetty
consumer. By default TRACE is turned off. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>headerFilterStrategy</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.11:</b> Reference to a
instance of <tt>org.apache.camel.spi.HeaderFilterStrategy</tt> in the <a
shape="rect"
href="registry.html" title="Registry">Registry</a>. It will be used to apply
the custom headerFilterStrategy on the new create HttpJettyEndpoint.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>urlRewrite</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
<tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel
2.11:</b> <b>Producer only</b> Refers to a custom
<tt>org.apache.camel.component.http.UrlRewrite</tt> which allows you to rewrite
urls when you bridge/proxy endpoints. See more details at <a shape="rect"
href="urlrewrite.html" title="UrlRewrite">UrlRewrite</a> and <a shape="rect"
href="how-to-use-camel-as-a-http-proxy-between-a-client-and-server.html"
title="How to use Camel as a HTTP proxy between a client and server">How to use
Camel as a HTTP proxy between a client and server</a>.
</td></tr></tbody></table>
</div>
</div>
Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.
Modified: websites/production/camel/content/jetty.html
==============================================================================
--- websites/production/camel/content/jetty.html (original)
+++ websites/production/camel/content/jetty.html Fri Dec 28 10:24:10 2012
@@ -97,7 +97,7 @@ jetty:http:<span class="code-comment">//
<h3><a shape="rect" name="Jetty-Options"></a>Options</h3>
<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>sessionSupport</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> Specifies whether to enable the session manager on the
server side of Jetty. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>httpClient.XXX</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> Configuration of Jetty's <a shape="rect"
class="external-link" href="http://wiki.eclipse.org/Jetty/Tutorial/HttpClient"
rel="nofollow">HttpClient</a>. For example, setting
<tt>httpClient.idleTimeout=30000</tt> sets the idle timeout to 30 seconds.
</td></
tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>httpClient</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> To use a shared
<tt>org.eclipse.jetty.client.HttpClient</tt> for all producers created by this
endpoint. This option should only be used in special circumstances.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>httpClientMinThreads</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <b>Camel 2.11:</b> <b>Producer only</b>: To set a value
for minimum number of threads in <tt>HttpClient</tt> thread pool. This setting
override any setting configured on component level. Notice that both a min and
max size must be configured. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>httpClientMaxThreads</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>null</tt> <
/td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.11:</b>
<b>Producer only</b>: To set a value for maximum number of threads in
<tt>HttpClient</tt> thread pool. This setting override any setting configured
on component level. Notice that both a min and max size must be configured.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>httpBindingRef</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
<tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Reference
to an <tt>org.apache.camel.component.http.HttpBinding</tt> in the <a
shape="rect" href="registry.html" title="Registry">Registry</a>.
<tt>HttpBinding</tt> can be used to customize how a response should be written
for the consumer. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>jettyHttpBindingRef</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <b>Camel 2.6.0+:</b> R
eference to an <tt>org.apache.camel.component.jetty.JettyHttpBinding</tt> in
the <a shape="rect" href="registry.html" title="Registry">Registry</a>.
<tt>JettyHttpBinding</tt> can be used to customize how a response should be
written for the producer. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>matchOnUriPrefix</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> Whether or not the <tt>CamelServlet</tt>
should try to find a target consumer by matching the URI prefix if no exact
match is found. See here <a shape="rect"
href="how-do-i-let-jetty-match-wildcards.html" title="How do I let Jetty match
wildcards">How do I let Jetty match wildcards</a>. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>handlers</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> Specifies a comma-delimited s
et of <tt>org.mortbay.jetty.Handler</tt> instances in your <a shape="rect"
href="registry.html" title="Registry">Registry</a> (such as your Spring
<tt>ApplicationContext</tt>). These handlers are added to the Jetty servlet
context (for example, to add security). </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>chunked</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <b>Camel 2.2:</b> If this option is false
Jetty servlet will disable the HTTP streaming and set the content-length header
on the response </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"> <b>Camel
2.3:</b> If this option is true, Jetty JMX support will be enabled for this
endpoint. See <a shape="rect" href="#Jetty-JettyJMXsupport">Jetty JMX
support</a> for more
details. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>disableStreamCache</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <b>Camel 2.3:</b> Determines whether or not the raw input
stream from Jetty is cached or not (Camel will read the stream into a in
memory/overflow to file, <a shape="rect" href="stream-caching.html"
title="Stream caching">Stream caching</a>) cache. By default Camel will cache
the Jetty input stream to support reading it multiple times to ensure it Camel
can retrieve all data from the stream. However you can set this option to
<tt>true</tt> when you for example need to access the raw stream, such as
streaming it directly to a file or other persistent store. DefaultHttpBinding
will copy the request input stream into a stream cache and put it into message
body if this option is <tt>false</tt> to support reading the stream multiple
times. If you use <a sha
pe="rect" href="jetty.html" title="Jetty">Jetty</a> to bridge/proxy an
endpoint then consider enabling this option to improve performance, in case you
do not need to read the message payload multiple times. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>bridgeEndpoint</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.1:</b> If the option
is true , HttpProducer will ignore the Exchange.HTTP_URI header, and use the
endpoint's URI for request. You may also set the <b>throwExceptionOnFailure</b>
to be false to let the HttpProducer send all the fault response back. <br
clear="none" class="atl-forced-newline">
-<b>Camel 2.3:</b> If the option is true, HttpProducer and CamelServlet will
skip the gzip processing if the content-encoding is "gzip". Also consider
setting <b>disableStreamCache</b> to true to optimize when bridging.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>enableMultipartFilter</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <b>Camel 2.5:</b> Whether Jetty
<tt>org.eclipse.jetty.servlets.MultiPartFilter</tt> is enabled or not. You
should set this value to <tt>false</tt> when bridging endpoints, to ensure
multipart requests is proxied/bridged as well. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>multipartFilterRef</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.6:</b> Allows using a
custom multipart filter. Note: setting <tt>multipartFilterRef</tt> forces
the value of <tt>enableMultipartFilter</tt> to <tt>true</tt>.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>filtersRef</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
<tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel
2.9:</b> Allows using a custom filters which is putted into a list and can be
find in the <a shape="rect" href="registry.html"
title="Registry">Registry</a></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>continuationTimeout</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <b>Camel 2.6:</b> Allows to set a timeout in
millis when using <a shape="rect" href="jetty.html" title="Jetty">Jetty</a> as
consumer (server). By default Jetty uses 30000. You can use a value of
<tt><= 0</tt> to never expire. If a timeout occurs then the request will be
expired and Jetty will return back a http error 503 to the cli
ent. This option is only in use when using <a shape="rect" href="jetty.html"
title="Jetty">Jetty</a> with the <a shape="rect"
href="asynchronous-routing-engine.html" title="Asynchronous Routing
Engine">Asynchronous Routing Engine</a>. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>useContinuation</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <b>Camel 2.6:</b> Whether or not to use <a
shape="rect" class="external-link"
href="http://wiki.eclipse.org/Jetty/Feature/Continuations" rel="nofollow">Jetty
continuations</a> for the Jetty Server. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>sslContextParametersRef</tt><br
clear="none" class="atl-forced-newline"> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>null</tt><br clear="none" class="atl-forced-newline">
</td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.8:</b>
Reference to a <
tt>org.apache.camel.util.jsse.SSLContextParameters</tt> in the <a shape="rect"
href="registry.html" title="Registry">Registry</a>.  This reference
overrides any configured SSLContextParameters at the component level.  See
<a shape="rect" href="#Jetty-UsingtheJSSEConfigurationUtility">Using the JSSE
Configuration Utility</a>. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>traceEnabled</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> Specifies whether to enable HTTP TRACE for this Jetty
consumer. By default TRACE is turned off. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>headerFilterStrategy</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.11:</b> Reference to a
instance of <tt>org.apache.camel.spi.HeaderFilterStrategy</tt> in the <a
shape="rect" href="r
egistry.html" title="Registry">Registry</a>. It will be used to apply the
custom headerFilterStrategy on the new create HttpJettyEndpoint.
</td></tr></tbody></table>
+<b>Camel 2.3:</b> If the option is true, HttpProducer and CamelServlet will
skip the gzip processing if the content-encoding is "gzip". Also consider
setting <b>disableStreamCache</b> to true to optimize when bridging.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>enableMultipartFilter</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <b>Camel 2.5:</b> Whether Jetty
<tt>org.eclipse.jetty.servlets.MultiPartFilter</tt> is enabled or not. You
should set this value to <tt>false</tt> when bridging endpoints, to ensure
multipart requests is proxied/bridged as well. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>multipartFilterRef</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.6:</b> Allows using a
custom multipart filter. Note: setting <tt>multipartFilterRef</tt> forces
the value of <tt>enableMultipartFilter</tt> to <tt>true</tt>.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>filtersRef</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
<tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel
2.9:</b> Allows using a custom filters which is putted into a list and can be
find in the <a shape="rect" href="registry.html"
title="Registry">Registry</a></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>continuationTimeout</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <b>Camel 2.6:</b> Allows to set a timeout in
millis when using <a shape="rect" href="jetty.html" title="Jetty">Jetty</a> as
consumer (server). By default Jetty uses 30000. You can use a value of
<tt><= 0</tt> to never expire. If a timeout occurs then the request will be
expired and Jetty will return back a http error 503 to the cli
ent. This option is only in use when using <a shape="rect" href="jetty.html"
title="Jetty">Jetty</a> with the <a shape="rect"
href="asynchronous-routing-engine.html" title="Asynchronous Routing
Engine">Asynchronous Routing Engine</a>. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>useContinuation</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <b>Camel 2.6:</b> Whether or not to use <a
shape="rect" class="external-link"
href="http://wiki.eclipse.org/Jetty/Feature/Continuations" rel="nofollow">Jetty
continuations</a> for the Jetty Server. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>sslContextParametersRef</tt><br
clear="none" class="atl-forced-newline"> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>null</tt><br clear="none" class="atl-forced-newline">
</td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.8:</b>
Reference to a <
tt>org.apache.camel.util.jsse.SSLContextParameters</tt> in the <a shape="rect"
href="registry.html" title="Registry">Registry</a>.  This reference
overrides any configured SSLContextParameters at the component level.  See
<a shape="rect" href="#Jetty-UsingtheJSSEConfigurationUtility">Using the JSSE
Configuration Utility</a>. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>traceEnabled</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> Specifies whether to enable HTTP TRACE for this Jetty
consumer. By default TRACE is turned off. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>headerFilterStrategy</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.11:</b> Reference to a
instance of <tt>org.apache.camel.spi.HeaderFilterStrategy</tt> in the <a
shape="rect" href="r
egistry.html" title="Registry">Registry</a>. It will be used to apply the
custom headerFilterStrategy on the new create HttpJettyEndpoint.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>urlRewrite</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
<tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel
2.11:</b> <b>Producer only</b> Refers to a custom
<tt>org.apache.camel.component.http.UrlRewrite</tt> which allows you to rewrite
urls when you bridge/proxy endpoints. See more details at <a shape="rect"
href="urlrewrite.html" title="UrlRewrite">UrlRewrite</a> and <a shape="rect"
href="how-to-use-camel-as-a-http-proxy-between-a-client-and-server.html"
title="How to use Camel as a HTTP proxy between a client and server">How to use
Camel as a HTTP proxy between a client and server</a>.
</td></tr></tbody></table>
</div>
</div>
Modified: websites/production/camel/content/urlrewrite.html
==============================================================================
--- websites/production/camel/content/urlrewrite.html (original)
+++ websites/production/camel/content/urlrewrite.html Fri Dec 28 10:24:10 2012
@@ -78,6 +78,39 @@
<div class="wiki-content maincontent"><h2><a shape="rect"
name="UrlRewrite-UrlRewriteComponent"></a>UrlRewrite Component</h2>
<p><b>Available as of Camel 2.11</b></p>
+<p>The <tt>camel-urlrewrite</tt> component allows to plugin url rewrite
functionality to <a shape="rect" href="http.html" title="HTTP">HTTP</a>, <a
shape="rect" href="http4.html" title="HTTP4">HTTP4</a>, <a shape="rect"
href="jetty.html" title="Jetty">Jetty</a>, or <a shape="rect" href="ahc.html"
title="AHC">AHC</a> components. This component integrates the <a shape="rect"
class="external-link" href="http://code.google.com/p/urlrewritefilter/"
rel="nofollow">UrlRewriteFilter</a> project with Apache Camel. This allows you
to use the capabilities from the url rewrite project with your Camel routes.</p>
+
+<p>This component <b>requires</b> that your Camel routes starts from a servlet
based endpoint such as <a shape="rect" href="jetty.html"
title="Jetty">Jetty</a> or <a shape="rect" href="servlet.html"
title="SERVLET">SERVLET</a>.</p>
+
+<h3><a shape="rect" name="UrlRewrite-Options"></a>Options</h3>
+
+<p>The <tt>camel-urlrewrite</tt> component offers the following options</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>conf</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> To use a custom
<tt>org.tuckey.web.filters.urlrewrite.Conf</tt> as the configuration for the
url rewrite filter. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>configFile</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> Refers to a file name to load as the configuration file.
The file should be XML file. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>modRewriteConfFile</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd">
<tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Refers to
a file name to load as the mod based configuration file. This file should be a
plain text file. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>modRewriteConfText</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> Is used to quickly configure a mod based
configuration without using a file. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>useQueryString</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> Whether to use query strings in the url rewrite rules.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>useContext</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
<tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Whether
to include context-path or not in th
e matching. Will be default remove the context-path. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>defaultMatchType</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>"regex"</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> Which match type to use.
Can be either "wildcard" or "regex". </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>decodeUsing</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> To use a specific encoding such as "utf-8" or
"iso-8859-1". </td></tr></tbody></table>
+</div>
+</div>
+
+<h3><a shape="rect" name="UrlRewrite-Usage"></a>Usage</h3>
+
+<p>You setup the url rewrite as a bean such as shown below:<br clear="none">
+TODO: java</p>
+
+<p>And in XML DSL you can do:<br clear="none">
+TODO: xml</p>
+
+<p>In the Camel routes<br clear="none">
+TODO: route</p>
+
+<h3><a shape="rect" name="UrlRewrite-Writingcustomurlrewriters"></a>Writing
custom url rewriters</h3>
+
+<p>You can implement your custom url rewriters by implementing either of the
following interfaces:</p>
+<ul class="alternate"
type="square"><li><tt>org.apache.camel.component.http.UrlRewrite</tt></li><li><tt>org.apache.camel.component.http.HttpServletUrlRewrite</tt></li></ul>
+
+
+<p>The former is a simple and generic interface, which is not dependent on the
Servlet API.<br clear="none">
+The later is servlet based which requires the Camel route to start from a
servlet based component such as <a shape="rect" href="jetty.html"
title="Jetty">Jetty</a> or <a shape="rect" href="servlet.html"
title="SERVLET">SERVLET</a>. The servlet based is more feature rich and that's
the API we use to integrate with the <a shape="rect" class="external-link"
href="http://code.google.com/p/urlrewritefilter/"
rel="nofollow">UrlRewriteFilter</a> project in this <tt>camel-urlrewrite</tt>
component.</p>
+
<h3><a shape="rect" name="UrlRewrite-SeeAlso"></a>See Also</h3>
<ul><li><a shape="rect" href="configuring-camel.html" title="Configuring
Camel">Configuring Camel</a></li><li><a shape="rect" href="component.html"
title="Component">Component</a></li><li><a shape="rect" href="endpoint.html"
title="Endpoint">Endpoint</a></li><li><a shape="rect"
href="getting-started.html" title="Getting Started">Getting
Started</a></li></ul>