HttpComponent Options - 6.3

Talend ESB Mediation Developer Guide

EnrichVersion
6.3
EnrichProdName
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
task
Design and Development
EnrichPlatform
Talend ESB

Table 10. 

Name

Default Value

Description

maxTotalConnections

200

The maximum number of connections.

connectionsPerRoute

20

The maximum number of connections per route.

cookiestore

null

Camel 2.11.2/2.12.0: To use a custom org.apache.

http.client.CookieStore. By default the org.apache.http.impl.

client.BasicCookieStore is used which is an in-memory only cookie store. Notice if bridgeEndpoint=true then the cookie store is forced to be a noop cookie store as cookies shouldn't be stored as we are just bridging (eg acting as a proxy).

httpClientConfigurer

null

Reference to a org.apache.camel.component.

http.HttpClientConfigurer in the Registry.

clientConnectionManager

null

To use a custom org.apache.http.

conn.ClientConnectionManager .

httpBinding

null

To use a custom org.apache.camel.

component.http.HttpBinding.

httpContext

null

To use a custom org.apache.http.

protocol.HttpContext when executing requests.

sslContextParameters

null

To use a custom org.apache.camel.util.

jsse.SSLContextParameters. See Using the JSSE Configuration Utility. Important: Only one instance of org.apache.camel.util.

jsse.SSLContextParameters 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.

x509HostnameVerifier

BrowserCompatHost

nameVerifier

Camel 2.7You can refer to a different org.apache.http.conn.

ssl.X509HostnameVerifier

instance in the Registry such as org.apache.http.conn.

ssl.StrictHostnameVerifier

or org.apache.http.conn.ssl.

AllowAllHostnameVerifier.

connectionTimeToLive

-1

Camel 2.11.0: The time for connection to live, the time unit is millisecond, the default value is always keep alive.

authenticationPreemptive

false

Camel 2.11.3/2.12.2: If this option is true, camel-http4 sends preemptive basic authentication to the server.