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

Netty4 component allows multiple consumers to bind to the same {host}:{port}

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.16.1, 2.15.5, 2.17.0
    • Component/s: camel-netty4
    • Labels:
      None
    • Environment:

      Verified and confirm same behavior on OSX and Windows

    • Patch Info:
      Patch Available
    • Estimated Complexity:
      Unknown

      Description

      I have a netty4 tcp consumer on the from route i am able to start multiple instances of this route and there is no "address already in use/ bind exception " being raised by camel, changing the "reuseAddress" to "false" doesnt seem to make a difference.

      Sample config
      <from uri="netty4:tcp://0.0.0.0:3010?sync=false&textline=true&reuseAddress=false"/>
      <to uri="log://org.dx.com?level=DEBUG"/>

        Attachments

        1. camel.patch-9276
          1.0 kB
          Darshan Sundaresh

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              dsundaresh Darshan Sundaresh
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: