org.mule.execution
Class PhaseExecutionEngine
java.lang.Object
org.mule.execution.PhaseExecutionEngine
public class PhaseExecutionEngine
- extends Object
This class process a message through a set of MessageProcessPhase using
the message content and message processing context provided by MessageProcessTemplate and MessageProcessContext.
This class will handle any message processing failure by calling the SystemExceptionHandler defined by the application.
Each MessageProcessPhase can be executed with a different threading mechanism.
MessageProcessPhase implementation must guarantee that upon phase completion the method PhaseResultNotifier.phaseSuccessfully() is executed,
if there was a failure processing the message then the method PhaseResultNotifier.phaseFailure(Exception) must be executed and if the phase consumed the message the method
PhaseResultNotifier.phaseConsumedMessage() must be executed.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PhaseExecutionEngine
public PhaseExecutionEngine(List<MessageProcessPhase> messageProcessPhaseList,
SystemExceptionHandler exceptionHandler,
EndProcessPhase endProcessPhase)
process
public void process(MessageProcessTemplate messageProcessTemplate,
MessageProcessContext messageProcessContext)
Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.