You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "James Netherton (Jira)" <ji...@apache.org> on 2021/02/02 15:02:00 UTC

[jira] [Created] (CAMEL-16129) Avoid property binding via reflection in NettyConfiguration

James Netherton created CAMEL-16129:
---------------------------------------

             Summary: Avoid property binding via reflection in NettyConfiguration 
                 Key: CAMEL-16129
                 URL: https://issues.apache.org/jira/browse/CAMEL-16129
             Project: Camel
          Issue Type: Improvement
          Components: camel-netty
    Affects Versions: 3.7.1
            Reporter: James Netherton


Not too sure about the logic in NettyConfiguration.parseURI but it invokes PropertyBindingSupport.bindProperties. Depending on the combination of URI options it can lead to some of the NettyConfiguration setters being invoked via reflection.

E.g I was testing this URI in camel-quarkus. Both sync & allowDefaultCodec are being set through reflection.

netty:udp://localhost:8081?sync=false&allowDefaultCodec=false




--
This message was sent by Atlassian Jira
(v8.3.4#803005)