Duplicate messages dispatched when using AMQ Store
--------------------------------------------------

                 Key: AMQ-1452
                 URL: https://issues.apache.org/activemq/browse/AMQ-1452
             Project: ActiveMQ
          Issue Type: Bug
          Components: Message Store
    Affects Versions: 5.0.0
            Reporter: David Sitsky
            Priority: Critical
             Fix For: 5.0.0
         Attachments: duplicate.log

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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to