[ https://issues.apache.org/activemq/browse/CAMEL-1530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Mueller updated CAMEL-1530: ------------------------------------- Attachment: camel-jetty_20100211.patch camel-http_20100211.patch localhost.ks Claus, I finished the upgrade to httpClient 4.0.1. It was a bigger step than I thought. Because camel-jetty, camel-servlet and camel-gae also use camel-http and some classes from the old httpClient, I must also patch this components. I split the patch into patches for the individual components, because I think it's easier for you to show what I have changed. The keystore 'keystore.ks' (borrowed from camel-jetty) must be copied into the folder 'components/camel-http/src/test/resources'. May be we have to discuss one topic: In org.apache.camel.component.http.HttpComponent.configureHttpParams() I use some *Bean classes, provided from the new httpClient library to configure the org.apache.http.params.HttpParams (as we discussed before). But not for all org.apache.http.params.HttpParams parameter, a *Bean class is provided to set the params. Should we do provide a *Bean class for this parameter (-1) or should we document this in the wiki (+1)? Because the user can provide a org.apache.camel.component.http.HttpClientConfigurer, he can do some advanced configuration in this way. If you agree with the patch, I will update the wiki page in the next week. 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.3.0 > > Attachments: camel-http-new-tests.patch, camel-http-test.patch, > camel-http.patch, camel-http_20100211.patch, camel-jetty_20100211.patch, > client.jks, localhost.ks, server.jks > > > 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.