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

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

     [ https://issues.apache.org/jira/browse/CAMEL-16129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen reassigned CAMEL-16129:
-----------------------------------

    Assignee: Claus Ibsen

> 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
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.7.2, 3.8.0
>
>
> 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)