You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/12/06 15:02:35 UTC

[camel] 02/02: CAMEL-14263: camel-netty-http should use source code generated configurer to avoid reflection configuration.

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit dd98819b15ce5e3356a410301f2afa8fbe50be5b
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Dec 6 16:01:43 2019 +0100

    CAMEL-14263: camel-netty-http should use source code generated configurer to avoid reflection configuration.
---
 .../java/org/apache/camel/component/netty/http/NettyHttpComponent.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git a/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/NettyHttpComponent.java b/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/NettyHttpComponent.java
index ca911bd..a7289e3 100644
--- a/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/NettyHttpComponent.java
+++ b/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/NettyHttpComponent.java
@@ -168,6 +168,7 @@ public class NettyHttpComponent extends NettyComponent implements HeaderFilterSt
         String addressUri = URISupport.createRemainingURI(u, parameters).toString();
 
         NettyHttpEndpoint answer = new NettyHttpEndpoint(addressUri, this, config);
+        setProperties(answer, parameters);
 
         // must use a copy of the binding on the endpoint to avoid sharing same
         // instance that can cause side-effects