org.mule.execution
Class PhaseExecutionEngine.InternalPhaseExecutionEngine
java.lang.Object
org.mule.execution.PhaseExecutionEngine.InternalPhaseExecutionEngine
- All Implemented Interfaces:
- PhaseResultNotifier
- Enclosing class:
- PhaseExecutionEngine
public class PhaseExecutionEngine.InternalPhaseExecutionEngine
- extends Object
- implements PhaseResultNotifier
|
Method Summary |
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()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PhaseExecutionEngine.InternalPhaseExecutionEngine
public PhaseExecutionEngine.InternalPhaseExecutionEngine(MessageProcessTemplate messageProcessTemplate,
MessageProcessContext messageProcessContext)
phaseSuccessfully
public void phaseSuccessfully()
- Description copied from interface:
PhaseResultNotifier
- This method must be called when the phase complete successfully
- Specified by:
phaseSuccessfully in interface PhaseResultNotifier
phaseConsumedMessage
public void phaseConsumedMessage()
- Description copied from interface:
PhaseResultNotifier
- This method must be called when the phase consume the message and the chain should not continue processing the message.
If this method is called then phaseSuccessfully must not be called
- Specified by:
phaseConsumedMessage in interface PhaseResultNotifier
phaseFailure
public void phaseFailure(Exception reason)
- Description copied from interface:
PhaseResultNotifier
- This message must be called when a phase execution throw an exception
- Specified by:
phaseFailure in interface PhaseResultNotifier
- Parameters:
reason - exception that represents the failure in the phase
process
public void process()
Copyright © 2003-2013 MuleSoft, Inc.. All Rights Reserved.