Skip to content

Instantly share code, notes, and snippets.

@mariomartinezricston
Created July 8, 2016 11:25
Show Gist options
  • Save mariomartinezricston/7adbc1e51d4a72bc66f0a3fd6e4d014e to your computer and use it in GitHub Desktop.
Save mariomartinezricston/7adbc1e51d4a72bc66f0a3fd6e4d014e to your computer and use it in GitHub Desktop.
public class MessageProcessorCall implements MessageProcessor{
@Override
public MuleEvent process(MuleEvent event) throws MuleException {
System.out.println("\n-------Process Executing, updating payload-------");
event.getMessage().setPayload("Payload Modified from Message processor");
System.out.println("\n-------Process executed, payload updated-------");
return event;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment