@Deprecated public class ExpressionMessageSplitter extends AbstractRoundRobinMessageSplitter
Modifier and Type | Field and Description |
---|---|
protected ExpressionConfig |
config
Deprecated.
|
expressionManager
enableCorrelation, initialised, logger, replyTo, resultsHandler, routes, started, transactionConfig
flowConstruct, messagingExceptionHandler, muleContext
PHASE_NAME
PHASE_NAME
PHASE_NAME
PHASE_NAME
PROPERTY_NAME
Constructor and Description |
---|
ExpressionMessageSplitter()
Deprecated.
|
ExpressionMessageSplitter(ExpressionConfig config)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getCustomEvaluator()
Deprecated.
|
String |
getEvaluator()
Deprecated.
|
String |
getExpression()
Deprecated.
|
void |
initialise()
Deprecated.
Method used to perform any initialisation work.
|
void |
setCustomEvaluator(String customEvaluator)
Deprecated.
|
void |
setEvaluator(String evaluator)
Deprecated.
|
void |
setExpression(String expression)
Deprecated.
|
protected List<Object> |
splitMessage(MuleMessage message)
Deprecated.
Method used just to split the message into parts.
|
getMessageParts, isDeterministic, isDisableRoundRobin, isFailIfNoMatch, setDeterministic, setDisableRoundRobin, setFailIfNoMatch
route
addRoute, getFilter, getRoute, getTransformers, isMatch, isTransformBeforeMatch, isUseTemplates, setFilter, setTransformers, setUseTemplates
cloneMessage, cloneMessage, createEventToRoute, dispose, doProcessRoute, getEnableCorrelation, getMuleContext, getOwnedMessageProcessors, getReplyTo, getResultsHandler, getRoute, getRouterStatistics, getRoutes, getTransactionConfig, isDynamicRoutes, process, propagateMagicProperties, removeRoute, sendRequest, sendRequestEvent, setEnableCorrelation, setEnableCorrelationAsString, setMessageProcessors, setMessageProperties, setReplyTo, setResultsHandler, setRouterStatistics, setRoutes, setTransactionConfig, start, stop
addMessageProcessorPathElements, getAnnotation, getAnnotations, getOwnedObjects, setAnnotations
getFlowConstruct, getMessagingExceptionHandler, setFlowConstruct, setMessagingExceptionHandler, setMuleContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setMuleContext
setFlowConstruct
protected ExpressionConfig config
public ExpressionMessageSplitter()
public ExpressionMessageSplitter(ExpressionConfig config)
public String getCustomEvaluator()
public void setCustomEvaluator(String customEvaluator)
public String getEvaluator()
public void setEvaluator(String evaluator)
public String getExpression()
public void setExpression(String expression)
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
initialise
in class AbstractRoundRobinMessageSplitter
InitialisationException
- if a fatal error occurs causing the Mule instance to shutdownRecoverableException
- if an error occurs that can be recovered fromprotected List<Object> splitMessage(MuleMessage message)
AbstractRoundRobinMessageSplitter
MuleMessage
objects or just payloads (Mule will
automatically convert the payloads into messages).
This method can be overridden by custom implementations of splitter router where the distribution of
the message parts will be done using either round robin or endpoint filtering.splitMessage
in class AbstractRoundRobinMessageSplitter
message
- the source message to split into partsMuleMessage
objects. Usually, it is sufficient
just to return payload objectsCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.