Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Name

Default Value

Description

throwExceptionOnFailure

true

Camel 2.0: Option to disable throwing the HttpOperationFailedException in case of failed responses from the remote server. This allows you to get all responses regardles of the HTTP status code.

bridgeEndpoint

false

Camel 2.1: 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 throwExcpetionOnFailure to be false to let the HttpProducer send all the fault response back.

httpBindingRef

null

Reference to a org.apache.camel.component.http.HttpBinding in the Registry. From Camel 2.3 onwards prefer to use the httpBinding option.

httpBinding

null

Camel 2.3: Reference to a org.apache.camel.component.http.HttpBinding in the Registry.

httpClientConfigurerRef

null

Reference to a org.apache.camel.component.http.HttpClientConfigurer in the Registry. From Camel 2.3 onwards prefer to use the httpClientConfigurer option.

httpClientConfigurer

null

Camel 2.3: Reference to a org.apache.camel.component.http.HttpClientConfigurer in the Registry.

httpClient.XXX

null

Setting options on the HttpClientParams. For instance httpClient.soTimeout=5000 will set the SO_TIMEOUT to 5 seconds.

clientConnectionManager

null

Camel 2.3: To use a custom org.apache.http.conn.ClientConnectionManager.

The following authentication options can also be set on the HttpEndpoint:

Camel 2.2 or older: Setting Authentication and Proxy

Name

Default Value

Description

username

null

Username for authentication.

password

null

Password for authentication.

domain

null

Camel 2.1: Domain for NTML Authentication. This option must be used to force NTML authentication.

proxyHost

null

Camel 1.6.2: The proxy host name

proxyPort

null

Camel 1.6.2: The proxy port number

proxyUsername

null

Camel 1.6.2: Username for proxy authentication

proxyPassword

null

Camel 1.6.2: Password for proxy authentication

Camel 2.3 or newer: HttpConfiguration - Setting Authentication and Proxy

Name

Default Value

Description

authMethod

null

Authentication method, either as Basic, Digest or NTML NTLM.

authMethodPriority

null

Priority of authentication methods. Is a list separated with comma. For example: Basic,Digest to exclude NTLM.

authUsername

null

Username for authentication

authPassword

null

Password for authentication

authDomain

null

Domain for NTML authentication

authHost

null

Optional host for NTML authentication

proxyHost

null

The proxy host name

proxyPort

null

The proxy port number

proxyAuthMethod

null

Authentication method for proxy, either as Basic, Digest or NTML NTLM.

proxyAuthUsername

null

Username for proxy authentication

proxyAuthPassword

null

Password for proxy authentication

proxyAuthDomain

null

Domain for proxy NTML authentication

proxyAuthHost

null

Optional host for proxy NTML authentication

...

Notice that in Camel 2.3 the options on org.apache.camel.component.http.HttpConfiguration is all provided as delegates on HttpComponent so you easily can configure proxy and authentication details. HttpConfiguration contains all the options listed in the table above under the section HttpConfiguration - Setting Authentication and Proxy.

Message Headers

Camel 1.x

...