Multicast discovery does not work properly on multihomed Windows 2003
---------------------------------------------------------------------

                 Key: AMQ-2381
                 URL: https://issues.apache.org/activemq/browse/AMQ-2381
             Project: ActiveMQ
          Issue Type: Improvement
          Components: Connector
    Affects Versions: 5.2.0
            Reporter: Igor Katkov
             Fix For: 5.4.0
         Attachments: patchfile.txt

Multicast discovery does not work properly on multihomed Windows 2003
Packets are sent to unpredictable network interface that results in brokers 
loosing connection with each other.
It would be nice to be able to specify network interface for multicast socket 
right in the discovery URI.

So transport connection definition turns from 
{code}
        <transportConnectors>
            <transportConnector name="openwire" uri="tcp://0.0.0.0:61617" 
discoveryUri="multicast://224.0.0.1"/>
       </transportConnectors>
{code}
to
{code}
        <transportConnectors>
            <transportConnector name="openwire" uri="tcp://0.0.0.0:61617" 
discoveryUri="multicast://224.0.0.1?networkInterface=eth0"/>
       </transportConnectors>
{code}


I added support for interface/networkInterface for multicast on multihomed 
hosts. See attached patch

-- 
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