activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: FailoverTransport rebinding to master
Date Tue, 21 Dec 2010 09:44:16 GMT
Hi Ken,

we don't have this feature at the moment. You can raise a feature
request in Jira (and take a stab at implementing it).

Cheers
--
Dejan Bosanac
-----------------
FuseSource - The experts in open source integration and messaging.
Email: dejanb@fusesource.com
Web: http://fusesource.com
Twitter:  http://twitter.com/dejanb
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net



On Mon, Dec 20, 2010 at 7:00 PM, ken.mccracken <ken.mccracken@gmail.com> wrote:
>
> Hi,
>
> I'm using the FailoverTransport via the following config:
> failover:(tcp://primary:61616,tcp://secondary:61616)?randomize=false
>
> My question is, if I bring up two ActiveMQ servers at primary and secondary,
> and they are both up, messages will be produced to the primary.  When the
> primary goes down, messages will be send to the secondary.  When the primary
> comes back online, messages continue to be sent to the secondary.  Is there
> a way to make it "rebind" to the primary, or check if primary is again
> available every 5 minutes or so?
>
> The reason is that I want to use my ActiveMQ cluster in an active-active
> setup with multiple hosts distributed to multiple ActiveMQs.  When one
> ActiveMQ goes down, traffic should switch to the other; when that ActiveMQ
> is brought back online, traffic should again re-distribute.
>
> Should I use a different Transport?  Do I need to write my own to have this
> behavior?
>
> Thanks!
> -Ken McCracken
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/FailoverTransport-rebinding-to-master-tp3095911p3095911.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Mime
View raw message