mirror of
https://github.com/apache/activemq.git
synced 2025-03-03 14:49:07 +00:00
Fixing an issue that caused statistics for a transactional temporary queue to be updated twice by mistake. Moved the statistics update into tryOrderedCursorAdd so that the update is called immediately only if not inside a transaction. (cherry picked from commit 903dec615c7932475bd3e6cd869af25f01de64b2)