public class PhaseExecutionEngine.InternalPhaseExecutionEngine extends Object implements PhaseResultNotifier
Constructor and Description |
---|
PhaseExecutionEngine.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 PhaseExecutionEngine.InternalPhaseExecutionEngine(MessageProcessTemplate messageProcessTemplate, MessageProcessContext messageProcessContext)
public void phaseSuccessfully()
PhaseResultNotifier
phaseSuccessfully
in interface PhaseResultNotifier
public void phaseConsumedMessage()
PhaseResultNotifier
phaseConsumedMessage
in interface PhaseResultNotifier
public void phaseFailure(Exception reason)
PhaseResultNotifier
phaseFailure
in interface PhaseResultNotifier
reason
- exception that represents the failure in the phasepublic void process()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.