camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject [2/2] git commit: CAMEL-6762 Fixed the issue that HttpConnectionManagerParams doesn't take effect when it is set to HttpComponent
Date Tue, 17 Sep 2013 07:32:19 GMT
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 <ningjiang@apache.org>
Authored: Tue Sep 17 15:29:53 2013 +0800
Committer: Willem Jiang <ningjiang@apache.org>
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 {


Mime
View raw message