Github user rstancel commented on a diff in the pull request:
https://github.com/apache/activemq-artemis/pull/1990#discussion_r179361706
--- Diff:
artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/impl/ClientSessionImpl.java
---
@@ -1539,6 +1540,8 @@ public void end(final Xid xid, final int flags)
throws XAException {
startCall();
try {
sessionContext.xaEnd(xid, flags);
+ } catch (ActiveMQNotConnectedException ex) {
+
ActiveMQClientLogger.LOGGER.connectionClosedWarn(ex.getType(), ex.getMessage());
--- End diff --
@clebertsuconic Done.
---