davsclaus commented on code in PR #11165: URL: https://github.com/apache/camel/pull/11165#discussion_r1300501076
########## components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/NettyHttpProducer.java: ########## @@ -51,6 +53,10 @@ public NettyHttpProducer(NettyHttpEndpoint nettyEndpoint, NettyConfiguration con @Override protected void doInit() throws Exception { + if (isProxyProtocol()) { Review Comment: I wonder if this can this be checked in createProducer instead? Also we do not log and throw exception, only throw exception -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org