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:
parent
5909a24cd3
commit
7b5d9f120c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue