camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <>
Subject [jira] [Commented] (CAMEL-7410) Http4 httpClient.XXXX parameters no longer recognized
Date Mon, 05 May 2014 12:00:20 GMT


Willem Jiang commented on CAMEL-7410:

camel-http4 is switched to use [HttpClientBuilder|]
and [RequestConfig.Builder|]
to setup the client. There are some changes on the httpClient setting just like:
cookPolicy --> cookieSpec,  soTimeout --> socketTimeout

I will update the wiki page for these changes.

> Http4 httpClient.XXXX parameters no longer recognized
> -----------------------------------------------------
>                 Key: CAMEL-7410
>                 URL:
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-http4
>    Affects Versions: 2.13.0
>            Reporter: Benjamin Habegger
>            Assignee: Willem Jiang
> When switching from version 2.12.3 to 2.13.0 a route using the http4 component in which
the httpClient.cookiePolicy and httpClient.soTimeout parameters were set inline won't start
generating the following error:
> Caused by: 
> org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: http4://localhost/?httpClient.cookiePolicy=ignoreCookies&httpClient.soTimeout=10000
due to: There are 2 parameters that couldn't be set on the endpoint. Check the uri if the
parameters are spelt correctly and that they are properties of the endpoint. Unknown parameters=[{cookiePolicy=ignoreCookies,
> This route worked as is in 2.12.3. No indication in the document shows how to set these
parameters otherwise.

This message was sent by Atlassian JIRA

View raw message