activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ttmdev <joe.fernan...@ttmsolutions.com>
Subject Re: Failover- use multicast, then static
Date Fri, 08 Feb 2008 17:17:39 GMT

Well, in theory it should work because it appears to conform to the proper
syntax. That is, failover://(uri1,...,uriN)?TransportOptions

I gave it a quick try, and here are my results. Note that in your case, you
should have randomize set to false because you first want to connect via the
discovery agent.  

Neither one of these two worked. My client would connect to the one
discovery broker, but when that one failed the client never successfully
switched over to the localhost:61617 broker. 

failover://(discovery:multicast://default,tcp://localhost:61617)?randomize=false
failover://(discovery:(multicast://default),tcp://localhost:61617)?randomize=false

These two worked like a charm

failover://(tcp://localhost:61616,tcp://localhost:61617)?randomize=false
failover:discovery:(multicast://default)




patrickjamesbarry wrote:
> 
> Is it possible to use MultiCast for failover, but in the event that all
> those brokers become unavailable, you would use a static ip address? 
> failover://(discovery:multicast://default,tcp://test.you.com:61616)
> 


-----
Joe
www.ttmsolutions.com

-- 
View this message in context: http://www.nabble.com/Failover--use-multicast%2C-then-static-tp15358576s2354p15359817.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message