mirror of
https://github.com/apache/activemq.git
synced 2025-03-03 06:39:08 +00:00
Fixed contains method in PrioritizedPendinList which was not returning correctly. This was causing messages to not be removed from the dispatchPendingList when purge was called inside a Queue leading to an eventual OOM error if enough messages were purged. This fix also improves performance of the contains method. (cherry picked from commit 8363c99b51a98eb176e6baea82fcafce3225ba2c)