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