org.mule.execution
Interface PhaseResultNotifier

All Known Implementing Classes:
PhaseExecutionEngine.InternalPhaseExecutionEngine

public interface PhaseResultNotifier

Notifier used by MessageProcessPhase in order to define the result of the phase execution


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
 

Method Detail

phaseSuccessfully

void phaseSuccessfully()
This method must be called when the phase complete successfully


phaseConsumedMessage

void phaseConsumedMessage()
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


phaseFailure

void phaseFailure(Exception reason)
This message must be called when a phase execution throw an exception

Parameters:
reason - exception that represents the failure in the phase


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.