public class AsyncResponseFlowProcessingPhase extends NotificationFiringProcessingPhase<AsyncResponseFlowProcessingPhaseTemplate>
MessageProcessTemplate
must implement FlowProcessingPhaseTemplate
Constructor and Description |
---|
AsyncResponseFlowProcessingPhase() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(MessageProcessPhase messageProcessPhase) |
void |
runPhase(AsyncResponseFlowProcessingPhaseTemplate template,
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(AsyncResponseFlowProcessingPhaseTemplate template, MessageProcessContext messageProcessContext, PhaseResultNotifier phaseResultNotifier)
MessageProcessPhase
PhaseResultNotifier.phaseFailure(Exception)
must be call.template
- 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.