Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
5.0.0
-
None
Description
This issue was originally reported on activemq-user here: http://www.nabble.com/Duplicate-message-delivered-to-consumers-on-queue-with-kaha-persistence-tf4560327s2354.html.
When I initially reported this issue, Rob suggested to not use Kaha persistence, but using the AMQ store. This seemed to resolve the issue.
Unfortunately, I have seen another situation where a duplicate message is being re-delivered, it turns out to the same consumer. I have tried in vain to create a unit test to reproduce this, but have been unable to do so.
The offending message ID is ID:tamarama-63606-1191905255404-2:2:3:3:1, and if you look at the attached debug trace, you can see it being sent to a queue, read from a queue, and then being dispatched a second time. The same worker thread in this case was the producer and the consumer of message.
This issue does not occur when persistence is not enabled.
This is seen with revision 583015.