camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [1/2] git commit: CAMEL-6605: Fixed using custom HttpClientConfigurer
Date Mon, 26 Aug 2013 15:14:27 GMT
Updated Branches:
  refs/heads/camel-2.11.x 3e7978d1d -> a22ffb88f
  refs/heads/master 8434a5187 -> 9737301ba


CAMEL-6605: Fixed using custom HttpClientConfigurer


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/a22ffb88
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/a22ffb88
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/a22ffb88

Branch: refs/heads/camel-2.11.x
Commit: a22ffb88f852ab12e3c611c2a18b2d6c7530f032
Parents: 3e7978d
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Mon Aug 26 17:13:08 2013 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Mon Aug 26 17:13:25 2013 +0200

----------------------------------------------------------------------
 .../org/apache/camel/component/http4/HttpComponent.java     | 9 ---------
 1 file changed, 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/a22ffb88/components/camel-http4/src/main/java/org/apache/camel/component/http4/HttpComponent.java
----------------------------------------------------------------------
diff --git a/components/camel-http4/src/main/java/org/apache/camel/component/http4/HttpComponent.java
b/components/camel-http4/src/main/java/org/apache/camel/component/http4/HttpComponent.java
index 36b7aee..de82932 100644
--- a/components/camel-http4/src/main/java/org/apache/camel/component/http4/HttpComponent.java
+++ b/components/camel-http4/src/main/java/org/apache/camel/component/http4/HttpComponent.java
@@ -182,12 +182,6 @@ public class HttpComponent extends HeaderFilterStrategyComponent {
             httpBinding = resolveAndRemoveReferenceParameter(parameters, "httpBinding", HttpBinding.class);
         }
 
-        // TODO cmueller: remove the "httpClientConfigurerRef" look up in Camel 3.0
-        HttpClientConfigurer httpClientConfigurer = resolveAndRemoveReferenceParameter(parameters,
"httpClientConfigurerRef", HttpClientConfigurer.class);
-        if (httpClientConfigurer == null) {
-            httpClientConfigurer = resolveAndRemoveReferenceParameter(parameters, "httpClientConfigurer",
HttpClientConfigurer.class);
-        }
-
         // TODO cmueller: remove the "httpContextRef" look up in Camel 3.0
         HttpContext httpContext = resolveAndRemoveReferenceParameter(parameters, "httpContextRef",
HttpContext.class);
         if (httpContext == null) {
@@ -273,9 +267,6 @@ public class HttpComponent extends HeaderFilterStrategyComponent {
         if (httpBinding != null) {
             endpoint.setHttpBinding(httpBinding);
         }
-        if (httpClientConfigurer != null) {
-            endpoint.setHttpClientConfigurer(httpClientConfigurer);
-        }
         if (httpMethodRestrict != null) {
             endpoint.setHttpMethodRestrict(httpMethodRestrict);
         }


Mime
View raw message