Hi,
I'm having the following scenario:
1. two brokers with active MQ 4.1.1: one broker was configured as Master,
and the other one Slave
2. one consumer
>From the main app there is no problem sending messages to the brokers. When
I shutdown the master, all the messages are in slave's queue as expected.
The problem is that the consumer has to be restarted each time I've changed
the broker:
1. 1st scenario:
- I start up the master broker;
- then the slave broker;
- I start up the consumer;
- send messages and observed that all the requests are trapped in the
queue; none is consumed by the listener;
- restart the listener, and all the messages start to be consumed;
- after that the listener works just fine, consuming all the requests
sent, without been required to restarted over again.
2. 2nd secenario:
- both master and slave brokers are started;
- shut down the master broker;
- send messages and observed that all the requests are trapped in the
queue; none is consumed by the listener;
- restart the listener, and all the messages start to be consumed;
- after that the listener works just fine, consuming all the requests
sent, without been required to restarted over again.
Thank you for any suggestion.
--
View this message in context: http://www.nabble.com/Problems-with-ActiveMQ4.1.1---Master-Slave-brokers-tf3828185s2354.html#a10836705
Sent from the ActiveMQ - User mailing list archive at Nabble.com.