public class MuleMessageProcessingManager extends Object implements MessageProcessingManager, MuleContextAware, org.mule.runtime.api.lifecycle.Initialisable
MessageProcessingManager.| Constructor and Description |
|---|
MuleMessageProcessingManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialise() |
void |
processMessage(MessageProcessTemplate messageProcessTemplate,
MessageProcessContext messageProcessContext)
Process a message through a set of execution phases.
|
void |
setMuleContext(MuleContext context) |
public void processMessage(MessageProcessTemplate messageProcessTemplate, MessageProcessContext messageProcessContext)
MessageProcessingManagerValidationPhase
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 executedprocessMessage in interface MessageProcessingManagermessageProcessTemplate - 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 messagepublic void setMuleContext(MuleContext context)
setMuleContext in interface MuleContextAwarecontext - the Mule node.public void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.