PersistenceManager.java edited online with Bitbucket
parent
c9a4e9a94d
commit
989bf8164b
|
@ -193,6 +193,9 @@ public class PersistenceManager {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void updateState(ReceiveUnitImpl unit, RequiredObjects rObjs, TransactionInfo txInfo, MutableState state, long branchInvokeCounter, String messageExchangeId) {
|
public void updateState(ReceiveUnitImpl unit, RequiredObjects rObjs, TransactionInfo txInfo, MutableState state, long branchInvokeCounter, String messageExchangeId) {
|
||||||
|
if (!mBPInstance.getBPELProcessManager().isPersistenceEnabled()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
RActivity activity = unit.getStaticModelActivity();
|
RActivity activity = unit.getStaticModelActivity();
|
||||||
state.updatePCWithBranchInvokeCounter(unit.getBranchId(), activity.getUniqueId(), branchInvokeCounter);
|
state.updatePCWithBranchInvokeCounter(unit.getBranchId(), activity.getUniqueId(), branchInvokeCounter);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue