[ https://issues.apache.org/activemq/browse/CAMEL-1564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57001#action_57001 ]
Claus Ibsen commented on CAMEL-1564: ------------------------------------ [18:19] <cibsen> jgenender do you know if its possible to set a filter on the Ethernet Network Interface, eg to listen on eth0 only ? [18:19] <cibsen> https://issues.apache.org/activemq/browse/CAMEL-1564 [18:19] <jgenender> cibsen: looking [18:20] <jgenender> cibsen: Mmmm...no... not via the interface, but you can do it via the IP [18:20] <jgenender> cibsen: So associate an IP address to a specific interface and it will work that way > Add an option to specify Ethernet network Interface to listen on for UDP > (Unicast & Multicast) and TCP. > --------------------------------------------------------------------------------------------------------- > > Key: CAMEL-1564 > URL: https://issues.apache.org/activemq/browse/CAMEL-1564 > Project: Apache Camel > Issue Type: New Feature > Components: camel-mina > Affects Versions: 2.0-M1, 1.6.1 > Environment: Multi-homed hosts. > Reporter: Andy Bentley > Fix For: 2.3.0 > > Original Estimate: 2 days > Remaining Estimate: 2 days > > If you specify to listen thus : > from("mina:udp://1.2.3.4:" + inPort + "?sync=false").process(new > myProcessor()).to("mina:udp://4.3.2.1:"+outPort"?sync=false"); > mina assumes "eth0" for both from and to addresses. > This is keeping us from using Camel for a critical pieces of our architecture > ; Filters & adapters. :-( > Suggest that a new option be created for Camel Mina with a name like "nic" or > "NetworkInterface" with a default value of "eth0". > This value will have to be passed into and added to the MinaConfiguration, > MinaEndpoint, MinaComponent.createDatagramEndpoint(), > MinaComponent.createSocketEndpoint(), -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.