You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by 1gnition <or...@gmail.com> on 2014/02/09 16:56:35 UTC
Urgent - Broker version 5.8.0 doesn't work with multicast
Hello,
This is very urgent. I'd appreciate if you can help me quickly.
I have a configuration of two machines with a single broker on each one. The
brokers are connected in a network using multicast. This is the relevant
section of the activemq.xml:
I run a consumer on each of the two machines with this URL:
and I also run a producer on one of them with the same URL.
THE PROBLEM: Messages arrive only to the consumer that runs on the same
machine as the producer.
*It doens't happen when I use 5.9.0 brokers with the exact same
configuration*
Why does it happen only on 5.8.0? We cannot upgrade to 5.9.0 currently, so
I'd like to know how to make it work on 5.8.0
Thanks!
--
View this message in context: http://activemq.2283324.n4.nabble.com/Urgent-Broker-version-5-8-0-doesn-t-work-with-multicast-tp4677664.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Urgent - Broker version 5.8.0 doesn't work with multicast
Posted by artnaseef <ar...@artnaseef.com>.
Also make sure bridges are setup in both directions.
Sent from my iPhone
> On Feb 9, 2014, at 8:56 AM, "1gnition [via ActiveMQ]" <ml...@n4.nabble.com> wrote:
>
> Hello,
>
> This is very urgent. I'd appreciate if you can help me quickly.
>
> I have a configuration of two machines with a single broker on each one. The brokers are connected in a network using multicast. This is the relevant section of the activemq.xml:
> <networkConnectors>
> <networkConnector name="default" uri="multicast://239.0.0.0"/>
> </networkConnectors>
> <transportConnectors>
> <transportConnector name="openwire" uri="tcp://0.0.0.0:61616" discoveryUri="multicast://239.0.0.0">
> <publishedAddressPolicy>
> <publishedAddressPolicy publishedHostStrategy="IPADDRESS"/>
> </publishedAddressPolicy>
> </transportConnector>
> </transportConnectors>
>
> I run a consumer on each of the two machines with this URL:
> "failover:(tcp://localhost:61616,discovery:(multicast://239.0.0.0))?randomize=false"
>
> and I also run a producer on one of them with the same URL.
>
> THE PROBLEM: Messages arrive only to the consumer that runs on the same machine as the producer.
>
> It doens't happen when I use 5.9.0 brokers with the exact same configuration
>
> Why does it happen only on 5.8.0? We cannot upgrade to 5.9.0 currently, so I'd like to know how to make it work on 5.8.0
>
> Thanks!
>
>
> If you reply to this email, your message will be added to the discussion below:
> http://activemq.2283324.n4.nabble.com/Urgent-Broker-version-5-8-0-doesn-t-work-with-multicast-tp4677664.html
> To start a new topic under ActiveMQ - User, email ml-node+s2283324n2341805h3@n4.nabble.com
> To unsubscribe from ActiveMQ - User, click here.
> NAML
--
View this message in context: http://activemq.2283324.n4.nabble.com/Urgent-Broker-version-5-8-0-doesn-t-work-with-multicast-tp4677664p4677666.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Urgent - Broker version 5.8.0 doesn't work with multicast
Posted by artnaseef <ar...@artnaseef.com>.
Check the bridges using the webconsole and jmx. It sounds like they are just not there.
Perhaps turning up logging on the networking code will help to.
org.apache.activemq.network=DEBUG
That's from memory, so it may need checking.
Sent from my iPhone
> On Feb 9, 2014, at 8:56 AM, "1gnition [via ActiveMQ]" <ml...@n4.nabble.com> wrote:
>
> Hello,
>
> This is very urgent. I'd appreciate if you can help me quickly.
>
> I have a configuration of two machines with a single broker on each one. The brokers are connected in a network using multicast. This is the relevant section of the activemq.xml:
> <networkConnectors>
> <networkConnector name="default" uri="multicast://239.0.0.0"/>
> </networkConnectors>
> <transportConnectors>
> <transportConnector name="openwire" uri="tcp://0.0.0.0:61616" discoveryUri="multicast://239.0.0.0">
> <publishedAddressPolicy>
> <publishedAddressPolicy publishedHostStrategy="IPADDRESS"/>
> </publishedAddressPolicy>
> </transportConnector>
> </transportConnectors>
>
> I run a consumer on each of the two machines with this URL:
> "failover:(tcp://localhost:61616,discovery:(multicast://239.0.0.0))?randomize=false"
>
> and I also run a producer on one of them with the same URL.
>
> THE PROBLEM: Messages arrive only to the consumer that runs on the same machine as the producer.
>
> It doens't happen when I use 5.9.0 brokers with the exact same configuration
>
> Why does it happen only on 5.8.0? We cannot upgrade to 5.9.0 currently, so I'd like to know how to make it work on 5.8.0
>
> Thanks!
>
>
> If you reply to this email, your message will be added to the discussion below:
> http://activemq.2283324.n4.nabble.com/Urgent-Broker-version-5-8-0-doesn-t-work-with-multicast-tp4677664.html
> To start a new topic under ActiveMQ - User, email ml-node+s2283324n2341805h3@n4.nabble.com
> To unsubscribe from ActiveMQ - User, click here.
> NAML
--
View this message in context: http://activemq.2283324.n4.nabble.com/Urgent-Broker-version-5-8-0-doesn-t-work-with-multicast-tp4677664p4677665.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.