org.mule.routing
Class ExpressionSplitter
java.lang.Object
org.mule.processor.AbstractInterceptingMessageProcessorBase
org.mule.processor.AbstractInterceptingMessageProcessor
org.mule.routing.outbound.AbstractMessageSequenceSplitter
org.mule.routing.AbstractSplitter
org.mule.routing.ExpressionSplitter
- All Implemented Interfaces:
- AnnotatedObject, MuleContextAware, Initialisable, InterceptingMessageProcessor, MessageProcessor, MessageSource
public class ExpressionSplitter
- extends AbstractSplitter
- implements Initialisable
Splits a message using the expression provided invoking the next message processor
one for each split part.
EIP Reference: http://www.eaipatterns.com/Sequencer.html
expressionManager
protected ExpressionManager expressionManager
config
protected ExpressionConfig config
ExpressionSplitter
public ExpressionSplitter()
ExpressionSplitter
public ExpressionSplitter(ExpressionConfig config)
initialise
public void initialise()
throws InitialisationException
- Description copied from interface:
Initialisable
- Method used to perform any initialisation work. If a fatal error occurs during
initialisation an
InitialisationException
should be thrown,
causing the Mule instance to shutdown. If the error is recoverable, say by
retrying to connect, a RecoverableException
should be thrown.
There is no guarantee that by throwing a Recoverable exception that the Mule
instance will not shut down.
- Specified by:
initialise
in interface Initialisable
- Throws:
InitialisationException
- if a fatal error occurs causing the Mule instance to shutdown
RecoverableException
- if an error occurs that can be recovered from
splitMessage
protected List<MuleMessage> splitMessage(MuleEvent event)
- Specified by:
splitMessage
in class AbstractSplitter
getCustomEvaluator
public String getCustomEvaluator()
setCustomEvaluator
public void setCustomEvaluator(String customEvaluator)
getEvaluator
public String getEvaluator()
setEvaluator
public void setEvaluator(String evaluator)
getExpression
public String getExpression()
setExpression
public void setExpression(String expression)
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.