Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-16129

Avoid property binding via reflection in NettyConfiguration

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.7.1
    • 3.7.2, 3.8.0
    • camel-netty
    • None
    • Unknown

    Description

      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

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            jamesnetherton James Netherton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: