public class EndProcessPhase extends Object implements MessageProcessPhase<EndPhaseTemplate>
MessageProcessTemplate that the message processing has ended.
To participate on this phase MessageProcessTemplate must implement EndPhaseTemplate.| Constructor and Description |
|---|
EndProcessPhase() |
| Modifier and Type | Method and Description |
|---|---|
void |
runPhase(EndPhaseTemplate messageProcessTemplate,
MessageProcessContext messageProcessContext,
PhaseResultNotifier phaseResultNotifier)
Process the template through the phase.
|
boolean |
supportsTemplate(MessageProcessTemplate messageProcessTemplate)
Determines if a certain phase supports a given template.
|
public boolean supportsTemplate(MessageProcessTemplate messageProcessTemplate)
MessageProcessPhasesupportsTemplate in interface MessageProcessPhase<EndPhaseTemplate>messageProcessTemplate - template to be processedpublic void runPhase(EndPhaseTemplate messageProcessTemplate, MessageProcessContext messageProcessContext, PhaseResultNotifier phaseResultNotifier)
MessageProcessPhasePhaseResultNotifier.phaseFailure(Exception) must
be call.runPhase in interface MessageProcessPhase<EndPhaseTemplate>messageProcessTemplate - template containing message source specific behaviormessageProcessContext - provides context information for executing the messagephaseResultNotifier - notifier that must be advice under certain scenariosCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.