ehsavoie commented on code in PR #4433:
URL: https://github.com/apache/activemq-artemis/pull/4433#discussion_r1163199931


##########
artemis-ra/src/main/java/org/apache/activemq/artemis/ra/ActiveMQRAManagedConnection.java:
##########
@@ -336,7 +336,7 @@ public void associateConnection(final Object obj) throws 
ResourceException {
 
    public void checkTransactionActive() throws JMSException {
       // don't bother looking at the transaction if there's an active XID
-      if (!inManagedTx && tsr != null) {
+      if (!inManagedTx && tsr != null && tsr.getTransactionKey() != null) {

Review Comment:
   a leftover



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to