Hi,

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.

Regards,

Pieter
-- 
View this message in context: 
http://www.nabble.com/Weird-problem-with-network-of-brokers-tf3964843s2354.html#a11252769
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to