public class PhaseExecutionEngine.InternalPhaseExecutionEngine extends Object implements PhaseResultNotifier
| Constructor and Description |
|---|
InternalPhaseExecutionEngine(MessageProcessTemplate messageProcessTemplate,
MessageProcessContext messageProcessContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
phaseConsumedMessage()
This method must be called when the phase consume the message and the chain should not continue processing the message.
|
void |
phaseFailure(Exception reason)
This message must be called when a phase execution throw an exception
|
void |
phaseSuccessfully()
This method must be called when the phase complete successfully
|
void |
process() |
public InternalPhaseExecutionEngine(MessageProcessTemplate messageProcessTemplate, MessageProcessContext messageProcessContext)
public void phaseSuccessfully()
PhaseResultNotifierphaseSuccessfully in interface PhaseResultNotifierpublic void phaseConsumedMessage()
PhaseResultNotifierphaseConsumedMessage in interface PhaseResultNotifierpublic void phaseFailure(Exception reason)
PhaseResultNotifierphaseFailure in interface PhaseResultNotifierreason - exception that represents the failure in the phasepublic void process()
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.