https://issues.apache.org/jira/browse/AMQ-2868 - fix issue with blocked transaction completion in highly concurrent systems. It was possible to miss an after completion callback

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1207693 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2011-11-28 23:20:07 +00:00
parent 6813691a3d
commit 395bf82f80

View File

@ -1061,6 +1061,10 @@ public abstract class MessageDatabase extends ServiceSupport implements BrokerSe
}
}
if (inflightTx == null) {
if (after != null) {
// since we don't push this after and we may find another, lets run it now
after.run();
}
return;
}