Issue Details (XML | Word | Printable)

Key: AMQ-2052
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: David Jencks
Reporter: David Jencks
Votes: 2
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
ActiveMQ

unsubscribing a durable subscriber does not properly clean up undelivered messages

Created: 01/Jan/09 04:10 AM   Updated: 03/Sep/09 08:51 AM
Return to search
Component/s: Message Store
Affects Version/s: 5.3.0
Fix Version/s: 5.3.0

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works AMQ-2052-test.patch 2009-01-01 04:15 AM David Jencks 4 kB


 Description  « Hide
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.



 All   Comments   Work Log   Change History   Subversion Commits   FishEye   Crucible      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.