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)

Reply via email to