[
https://issues.apache.org/jira/browse/CAMEL-7410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13989440#comment-13989440
]
Willem Jiang commented on CAMEL-7410:
-------------------------------------
camel-http4 is switched to use
[HttpClientBuilder|https://hc.apache.org/httpcomponents-client-4.3.x/httpclient/apidocs/org/apache/http/impl/client/HttpClientBuilder.html]
and
[RequestConfig.Builder|https://hc.apache.org/httpcomponents-client-4.3.x/httpclient/apidocs/org/apache/http/client/config/RequestConfig.Builder.html]
to setup the client. There are some changes on the httpClient setting just
like:
{code}
cookPolicy --> cookieSpec, soTimeout --> socketTimeout
{code}
I will update the wiki page for these changes.
> Http4 httpClient.XXXX parameters no longer recognized
> -----------------------------------------------------
>
> Key: CAMEL-7410
> URL: https://issues.apache.org/jira/browse/CAMEL-7410
> 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,
> soTimeout=10000}]
> 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
(v6.2#6252)