public class ExpressionSplitter extends AbstractSplitter implements Initialisable
EIP Reference: http://www.eaipatterns.com/Sequencer.html
Modifier and Type | Field and Description |
---|---|
protected ExpressionConfig |
config |
protected ExpressionManager |
expressionManager |
batchSize, counterVariableName, enableCorrelation, messageInfoMapping, muleContext, resultsHandler
logger, next, notificationHandler
PHASE_NAME
PROPERTY_NAME
Constructor and Description |
---|
ExpressionSplitter() |
ExpressionSplitter(ExpressionConfig config) |
Modifier and Type | Method and Description |
---|---|
String |
getCustomEvaluator() |
String |
getEvaluator() |
String |
getExpression() |
void |
initialise()
Method used to perform any initialisation work.
|
void |
setCustomEvaluator(String customEvaluator) |
void |
setEvaluator(String evaluator) |
void |
setExpression(String expression) |
protected List<MuleMessage> |
splitMessage(MuleEvent event) |
splitMessageIntoSequence
isSplitRequired, process, processParts, setBatchSize, setCounterVariableName, setEnableCorrelation, setMessageInfoMapping, setMuleContext
addMessageProcessorPathElements, getListener, getMuleContext, isEventValid, processNext, setListener, toString
getAnnotation, getAnnotations, setAnnotations
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
setListener
protected ExpressionManager expressionManager
protected ExpressionConfig config
public ExpressionSplitter()
public ExpressionSplitter(ExpressionConfig config)
public void initialise() throws InitialisationException
Initialisable
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.initialise
in interface Initialisable
InitialisationException
- if a fatal error occurs causing the Mule instance to shutdownRecoverableException
- if an error occurs that can be recovered fromprotected List<MuleMessage> splitMessage(MuleEvent event)
splitMessage
in class AbstractSplitter
public String getCustomEvaluator()
public void setCustomEvaluator(String customEvaluator)
public String getEvaluator()
public void setEvaluator(String evaluator)
public String getExpression()
public void setExpression(String expression)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.