178179180181182183184185186187188
return result; } else { event.getMessage().applyTransformers( event, Collections.singletonList(new TransformerTemplate(new TransformerTemplate.OverwitePayloadCallback( result)))); return event.getMessage(); } } else
312313314315316317318319320321322
} else if (result != null) { event.getMessage().applyTransformers( event, Collections.<Transformer> singletonList(new TransformerTemplate( new TransformerTemplate.OverwitePayloadCallback(result)))); return event; } else {
172173174175176177178179180181182