Return-Path: X-Original-To: apmail-camel-commits-archive@www.apache.org Delivered-To: apmail-camel-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C614F100F4 for ; Tue, 17 Sep 2013 07:32:22 +0000 (UTC) Received: (qmail 29089 invoked by uid 500); 17 Sep 2013 07:32:22 -0000 Delivered-To: apmail-camel-commits-archive@camel.apache.org Received: (qmail 28954 invoked by uid 500); 17 Sep 2013 07:32:21 -0000 Mailing-List: contact commits-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 commits@camel.apache.org Received: (qmail 28930 invoked by uid 99); 17 Sep 2013 07:32:19 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Sep 2013 07:32:19 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id E13879067A0; Tue, 17 Sep 2013 07:32:18 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ningjiang@apache.org To: commits@camel.apache.org Date: Tue, 17 Sep 2013 07:32:19 -0000 Message-Id: In-Reply-To: <5cadda8910024e16bf52bb5dbc878025@git.apache.org> References: <5cadda8910024e16bf52bb5dbc878025@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [2/2] git commit: CAMEL-6762 Fixed the issue that HttpConnectionManagerParams doesn't take effect when it is set to HttpComponent CAMEL-6762 Fixed the issue that HttpConnectionManagerParams doesn't take effect when it is set to HttpComponent Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/f8c6a744 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/f8c6a744 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/f8c6a744 Branch: refs/heads/camel-2.12.x Commit: f8c6a7441cf522cb0117d97d8a30fff6b1a32d42 Parents: 16230cb Author: Willem Jiang Authored: Tue Sep 17 15:29:53 2013 +0800 Committer: Willem Jiang Committed: Tue Sep 17 15:31:23 2013 +0800 ---------------------------------------------------------------------- .../main/java/org/apache/camel/component/http/HttpComponent.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/f8c6a744/components/camel-http/src/main/java/org/apache/camel/component/http/HttpComponent.java ---------------------------------------------------------------------- diff --git a/components/camel-http/src/main/java/org/apache/camel/component/http/HttpComponent.java b/components/camel-http/src/main/java/org/apache/camel/component/http/HttpComponent.java index 1f2657c..1a86276 100644 --- a/components/camel-http/src/main/java/org/apache/camel/component/http/HttpComponent.java +++ b/components/camel-http/src/main/java/org/apache/camel/component/http/HttpComponent.java @@ -237,11 +237,9 @@ public class HttpComponent extends HeaderFilterStrategyComponent { HttpClientConfigurer configurer = createHttpClientConfigurer(parameters, authMethods); URI endpointUri = URISupport.createRemainingURI(new URI(addressUri), httpClientParameters); - // create the endpoint + // create the endpoint and connectionManagerParams already be set HttpEndpoint endpoint = new HttpEndpoint(endpointUri.toString(), this, clientParams, thisHttpConnectionManager, configurer); - endpoint.getHttpConnectionManager().setParams(connectionManagerParams); - if (headerFilterStrategy != null) { endpoint.setHeaderFilterStrategy(headerFilterStrategy); } else {