You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Franz Garsombke <fg...@yahoo.com> on 2007/05/04 22:38:54 UTC

Master/Slave Configuration With Non-Persistence - 2 Brokers Starting Problem

I have a situation where we want to have a non-persistent topic and run a
master/slave configuration with our brokers. The problem is that if we
define the broker as non-persistent a broker is started on each server in
our cluster. Without defining something like the jdbcPersistenceAdapter we
lose the ability to have a true master/slave relationship where one broker
is waiting to gain an exclusive lock on a database table...so they both
startup.

Is there any way to define a jdbcPersistenceAdapter (to get a true
master/slave relationship) but make our topic non-persistent?

Thanks in advance.

Franz Garsombke
-- 
View this message in context: http://www.nabble.com/Master-Slave-Configuration-With-Non-Persistence---2-Brokers-Starting-Problem-tf3694127s2354.html#a10329967
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Master/Slave Configuration With Non-Persistence - 2 Brokers Starting Problem

Posted by "James.Strachan" <ja...@gmail.com>.


Franz Garsombke wrote:
> 
> I have a situation where we want to have a non-persistent topic and run a
> master/slave configuration with our brokers. The problem is that if we
> define the broker as non-persistent a broker is started on each server in
> our cluster. Without defining something like the jdbcPersistenceAdapter we
> lose the ability to have a true master/slave relationship where one broker
> is waiting to gain an exclusive lock on a database table...so they both
> startup.
> 
> Is there any way to define a jdbcPersistenceAdapter (to get a true
> master/slave relationship) but make our topic non-persistent?
> 
> Thanks in advance.
> 
> Franz Garsombke
> 

If you are using non-persistent messaging and you are using topics; why do
you want to use master/slave? Why not just run 2 brokers in a network? Could
you maybe explain a bit more about what you are really trying to achieve?

-- 
James
-------
http://macstrac.blogspot.com/

-- 
View this message in context: http://www.nabble.com/Master-Slave-Configuration-With-Non-Persistence---2-Brokers-Starting-Problem-tf3694127s2354.html#a10733990
Sent from the ActiveMQ - User mailing list archive at Nabble.com.