activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jason9595 <wangjaso...@aol.com>
Subject Store and forward problem - msgs stuck on one broker
Date Mon, 16 Jul 2007 20:08:40 GMT

Hi,

Configured two brokers with static uri in <networkConnector>
Two consumers (using the example code) connected directly to each broker
(not using failover://).
One producer (from Mule platform) sending messages to broker 1.
Scenario:
1. Everything working - both consumers receives messages from producer. The
msg received was not balanced - one consumer occasionally receives more msg
than the other.
2. Shutdown consumer 2 (connected to broker 2) (control-c). Consumer 1
continues to receives msg.
3. Bring back consumer 2. Both consumers continue to receive msg as
expected.
4. Shutdown consumer 1 (connected to broker 1). Consumer 2 receives some but
not all of the msgs. In some cases, it stopped receiving msgs.
5. Bring back consumer 1. Consumer 1 receives whole bunch of msgs all at
once.

I'm using version 4.1.1 on windows XP SP2. All processes ran from console
window.
The same pattern can be observed with Master/Slave using shared journal
file.
Can anyone help?
Thanks.
-- 
View this message in context: http://www.nabble.com/Store-and-forward-problem---msgs-stuck-on-one-broker-tf4090863s2354.html#a11630023
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message