public interface FlowProcessingPhaseTemplate extends MessageProcessTemplate
MessageSource specific behavior during
flow execution.| Modifier and Type | Method and Description |
|---|---|
void |
afterFailureProcessingFlow(MessagingException messagingException)
Call when the processing of the message through the flow fails.
|
void |
afterFailureProcessingFlow(MuleException exception)
Call when the processing of the message through the flow fails in an exception strategy
|
MuleEvent |
afterRouteEvent(MuleEvent muleEvent)
Post processing of the routed
MuleEvent |
void |
afterSuccessfulProcessingFlow(MuleEvent muleEvent)
Call after successfully processing the message through the flow
This method will always be called when the flow execution was successful.
|
MuleEvent |
beforeRouteEvent(MuleEvent muleEvent)
Pre processing of the
MuleEvent to route |
MuleEvent |
getMuleEvent() |
Object |
getOriginalMessage() |
MuleEvent |
routeEvent(MuleEvent muleEvent)
Routes the
MuleEvent through the processors chain |
MuleEvent getMuleEvent() throws MuleException
MuleEvent created from the original messageMuleExceptionObject getOriginalMessage() throws MuleException
MuleExceptionMuleEvent beforeRouteEvent(MuleEvent muleEvent) throws MuleException
MuleEvent to routemuleEvent - MuleExceptionMuleEvent routeEvent(MuleEvent muleEvent) throws MuleException
MuleEvent through the processors chainmuleEvent - MuleEvent created from the raw message of this contextMuleEventMuleExceptionMuleEvent afterRouteEvent(MuleEvent muleEvent) throws MuleException
MuleEventmuleEvent - MuleExceptionvoid afterSuccessfulProcessingFlow(MuleEvent muleEvent) throws MuleException
muleEvent - MuleExceptionvoid afterFailureProcessingFlow(MessagingException messagingException) throws MuleException
messagingException - MuleExceptionvoid afterFailureProcessingFlow(MuleException exception) throws MuleException
exception - MuleExceptionCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.