mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-03-01 14:59:13 +00:00
A handful of tests started to fail after the original fix was committed. This commit fixes those failures mainly by using a mock `TransactionSynchronizationRegistry`. I changed `o.a.a.a.r.ActiveMQRAManagedConnection#checkTransactionActive` slightly because `getTransactionStatus` will never return `null` unlike `getTransaction` would. The semantics should still be the same, though.