activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oseymen <>
Subject Re: Message loss in network of brokers - transactional send
Date Thu, 16 Jun 2011 12:45:30 GMT
Here is some more info:

I enabled debug logging and can see where the problem is (however I still
don't know what the solution is).

I ran my test again and send 5000 messages to one broker which is configured
to store-and-forward the message to broker2. Two brokers are connected via
network of brokers.

After killing brokers randomly, I ended up 4997 messages in broker2. I wrote
a consumer that will consume all messages from broker2 and create a
spreadsheet with all properties. Using this spreadsheet I can pinpoint which
messages have failed using sequential ids. One of the messages that has
failed is #3751.

Looking at the debug log I can see:

(line 976) bridging (broker1 -> broker2) messageId =
(line 979) bridging (broker1 -> broker2) messageId =
(line 983) bridging (broker1 -> broker2) messageId =

Then broker1 is killed.
When it comes back, it says:
(line 1311) last stored sequence id set: 3751
(line 1312) suppressing duplicate message send
[ID:HAM-NB-073-56843-634438260819794239-1:0:1:1:3751] with
producerSequenceId [3751] less than last stored: 3751

There is not message sent information in the log for 3751!!!

I've attached the full log for your perusal. I'd appreciate any help to
solve this problem.

This test was done with apache-activemq-5.4.2-fuse-02-00.

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

View raw message