Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 62352 invoked from network); 23 Feb 2010 06:35:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Feb 2010 06:35:02 -0000 Received: (qmail 31258 invoked by uid 500); 23 Feb 2010 06:35:02 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 31091 invoked by uid 500); 23 Feb 2010 06:35:01 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 30891 invoked by uid 500); 23 Feb 2010 06:35:01 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 30882 invoked by uid 99); 23 Feb 2010 06:35:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Feb 2010 06:35:01 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Feb 2010 06:35:00 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6215B234C1EE for ; Mon, 22 Feb 2010 22:34:40 -0800 (PST) Message-ID: <1721210866.8491266906880397.JavaMail.jira@brutus.apache.org> Date: Tue, 23 Feb 2010 06:34:40 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Commented: (CAMEL-1530) Upgrade camel-http to use httpclient 4.0 In-Reply-To: <1786230527.1239714211813.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c [ https://issues.apache.org/activemq/browse/CAMEL-1530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57785#action_57785 ] Claus Ibsen commented on CAMEL-1530: ------------------------------------ @Christian The {{//tests}} have not been patched. I frankly deleted the http related tests as they where configuring HTTP Client from Spring XML. This is easy to do in 3.1 but *hard* to do in 4.0.1. For example changing the default max 2 connections per connection to eg 5 requires a lot more work according to http://hc.apache.org/httpcomponents-client/tutorial/html/connmgmt.html#d4e558 @Oleg I wonder why you must provide a SchemeRegistry to the ThreadSafeClientConnectionManager etc.? Is it not possible to let it default create its own registry using http port 80 and https at 443.? I see a convention over configuration win there? http://hc.apache.org/httpcomponents-client/tutorial/html/connmgmt.html#d4e558 Maybe I missed something but I only used 10 min to browse the docu and all the examples I saw was pure Java configured examples. > 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-gae_20100211.patch, camel-http.zip, camel-http_20100211.patch, camel-jetty.zip, camel-jetty_20100211.patch, camel-servlet_20100211.patch, localhost.ks > > Time Spent: 4 weeks > Remaining Estimate: 0 minutes > > 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.