[ https://issues.apache.org/activemq/browse/CAMEL-1530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56561#action_56561 ]
Christian Mueller commented on CAMEL-1530: ------------------------------------------ @Claus, I updated the HttpComponents createEndpoint method to {code} Map<String, Object> httpClientProperties = IntrospectionSupport.extractProperties(parameters, "httpClient."); for (Iterator<Map.Entry<String, Object>> it = httpClientProperties.entrySet().iterator(); it.hasNext();) { Map.Entry<String, Object> entry = it.next(); String name = entry.getKey(); clientParams.setParameter(name, httpClientProperties.get(name)); } {code} so, all httpClient options, provided in the endpoint url, will be set as HttpClient patameter. I have to check whether or not it is a problem for int, long, ... parameters. My understanding how the HttpClient works is, that it takes the parameter he knows fro some configurations and ignore the unknown parameters. Regards, Christian > Upgrade camel-http to use httpclient 4.0 > ---------------------------------------- > > Key: CAMEL-1530 > URL: https://issues.apache.org/activemq/browse/CAMEL-1530 > Project: Apache Camel > Issue Type: Improvement > Components: camel-http > Affects Versions: 2.0-M1 > Reporter: Claus Ibsen > Assignee: Christian Mueller > Fix For: 2.2.0 > > > Upgrading httpclient from 3.1 to 4.0 requires changes in the camel-http code > as the API has change quite a lot. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.