[
https://issues.apache.org/jira/browse/AMQ-4149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13489118#comment-13489118
]
lostincomputer commented on AMQ-4149:
-------------------------------------
Thanks for the quick fix! The Wait.waitFor() must also be asserted in the
testRemove() test case.
> Removal of inactive durable subscribers not working after broker restart
> ------------------------------------------------------------------------
>
> Key: AMQ-4149
> URL: https://issues.apache.org/jira/browse/AMQ-4149
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.6.0, 5.7.0
> Reporter: lostincomputer
> Assignee: Timothy Bish
> Fix For: 5.8.0
>
> Attachments: activemq.xml, DurableSubscriptionRemoveOfflineTest.java
>
>
> ActiveMQ can automatically unsubscribe durable subscribers that are not
> active for some period of time
> http://activemq.apache.org/manage-durable-subscribers.html.
> It however, doesn't remove inactive subscriptions created before it is
> restarted.
> Steps to reproduce:
> 1) Configure ActiveMQ to remove inactive durable subscriptions
> 2) Create a durable subscription
> 3) Restart broker
> the inactive durable subscription is never removed
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira