public class AsyncResponseFlowProcessingPhase extends Object implements MessageProcessPhase<AsyncResponseFlowProcessingPhaseTemplate>, Comparable<MessageProcessPhase>
MessageProcessTemplate must implement FlowProcessingPhaseTemplate| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
logger |
| 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.
|
public boolean supportsTemplate(MessageProcessTemplate messageProcessTemplate)
MessageProcessPhasesupportsTemplate in interface MessageProcessPhase<AsyncResponseFlowProcessingPhaseTemplate>messageProcessTemplate - template to be processedpublic void runPhase(AsyncResponseFlowProcessingPhaseTemplate template, MessageProcessContext messageProcessContext, PhaseResultNotifier phaseResultNotifier)
MessageProcessPhasePhaseResultNotifier.phaseFailure(Exception) must be call.runPhase in interface MessageProcessPhase<AsyncResponseFlowProcessingPhaseTemplate>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)
compareTo in interface Comparable<MessageProcessPhase>Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.