You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2015/01/12 13:47:25 UTC

[3/4] camel git commit: CAMEL-8222: Jetty component setting responseHeaderSize is impossible. Thanks to Zoltan Farkas for reporting and with the solution.

CAMEL-8222: Jetty component setting responseHeaderSize is impossible. Thanks to Zoltan Farkas for reporting and with the solution.


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

Branch: refs/heads/camel-2.14.x
Commit: a9558a857d2bf15999cc644ec5721e83528b2925
Parents: 9fae35f
Author: Claus Ibsen <da...@apache.org>
Authored: Mon Jan 12 13:46:54 2015 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Mon Jan 12 13:46:54 2015 +0100

----------------------------------------------------------------------
 .../org/apache/camel/component/jetty/JettyHttpComponent.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/a9558a85/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/JettyHttpComponent.java
----------------------------------------------------------------------
diff --git a/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/JettyHttpComponent.java b/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/JettyHttpComponent.java
index f2a10ce..86c2ee2 100644
--- a/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/JettyHttpComponent.java
+++ b/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/JettyHttpComponent.java
@@ -688,7 +688,7 @@ public class JettyHttpComponent extends HttpComponent implements RestConsumerFac
             answer.setResponseBufferSize(responseBufferSize);
         }
         if (responseHeaderSize != null) {
-            answer.setResponseBufferSize(responseHeaderSize);
+            answer.setResponseHeaderSize(responseHeaderSize);
         }
         return answer;
     }
@@ -701,7 +701,7 @@ public class JettyHttpComponent extends HttpComponent implements RestConsumerFac
      * Creates a new {@link HttpClient} and configures its proxy/thread pool and SSL based on this
      * component settings.
      *
-     * @Param endpoint   the instance of JettyHttpEndpoint
+     * @param endpoint   the instance of JettyHttpEndpoint
      * @param minThreads optional minimum number of threads in client thread pool
      * @param maxThreads optional maximum number of threads in client thread pool
      * @param ssl        option SSL parameters