PersistenceManager.java edited online with Bitbucket

master
Boris Bendyukov 2014-01-26 18:12:26 +00:00
parent c9a4e9a94d
commit 989bf8164b
1 changed files with 3 additions and 0 deletions

View File

@ -193,6 +193,9 @@ public class PersistenceManager {
}
public void updateState(ReceiveUnitImpl unit, RequiredObjects rObjs, TransactionInfo txInfo, MutableState state, long branchInvokeCounter, String messageExchangeId) {
if (!mBPInstance.getBPELProcessManager().isPersistenceEnabled()) {
return;
}
RActivity activity = unit.getStaticModelActivity();
state.updatePCWithBranchInvokeCounter(unit.getBranchId(), activity.getUniqueId(), branchInvokeCounter);