mirror of
https://github.com/apache/activemq.git
synced 2025-02-13 13:36:07 +00:00
Queue purge now acquires the sendLock to prevent new messages from coming in while purging. The statistics are no longer zeroed out as they should properly decrement as messages are removed. These changes should prevent the statistics from going negative. (cherry picked from commit 56bb079c8227a2beee609b205c001d66597db98a)