org.mule.enricher
Class MessageEnricher
java.lang.Object
org.mule.processor.AbstractMessageProcessorOwner
org.mule.enricher.MessageEnricher
- All Implemented Interfaces:
- FlowConstructAware, MuleContextAware, Disposable, Initialisable, Lifecycle, Startable, Stoppable, MessageProcessor
public class MessageEnricher
- extends AbstractMessageProcessorOwner
- implements MessageProcessor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageEnricher
public MessageEnricher()
process
public MuleEvent process(MuleEvent event)
throws MuleException
- Description copied from interface:
MessageProcessor
- Invokes the MessageProcessor.
- Specified by:
process
in interface MessageProcessor
- Parameters:
event
- MuleEvent to be processed
- Returns:
- optional response MuleEvent
- Throws:
MuleException
enrich
protected void enrich(MuleMessage currentMessage,
MuleMessage enrichmentMessage,
String sourceExpressionArg,
String targetExpressionArg,
ExpressionManager expressionManager)
setEnrichmentMessageProcessor
public void setEnrichmentMessageProcessor(MessageProcessor enrichmentProcessor)
setMessageProcessor
public void setMessageProcessor(MessageProcessor enrichmentProcessor)
- For spring
setEnrichExpressionPairs
public void setEnrichExpressionPairs(List<MessageEnricher.EnrichExpressionPair> enrichExpressionPairs)
addEnrichExpressionPair
public void addEnrichExpressionPair(MessageEnricher.EnrichExpressionPair pair)
getOwnedMessageProcessors
protected List<MessageProcessor> getOwnedMessageProcessors()
- Specified by:
getOwnedMessageProcessors
in class AbstractMessageProcessorOwner
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.