org.mule.execution
Interface MessageProcessingManager
- All Known Implementing Classes:
- MuleMessageProcessingManager
public interface MessageProcessingManager
In charge of processing messages through mule.
processMessage
void processMessage(MessageProcessTemplate messageProcessTemplate,
MessageProcessContext messageProcessContext)
- Process a message through a set of execution phases.
At bear minimum three phases will be executed:
-
ValidationPhase which will validates the message content.
If message context is invalid then it will discard the message
- FlowProcessingPhase which will route the message through it's flow configuration
- EndProcessPhase which will be executed after all the phases have been executed
- Parameters:
messageProcessTemplate - contains template methods that will be executed by each phase in specific parts of the phase so
the MessageSource can apply custom logic during message processing.
The message will participate only on those phases were the template defines the required template methodsmessageProcessContext - defines the context of execution of the message
Copyright © 2003-2013 MuleSoft, Inc.. All Rights Reserved.