public class FlowProcessingPhase extends NotificationFiringProcessingPhase<FlowProcessingPhaseTemplate>
MessageProcessTemplate
must implement FlowProcessingPhaseTemplate
Constructor and Description |
---|
FlowProcessingPhase() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(MessageProcessPhase messageProcessPhase) |
void |
runPhase(FlowProcessingPhaseTemplate flowProcessingPhaseTemplate,
MessageProcessContext messageProcessContext,
PhaseResultNotifier phaseResultNotifier)
Process the template through the phase.
|
boolean |
supportsTemplate(MessageProcessTemplate messageProcessTemplate)
Determines if a certain phase supports a given template.
|
fireNotification, getNotificationHelper, setMuleContext
protected transient Log logger
public boolean supportsTemplate(MessageProcessTemplate messageProcessTemplate)
MessageProcessPhase
messageProcessTemplate
- template to be processedpublic void runPhase(FlowProcessingPhaseTemplate flowProcessingPhaseTemplate, MessageProcessContext messageProcessContext, PhaseResultNotifier phaseResultNotifier)
MessageProcessPhase
PhaseResultNotifier.phaseFailure(Exception)
must be call.flowProcessingPhaseTemplate
- template containing message source specific behaviormessageProcessContext
- provides context information for executing the messagephaseResultNotifier
- notifier that must be advice under certain scenariospublic int compareTo(MessageProcessPhase messageProcessPhase)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.