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(org.mule.runtime.api.exception.MuleException exception)
Call when the processing of the message through the flow fails in an exception strategy
|
Event |
afterRouteEvent(Event muleEvent)
Post processing of the routed
Event |
void |
afterSuccessfulProcessingFlow(Event muleEvent)
Call after successfully processing the message through the flow This method will always be called when the flow execution was
successful.
|
Event |
beforeRouteEvent(Event muleEvent)
Pre processing of the
Event to route |
Event |
getEvent() |
Object |
getOriginalMessage() |
Event |
routeEvent(Event muleEvent)
Routes the
Event through the processors chain |
Event getEvent() throws org.mule.runtime.api.exception.MuleException
Event created from the original messageorg.mule.runtime.api.exception.MuleExceptionObject getOriginalMessage() throws org.mule.runtime.api.exception.MuleException
org.mule.runtime.api.exception.MuleExceptionEvent beforeRouteEvent(Event muleEvent) throws org.mule.runtime.api.exception.MuleException
Event to routemuleEvent - org.mule.runtime.api.exception.MuleExceptionEvent routeEvent(Event muleEvent) throws org.mule.runtime.api.exception.MuleException
Event through the processors chainEvent afterRouteEvent(Event muleEvent) throws org.mule.runtime.api.exception.MuleException
EventmuleEvent - org.mule.runtime.api.exception.MuleExceptionvoid afterSuccessfulProcessingFlow(Event muleEvent) throws org.mule.runtime.api.exception.MuleException
muleEvent - org.mule.runtime.api.exception.MuleExceptionvoid afterFailureProcessingFlow(MessagingException messagingException) throws org.mule.runtime.api.exception.MuleException
messagingException - org.mule.runtime.api.exception.MuleExceptionvoid afterFailureProcessingFlow(org.mule.runtime.api.exception.MuleException exception)
throws org.mule.runtime.api.exception.MuleException
exception - org.mule.runtime.api.exception.MuleExceptionCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.