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
         Environment: Multi-homed hosts.  
            Reporter: Andy Bentley


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.

Reply via email to