split.addOutput(new ToDefinition("mock:extra"));
}
if (definition instanceof SetBodyDefinition) {
SetBodyDefinition set = (SetBodyDefinition) definition;
set.setExpression(new ConstantExpression("body was altered"));
}
// return null to let the default implementation create the processor, we just wanted to alter the definition
// before the processor was created
return null;