public interface MessageProcessingManager
Modifier and Type | Method and Description |
---|---|
void |
processMessage(MessageProcessTemplate messageProcessTemplate,
MessageProcessContext messageProcessContext)
Process a message through a set of execution phases.
|
void processMessage(MessageProcessTemplate messageProcessTemplate, MessageProcessContext messageProcessContext)
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 executedmessageProcessTemplate
- 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 messageCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.