activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bryan.Shaw" <br...@erry.com>
Subject How can I ensure every message is delivered to the consumer through a distributed queue
Date Tue, 08 Jul 2008 15:30:06 GMT

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.


Mime
View raw message