I have encoutered problem in a distributed environment with a network of two
brokers.
The ActiveMQ version is 5.1
The ActiveMQ is supposed to use store and forward network which ensure every
message is delivered.
But the real situation is I found message loss on one distributed queue.
Senerio is like this:

Queue name: TestQ
Producer is on broker A and consumer is on broker B. Broker A and B is
connected via TCP network connector.
When producer send a bunch of messages, say 10000 messages.
The consumer can receive messages with no problem.
During this process, the network connection between two brokers down for
several seconds and then brought up again.
Now we found broker B loose some message in this queue. These message are
not in broker A's queue either.
Seems the broker A is too eager to remove message from the queue at broker A
before the broker B has actually received those messages and cause the
message loss.

This kind of situation is not accaptable in our business solution.
Can any one tell me this is a bug or is a configuration issue? How to solve
this problem?

-- 
View this message in context: 
http://www.nabble.com/How-can-I-ensure-every-message-is-delivered-to-the-consumer-through-a-distributed-queue-tp18341982p18341982.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to