You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Darshan Sundaresh (JIRA)" <ji...@apache.org> on 2015/11/05 07:56:27 UTC

[jira] [Updated] (CAMEL-9276) Netty4 component allows multiple consumers to bind to the same {host}:{port}

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

Darshan Sundaresh updated CAMEL-9276:
-------------------------------------
    Attachment: camel.patch-9276

Fix for issue 9276. Changed awaitUninterruptibly() to syncUninterruptibly() as the former discards the exceptions.

> Netty4 component allows multiple consumers to bind to the same {host}:{port}
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-9276
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9276
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-netty4
>         Environment: Verified and confirm same behavior on OSX and Windows
>            Reporter: Darshan Sundaresh
>         Attachments: camel.patch-9276
>
>
> 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&amp;textline=true&amp;reuseAddress=false"/>
> <to uri="log://org.dx.com?level=DEBUG"/>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)