[ 
https://issues.apache.org/activemq/browse/AMQ-2052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Jencks updated AMQ-2052:
------------------------------

    Attachment: AMQ-2052-test.patch

Test case to deomonstrate the problem.  Note that the test passes, you have to 
put a breakpoint to see the problem.

> unsubscribing a durable subscriber does not properly clean up undelivered 
> messages
> ----------------------------------------------------------------------------------
>
>                 Key: AMQ-2052
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2052
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Message Store
>    Affects Versions: 5.3.0
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: 5.3.0
>
>         Attachments: AMQ-2052-test.patch
>
>
> Working on the tck I found a lot of messages like 
> 2008-12-25 11:37:08,567 ERROR [RecoveryListenerAdapter] Message id 
> ID:pb.local-56923-1230232035140-2:13:1:1:1 could not be recovered from the 
> data store - already dispatched
> in the log.  I can reproduce this with the attached test case (It could 
> probably be in a better module, but I started looking here.)
> To see the error put a breakpoint at RecoveryListenerAdapter line 61 and run 
> the test.  The required steps to reproduce seem to be:
> 1. create a durable subscriber on a topic.
> 2. send a message to the topic.
> 3. close the subscriber and unsubscribe.
> 4. create a new durable subscriber on the same topic.

-- 
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