camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r864170 - in /websites/production/camel/content: cache/main.pageCache camel-2120-release.html http4.html
Date Mon, 03 Jun 2013 09:18:46 GMT
Author: buildbot
Date: Mon Jun  3 09:18:46 2013
New Revision: 864170

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/camel-2120-release.html
    websites/production/camel/content/http4.html

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

Modified: websites/production/camel/content/camel-2120-release.html
==============================================================================
--- websites/production/camel/content/camel-2120-release.html (original)
+++ websites/production/camel/content/camel-2120-release.html Mon Jun  3 09:18:46 2013
@@ -89,7 +89,7 @@
 
 <h3><a shape="rect" name="Camel2.12.0Release-FixedIssues"></a>Fixed Issues</h3>
 
-<ul><li>Fixed setting .id in Java DSL on some <a shape="rect" href="eip.html"
title="EIP">EIP</a>s such as the <a shape="rect" href="validate.html" title="Validate">Validate</a></li><li>Fixed
<a shape="rect" href="dead-letter-channel.html" title="Dead Letter Channel">Dead Letter
Channel</a> always handled exception, which wasn't the case if an <a shape="rect"
href="exception-clause.html" title="Exception Clause">Exception Clause</a> was in
use, which didn't had handled=true.</li><li>Fixed <a shape="rect" href="using-propertyplaceholder.html"
title="Using PropertyPlaceholder">Using PropertyPlaceholder</a> in attributes defined
on <tt>&lt;camelContext&gt;</tt>.</li><li>All Camel <a
shape="rect" href="components.html" title="Components">Components</a> will configure
their consumers when being created to ensure you can configure from <a shape="rect" href="uris.html"
title="URIs">URIs</a> with <tt>consumer.</tt> as prefix.</li><li>Fixed
<a shape="rect" href="quickfix.html" title=
 "Quickfix">QuickfixJEndpoint</a> to adhere a given InOut MEP correctly.</li><li>Fixed
using property placeholders in a <a shape="rect" href="simple.html" title="Simple">Simple</a>
predicate used inside a when in a <a shape="rect" href="content-based-router.html" title="Content
Based Router">Content Based Router</a> when using <a shape="rect" href="java-dsl.html"
title="Java DSL">Java DSL</a></li><li>Fixed a race condition in <a
shape="rect" href="file2.html" title="File2">File</a> consumer which may lead to
a tiny window for another process to pickup a file, as the read lock is committed before the
file is moved afterwards etc. Now read locks is executed last.</li></ul>
+<ul><li>Fixed setting .id in Java DSL on some <a shape="rect" href="eip.html"
title="EIP">EIP</a>s such as the <a shape="rect" href="validate.html" title="Validate">Validate</a></li><li>Fixed
<a shape="rect" href="dead-letter-channel.html" title="Dead Letter Channel">Dead Letter
Channel</a> always handled exception, which wasn't the case if an <a shape="rect"
href="exception-clause.html" title="Exception Clause">Exception Clause</a> was in
use, which didn't had handled=true.</li><li>Fixed <a shape="rect" href="using-propertyplaceholder.html"
title="Using PropertyPlaceholder">Using PropertyPlaceholder</a> in attributes defined
on <tt>&lt;camelContext&gt;</tt>.</li><li>All Camel <a
shape="rect" href="components.html" title="Components">Components</a> will configure
their consumers when being created to ensure you can configure from <a shape="rect" href="uris.html"
title="URIs">URIs</a> with <tt>consumer.</tt> as prefix.</li><li>Fixed
<a shape="rect" href="quickfix.html" title=
 "Quickfix">QuickfixJEndpoint</a> to adhere a given InOut MEP correctly.</li><li>Fixed
using property placeholders in a <a shape="rect" href="simple.html" title="Simple">Simple</a>
predicate used inside a when in a <a shape="rect" href="content-based-router.html" title="Content
Based Router">Content Based Router</a> when using <a shape="rect" href="java-dsl.html"
title="Java DSL">Java DSL</a></li><li>Fixed a race condition in <a
shape="rect" href="file2.html" title="File2">File</a> consumer which may lead to
a tiny window for another process to pickup a file, as the read lock is committed before the
file is moved afterwards etc. Now read locks is executed last.</li><li><a shape="rect"
href="http4.html" title="HTTP4">HTTP4</a> now validates that only one instance of
<tt>org.apache.camel.util.jsse.SSLContextParameters</tt> is used per component,
as multiple is not supported, and could lead to undesired side effects.</li></ul>
 
 
 <h3><a shape="rect" name="Camel2.12.0Release-NewEnterpriseIntegrationPatterns"></a>New
<a shape="rect" href="enterprise-integration-patterns.html" title="Enterprise Integration
Patterns">Enterprise Integration Patterns</a></h3>

Modified: websites/production/camel/content/http4.html
==============================================================================
--- websites/production/camel/content/http4.html (original)
+++ websites/production/camel/content/http4.html Mon Jun  3 09:18:46 2013
@@ -111,7 +111,7 @@ http4:hostname[:port][/resourceUri][?opt
 <h3><a shape="rect" name="HTTP4-HttpComponentOptions"></a>HttpComponent
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>maxTotalConnections</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>200</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> The maximum number of connections.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>connectionsPerRoute</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>20</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> The maximum number of connections
per route. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>httpClientConfigurer</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
<tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
Reference to a <tt>org.apac
 he.camel.component.http.HttpClientConfigurer</tt> in the <a shape="rect" href="registry.html"
title="Registry">Registry</a>. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>clientConnectionManager</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.apache.http.conn.ClientConnectionManager</tt>.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>httpBinding</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.apache.camel.component.http.HttpBinding</tt>.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>httpContext</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.9.2:</b>
To use a custom <tt>org.apache.http.protocol.HttpContext</tt> wh
 en executing requests. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>sslContextParameters</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
<tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
<b>Camel 2.8:</b> To use a custom <tt>org.apache.camel.util.jsse.SSLContextParameters</tt>.
See <a shape="rect" href="#HTTP4-UsingtheJSSEConfigurationUtility">Using the JSSE Configuration
Utility</a>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>x509HostnameVerifier</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
<tt>BrowserCompatHostnameVerifier</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <b>Camel 2.7:</b> You can refer to a different <tt>org.apache.http.conn.ssl.X509HostnameVerifier</tt>
instance in the <a shape="rect" href="registry.html" title="Registry">Registry</a>
such as <tt>org.apache.http.conn.ssl.StrictHostnameVerifier</tt> or <tt>org.apache.http.conn.ssl.AllowAllHostnameVerifi
 er</tt>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>connectionTimeToLive</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
<tt>-1</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
<b>Camel 2.11.0:</b> The time for connection to live, the time unit is millisecond,
the default value is always keep alive. </td></tr></tbody></table>
+<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>maxTotalConnections</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>200</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> The maximum number of connections.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>connectionsPerRoute</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>20</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> The maximum number of connections
per route. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>httpClientConfigurer</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
<tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
Reference to a <tt>org.apac
 he.camel.component.http.HttpClientConfigurer</tt> in the <a shape="rect" href="registry.html"
title="Registry">Registry</a>. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>clientConnectionManager</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.apache.http.conn.ClientConnectionManager</tt>.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>httpBinding</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.apache.camel.component.http.HttpBinding</tt>.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>httpContext</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.9.2:</b>
To use a custom <tt>org.apache.http.protocol.HttpContext</tt> wh
 en executing requests. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>sslContextParameters</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
<tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
<b>Camel 2.8:</b> To use a custom <tt>org.apache.camel.util.jsse.SSLContextParameters</tt>.
See <a shape="rect" href="#HTTP4-UsingtheJSSEConfigurationUtility">Using the JSSE Configuration
Utility</a>. <b>Important:</b> Only one instance of <tt>org.apache.camel.util.jsse.SSLContextParameters</tt>
is supported per HttpComponent. If you need to use 2 or more different instances, you need
to define a new HttpComponent per instance you need. See further below for more details. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>x509HostnameVerifier</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>BrowserCompatHostnameVerifier</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.7:</b>
You can re
 fer to a different <tt>org.apache.http.conn.ssl.X509HostnameVerifier</tt> instance
in the <a shape="rect" href="registry.html" title="Registry">Registry</a> such
as <tt>org.apache.http.conn.ssl.StrictHostnameVerifier</tt> or <tt>org.apache.http.conn.ssl.AllowAllHostnameVerifier</tt>.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>connectionTimeToLive</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>-1</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.11.0:</b>
The time for connection to live, the time unit is millisecond, the default value is always
keep alive. </td></tr></tbody></table>
 </div>
 </div>
 
@@ -119,7 +119,7 @@ http4:hostname[:port][/resourceUri][?opt
 <h3><a shape="rect" name="HTTP4-HttpEndpointOptions"></a>HttpEndpoint 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>throwExceptionOnFailure</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> Option to disable throwing
the <tt>HttpOperationFailedException</tt> in case of failed responses from the
remote server. This allows you to get all responses regardless of the HTTP status code. </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"> If true, HttpProducer will ignore the Exchange.HTTP_URI
header, and use the endpoint's URI for request. You may also set the <b>
 throwExcpetionOnFailure</b> to be false to let the HttpProducer send all fault responses
back. Also if set to true HttpProducer and CamelServlet will skip the gzip processing if the
content-encoding is "gzip". </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"> DefaultHttpBinding will copy the request input stream
into a stream cache and put it into the message body if this option is false to support multiple
reads, otherwise DefaultHttpBinding will set the request input stream directly in the message
body. </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.10.4:</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>.&#160;It
will be used to apply the custom headerFilterStrategy on the new create HttpEndpoint. </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"> <b>Deprecated and will be removed in
Camel 3.0:</b> Reference to a <tt>org.apache.camel.component.http.HttpBinding</tt>
in the <a shape="rect" href="registry.html" title="Registry">Registry</a>. Use
the <tt>httpBinding</tt> option instead. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>httpBinding</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.apache.camel.component.http.HttpBinding</tt>.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>httpClientConfi
 gurerRef</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt>
</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.component.http.HttpClientConfigurer</tt>
in the <a shape="rect" href="registry.html" title="Registry">Registry</a>. Use
the <tt>httpClientConfigurer</tt> option instead. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>httpClientConfigurer</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> Reference to a <tt>org.apache.camel.component.http.HttpClientConfigurer</tt>
in the <a shape="rect" href="registry.html" title="Registry">Registry</a>. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>httpContextRef</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <b>Deprecat
 ed and will be removed in Camel 3.0:</b> <b>Camel 2.9.2:</b> Reference
to a custom <tt>org.apache.http.protocol.HttpContext</tt> in the <a shape="rect"
href="registry.html" title="Registry">Registry</a>. Use the <tt>httpContext</tt>
option instead. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>httpContext</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
<tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
<b>Camel 2.9.2:</b> To use a custom <tt>org.apache.http.protocol.HttpContext</tt>
when executing requests. </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">
Setting options on the <a shape="rect" class="external-link" href="http://hc.apache.org/httpcomponents-core-ga/httpcore/apidocs/org/apache/http/params/BasicHttpParams.html">BasicHttpParams</a>.
For instance <tt>h
 ttpClient.soTimeout=5000</tt> will set the <tt>SO_TIMEOUT</tt> to 5 seconds.
Look on the setter methods of the following parameter beans for a complete reference: <a
shape="rect" class="external-link" href="http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/auth/params/AuthParamBean.html">AuthParamBean</a>,
<a shape="rect" class="external-link" href="http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/client/params/ClientParamBean.html">ClientParamBean</a>,
<a shape="rect" class="external-link" href="http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/conn/params/ConnConnectionParamBean.html">ConnConnectionParamBean</a>,
<a shape="rect" class="external-link" href="http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/conn/params/ConnRouteParamBean.html">ConnRouteParamBean</a>,
<a shape="rect" class="external-link" href="http://hc.apache.org/httpcomponents-client
 -ga/httpclient/apidocs/org/apache/http/cookie/params/CookieSpecParamBean.html">CookieSpecParamBean</a>,
<a shape="rect" class="external-link" href="http://hc.apache.org/httpcomponents-core-ga/httpcore/apidocs/org/apache/http/params/HttpConnectionParamBean.html">HttpConnectionParamBean</a>
and <a shape="rect" class="external-link" href="http://hc.apache.org/httpcomponents-core-ga/httpcore/apidocs/org/apache/http/params/HttpProtocolParamBean.html">HttpProtocolParamBean</a>
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>clientConnectionManager</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.apache.http.conn.ClientConnectionManager</tt>.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>transferException</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> If en
 abled and an <a shape="rect" href="exchange.html" title="Exchange">Exchange</a>
failed processing on the consumer side, and if the caused <tt>Exception</tt> was
send back serialized in the response as a <tt>application/x-java-serialized-object</tt>
content type (for example using <a shape="rect" href="jetty.html" title="Jetty">Jetty</a>
or <a shape="rect" href="servlet.html" title="SERVLET">SERVLET</a> Camel components).
On the producer side the exception will be deserialized and thrown as is, instead of the <tt>HttpOperationFailedException</tt>.
The caused exception is required to be serialized. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>sslContextParametersRef</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Deprecated and
will be removed in Camel 3.0:</b> <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="#HTTP4-UsingtheJSSEConfigurationUtility">Using
the JSSE Configuration Utility</a>. Use the <tt>sslContextParameters</tt>
option instead. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>sslContextParameters</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
<tt>null</tt> </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" href="registry.html" title="Registry">Registry</a>. This
reference overrides any configured SSLContextParameters at the component level. See <a
shape="rect" href="#HTTP4-UsingtheJSSEConfigurationUtility">Using the JSSE Configuration
Utility</a>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>x509HostnameVerifier</tt> </td><td colsp
 an="1" rowspan="1" class="confluenceTd"> <tt>BrowserCompatHostnameVerifier</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.7:</b>
You can refer to a different <tt>org.apache.http.conn.ssl.X509HostnameVerifier</tt>
instance in the <a shape="rect" href="registry.html" title="Registry">Registry</a>
such as <tt>org.apache.http.conn.ssl.StrictHostnameVerifier</tt> or <tt>org.apache.http.conn.ssl.AllowAllHostnameVerifier</tt>.
</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.http4.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-bet
 ween-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>
+<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>throwExceptionOnFailure</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> Option to disable throwing
the <tt>HttpOperationFailedException</tt> in case of failed responses from the
remote server. This allows you to get all responses regardless of the HTTP status code. </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"> If true, HttpProducer will ignore the Exchange.HTTP_URI
header, and use the endpoint's URI for request. You may also set the <b>
 throwExcpetionOnFailure</b> to be false to let the HttpProducer send all fault responses
back. Also if set to true HttpProducer and CamelServlet will skip the gzip processing if the
content-encoding is "gzip". </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"> DefaultHttpBinding will copy the request input stream
into a stream cache and put it into the message body if this option is false to support multiple
reads, otherwise DefaultHttpBinding will set the request input stream directly in the message
body. </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.10.4:</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>.&#160;It
will be used to apply the custom headerFilterStrategy on the new create HttpEndpoint. </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"> <b>Deprecated and will be removed in
Camel 3.0:</b> Reference to a <tt>org.apache.camel.component.http.HttpBinding</tt>
in the <a shape="rect" href="registry.html" title="Registry">Registry</a>. Use
the <tt>httpBinding</tt> option instead. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>httpBinding</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.apache.camel.component.http.HttpBinding</tt>.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>httpClientConfi
 gurerRef</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt>
</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.component.http.HttpClientConfigurer</tt>
in the <a shape="rect" href="registry.html" title="Registry">Registry</a>. Use
the <tt>httpClientConfigurer</tt> option instead. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>httpClientConfigurer</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> Reference to a <tt>org.apache.camel.component.http.HttpClientConfigurer</tt>
in the <a shape="rect" href="registry.html" title="Registry">Registry</a>. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>httpContextRef</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <b>Deprecat
 ed and will be removed in Camel 3.0:</b> <b>Camel 2.9.2:</b> Reference
to a custom <tt>org.apache.http.protocol.HttpContext</tt> in the <a shape="rect"
href="registry.html" title="Registry">Registry</a>. Use the <tt>httpContext</tt>
option instead. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>httpContext</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
<tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
<b>Camel 2.9.2:</b> To use a custom <tt>org.apache.http.protocol.HttpContext</tt>
when executing requests. </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">
Setting options on the <a shape="rect" class="external-link" href="http://hc.apache.org/httpcomponents-core-ga/httpcore/apidocs/org/apache/http/params/BasicHttpParams.html">BasicHttpParams</a>.
For instance <tt>h
 ttpClient.soTimeout=5000</tt> will set the <tt>SO_TIMEOUT</tt> to 5 seconds.
Look on the setter methods of the following parameter beans for a complete reference: <a
shape="rect" class="external-link" href="http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/auth/params/AuthParamBean.html">AuthParamBean</a>,
<a shape="rect" class="external-link" href="http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/client/params/ClientParamBean.html">ClientParamBean</a>,
<a shape="rect" class="external-link" href="http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/conn/params/ConnConnectionParamBean.html">ConnConnectionParamBean</a>,
<a shape="rect" class="external-link" href="http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/conn/params/ConnRouteParamBean.html">ConnRouteParamBean</a>,
<a shape="rect" class="external-link" href="http://hc.apache.org/httpcomponents-client
 -ga/httpclient/apidocs/org/apache/http/cookie/params/CookieSpecParamBean.html">CookieSpecParamBean</a>,
<a shape="rect" class="external-link" href="http://hc.apache.org/httpcomponents-core-ga/httpcore/apidocs/org/apache/http/params/HttpConnectionParamBean.html">HttpConnectionParamBean</a>
and <a shape="rect" class="external-link" href="http://hc.apache.org/httpcomponents-core-ga/httpcore/apidocs/org/apache/http/params/HttpProtocolParamBean.html">HttpProtocolParamBean</a>
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>clientConnectionManager</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.apache.http.conn.ClientConnectionManager</tt>.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>transferException</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> If en
 abled and an <a shape="rect" href="exchange.html" title="Exchange">Exchange</a>
failed processing on the consumer side, and if the caused <tt>Exception</tt> was
send back serialized in the response as a <tt>application/x-java-serialized-object</tt>
content type (for example using <a shape="rect" href="jetty.html" title="Jetty">Jetty</a>
or <a shape="rect" href="servlet.html" title="SERVLET">SERVLET</a> Camel components).
On the producer side the exception will be deserialized and thrown as is, instead of the <tt>HttpOperationFailedException</tt>.
The caused exception is required to be serialized. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>sslContextParametersRef</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Deprecated and
will be removed in Camel 3.0:</b> <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>.  <b>Important:</b>
Only one instance of <tt>org.apache.camel.util.jsse.SSLContextParameters</tt>
is supported per HttpComponent. If you need to use 2 or more different instances, you need
to define a new HttpComponent per instance you need. See further below for more details. See
<a shape="rect" href="#HTTP4-UsingtheJSSEConfigurationUtility">Using the JSSE Configuration
Utility</a>. Use the <tt>sslContextParameters</tt> option instead. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>sslContextParameters</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt>
</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" href="registry.html" title="Registry">Registry</a>.  <b>Important:</b>
Only one instance of <tt>org.apache.camel.util.jsse.SSLContextParameters</tt>
is supported 
 per HttpComponent. If you need to use 2 or more different instances, you need to define a
new HttpComponent per instance you need. See further below for more details. See <a shape="rect"
href="#HTTP4-UsingtheJSSEConfigurationUtility">Using the JSSE Configuration Utility</a>.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>x509HostnameVerifier</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>BrowserCompatHostnameVerifier</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.7:</b>
You can refer to a different <tt>org.apache.http.conn.ssl.X509HostnameVerifier</tt>
instance in the <a shape="rect" href="registry.html" title="Registry">Registry</a>
such as <tt>org.apache.http.conn.ssl.StrictHostnameVerifier</tt> or <tt>org.apache.http.conn.ssl.AllowAllHostnameVerifier</tt>.
</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.http4.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>
 
@@ -506,6 +506,24 @@ httpComponent.setHttpClientConfigurer(<s
 <pre class="code-java">
 &lt;to uri=<span class="code-quote">"https4:<span class="code-comment">//myhostname.com:443/myURL?httpContext=myHttpContext"</span>/&gt;</span>
 </pre>
+</div></div>
+
+<h5><a shape="rect" name="HTTP4-UsingdifferentSSLContextParameters"></a>Using
different SSLContextParameters</h5>
+
+<p>The <a shape="rect" href="http4.html" title="HTTP4">HTTP4</a> component
only support one instance of <tt>org.apache.camel.util.jsse.SSLContextParameters</tt>
per component. If you need to use 2 or more different instances, then you need to setup multiple
<a shape="rect" href="http4.html" title="HTTP4">HTTP4</a> components as shown
below. Where we have 2 components, each using their own instance of <tt>sslContextParameters</tt>
property.</p>
+
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-xml">
+<span class="code-tag">&lt;bean id=<span class="code-quote">"http4-foo"</span>
class=<span class="code-quote">"org.apache.camel.component.http4.HttpComponent"</span>&gt;</span>
+   <span class="code-tag">&lt;property name=<span class="code-quote">"sslContextParameters"</span>
ref=<span class="code-quote">"sslContextParams1"</span>/&gt;</span>
+   <span class="code-tag">&lt;property name=<span class="code-quote">"x509HostnameVerifier"</span>
ref=<span class="code-quote">"hostnameVerifier"</span>/&gt;</span>
+<span class="code-tag">&lt;/bean&gt;</span>
+
+<span class="code-tag">&lt;bean id=<span class="code-quote">"http4-bar"</span>
class=<span class="code-quote">"org.apache.camel.component.http4.HttpComponent"</span>&gt;</span>
+   <span class="code-tag">&lt;property name=<span class="code-quote">"sslContextParameters"</span>
ref=<span class="code-quote">"sslContextParams2"</span>/&gt;</span>
+   <span class="code-tag">&lt;property name=<span class="code-quote">"x509HostnameVerifier"</span>
ref=<span class="code-quote">"hostnameVerifier"</span>/&gt;</span>
+<span class="code-tag">&lt;/bean&gt;</span>
+</pre>
 </div></div></div>
         </td>
         <td valign="top">



Mime
View raw message