activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher G. Stach II" <...@ldsys.net>
Subject Re: broker/discovery client help
Date Tue, 23 May 2006 02:35:38 GMT
Paul Tomsic wrote:
> thanks for the information.
> i think i'm confused, though, as to how
> consumers/producers would specify a specific cluster
> and a machine?  
> 
> so say i've got consumers/producers in china that need
> to connect to a cluster running in chicago named
> "foo".
> I've also got another cluster of brokers in chicago
> running as "bar"
> 
> how would the consumers/producers specify which
> cluster to connect to?
> 
> would my consumers connect as 
> 
> "discovery:multicast://chicago.mycompany.com/foo"
> 
> -and-
> 
> "discovery:multicast://chicago.mycompany.com/bar"
> 
> ??
> 
> thanks again for the help..
> 
> paul
> 

They subscribe to the same multicast group, your multicast routers would
forward the packets, and as long as the TTLs are high enough, they would
reach the other side.

http://www.google.com/search?hl=en&q=ip+multicast+routing

Since you said you have two "clusters", maybe you should just set up
unicast TCP connectors and use those.  Unless you have a bunch of
machines in each group, or they're very dynamic and changing, maybe
discovery isn't even the ideal setup.

-- 
Christopher G. Stach II

Mime
View raw message