mirror of
https://github.com/apache/activemq.git
synced 2025-02-15 06:26:44 +00:00
Remove of a durable subscription when the keepDurableSubActive flag is true (default) did not actually stop and cleanup the still active cursor due to the fact that the cursor checks the flag of its subscription to see if it should stay active when its stop method is called. The subscription needs to disable that flag when the subscription is being removed so that the cursor will correctly shutdown.