protected void processEntity(Exchange exchange, ProcessInstance process) throws Exception {
LOG.debug("Processing process instance: {}", process);
// force the lazy creation of this activity
ActivityRules rules = getActivityRules();
ActivityState state = process.getOrCreateActivityState(rules);
state.processExchange(rules, new ProcessContext(exchange, rules, state));
rules.getProcessRules().processExchange(exchange, process);
}