You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by themitchy <mi...@sophos.com> on 2009/09/05 01:43:05 UTC

can't get simple Network of Brokers to work

I've followed the example in
http://activemq.apache.org/networks-of-brokers.html for multicast discovery. 
I have two brokers set up that way (let's call them A and B).  I'm sending
messages to /queue/foo on broker A.  I have something subscribing to
/queue/foo on broker B but it doesn't get the messages forwarded from A.

Am I oversimplifying this?  The online docs give next to no information on
this but the example mentioned above seemed pretty straightforward.  What am
I missing?
-- 
View this message in context: http://www.nabble.com/can%27t-get-simple-Network-of-Brokers-to-work-tp25303503p25303503.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: can't get simple Network of Brokers to work

Posted by Rob Davies <ra...@gmail.com>.
On 5 Sep 2009, at 00:43, themitchy wrote:

>
> I've followed the example in
> http://activemq.apache.org/networks-of-brokers.html for multicast  
> discovery.
> I have two brokers set up that way (let's call them A and B).  I'm  
> sending
> messages to /queue/foo on broker A.  I have something subscribing to
> /queue/foo on broker B but it doesn't get the messages forwarded  
> from A.
>
> Am I oversimplifying this?  The online docs give next to no  
> information on
> this but the example mentioned above seemed pretty straightforward.   
> What am
> I missing?
> -- 
> View this message in context: http://www.nabble.com/can%27t-get-simple-Network-of-Brokers-to-work-tp25303503p25303503.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>


Can you post your the config for your brokers ?

cheers,

Rob Davies
I work here: http://fusesource.com
My Blog: http://rajdavies.blogspot.com/
I'm writing this: http://www.manning.com/snyder/





Re: can't get simple Network of Brokers to work

Posted by Mitch Granger <mi...@sophos.com>.
Thanks!  I'm all sorted out now.  The real issue turned out to be that 
the OpenVZ images I was working off of couldn't multicast.  Having 
working configs for a static list of brokers did help me identify that 
though.

Thanks again!

Bruce Snyder wrote:
> On Fri, Sep 4, 2009 at 5:43 PM, themitchy<mi...@sophos.com> wrote:
>> I've followed the example in
>> http://activemq.apache.org/networks-of-brokers.html for multicast discovery.
>> I have two brokers set up that way (let's call them A and B).  I'm sending
>> messages to /queue/foo on broker A.  I have something subscribing to
>> /queue/foo on broker B but it doesn't get the messages forwarded from A.
>>
>> Am I oversimplifying this?  The online docs give next to no information on
>> this but the example mentioned above seemed pretty straightforward.  What am
>> I missing?
> 
> It would help if you provided your configuration. Also what version of
> ActiveMQ are you using?
> 
> Attached are two configurations for two brokers that form a network
> between the two brokers. Using these two configs, you can produce
> messages to one broker and consume messages from the other broker. I'm
> CC'ing you directly to make sure you get the attachments. These
> configurations will work with ActiveMQ 5.x.
> 
> Bruce
> --
> perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
> 
> ActiveMQ in Action: http://bit.ly/2je6cQ
> Blog: http://bruceblog.org/
> Twitter: http://twitter.com/brucesnyder
> 

Re: can't get simple Network of Brokers to work

Posted by Bruce Snyder <br...@gmail.com>.
On Fri, Sep 4, 2009 at 5:43 PM, themitchy<mi...@sophos.com> wrote:
>
> I've followed the example in
> http://activemq.apache.org/networks-of-brokers.html for multicast discovery.
> I have two brokers set up that way (let's call them A and B).  I'm sending
> messages to /queue/foo on broker A.  I have something subscribing to
> /queue/foo on broker B but it doesn't get the messages forwarded from A.
>
> Am I oversimplifying this?  The online docs give next to no information on
> this but the example mentioned above seemed pretty straightforward.  What am
> I missing?

It would help if you provided your configuration. Also what version of
ActiveMQ are you using?

Attached are two configurations for two brokers that form a network
between the two brokers. Using these two configs, you can produce
messages to one broker and consume messages from the other broker. I'm
CC'ing you directly to make sure you get the attachments. These
configurations will work with ActiveMQ 5.x.

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

ActiveMQ in Action: http://bit.ly/2je6cQ
Blog: http://bruceblog.org/
Twitter: http://twitter.com/brucesnyder