activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From PieterN <>
Subject Weird problem with network of brokers
Date Fri, 22 Jun 2007 13:56:12 GMT


I've encountered a weird problem with a network of brokers setup. I have two
activemq servers, local and remote. Each connect to eachother with a static
networkConnector configurator. I have a consumer connecting to one of the
servers, with a durable subscription on a topic. Everything works as
expected: the consumer receives messages sent to either server, no matter to
which server is connected.

The problem comes when i kill one server, say the server 'remote'. The
consumer can continue on the server 'local' without any problems. Messages
sent to 'local' are received. When I start 'remote' again, the problem
faces: if I connect the consumer to 'remote', I keep receiving the messages
over and over again, even though I ACK each message. The only way to stop
this, is to kill both servers, and remove their data directories (both
brokers have the persistent flag set). All messages are also persistent.

Am I doing something wrong? I searched JIRA, but couldn't find any related
issues. Is this a bug? This way 
the network of brokers feature is not very useful, I want to restart
crashed/killed brokers without needing to stop the other brokers first.


View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message