ARTEMIS-1308 Removing start/endcall around commit

this issue many warning around the testsuite around MessageListeners
it's valid to call the commit from a different thread on this case.
This commit is contained in:
Clebert Suconic 2017-08-08 20:30:39 -04:00
parent 5909a24cd3
commit 7b5d9f120c
1 changed files with 0 additions and 3 deletions

View File

@ -787,7 +787,6 @@ public final class ClientSessionImpl implements ClientSessionInternal, FailureLi
if (rollbackOnly) {
rollbackOnFailover(true);
}
startCall();
try {
sessionContext.simpleCommit(block);
} catch (ActiveMQException e) {
@ -800,8 +799,6 @@ public final class ClientSessionImpl implements ClientSessionInternal, FailureLi
} else {
throw e;
}
} finally {
endCall();
}
//oops, we have failed over during the commit and don't know what happened