public class FilteringListMessageSplitter extends AbstractMessageSplitter
FilteringListMessageSplitter
accepts a List as a message payload
then routes list elements as messages over an endpoint where the endpoint's filter
accepts the payload.honorSynchronicity, multimatch
ENABLE_CORRELATION_ALWAYS, ENABLE_CORRELATION_IF_NOT_SET, ENABLE_CORRELATION_NEVER, enableCorrelation, endpoints, logger, messageInfoMapping, replyTo, transactionConfig
muleContext
PHASE_NAME
PHASE_NAME
Constructor and Description |
---|
FilteringListMessageSplitter() |
Modifier and Type | Method and Description |
---|---|
protected void |
cleanup()
This method is called after all parts of the original message have been processed;
typically this is the case after
AbstractMessageSplitter.getMessagePart(MuleMessage, OutboundEndpoint)
returned null . |
protected MuleMessage |
getMessagePart(MuleMessage message,
OutboundEndpoint endpoint)
Retrieves a specific message part for the given endpoint.
|
protected void |
initialise(MuleMessage message)
Template method can be used to split the message up before the getMessagePart
method is called .
|
isHonorSynchronicity, route, setHonorSynchronicity
addEndpoint, getEndpoint, getFilter, getTransformers, isMatch, isUseTemplates, setFilter, setTransformers, setUseTemplates
createTransactionTemplate, dispatch, getEnableCorrelation, getEndpoint, getEndpoints, getMessageInfoMapping, getReplyTo, getTransactionConfig, isDynamicEndpoints, removeEndpoint, send, setEnableCorrelation, setEnableCorrelationAsString, setEndpoints, setMessageInfoMapping, setMessageProperties, setReplyTo, setTransactionConfig
dispose, getMuleContext, getRouterStatistics, initialise, setMuleContext, setRouterStatistics
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRouterStatistics, setRouterStatistics
initialise
dispose
protected void initialise(MuleMessage message)
initialise
in class AbstractMessageSplitter
message
- the message being routedprotected void cleanup()
AbstractMessageSplitter
AbstractMessageSplitter.getMessagePart(MuleMessage, OutboundEndpoint)
returned null
.cleanup
in class AbstractMessageSplitter
protected MuleMessage getMessagePart(MuleMessage message, OutboundEndpoint endpoint)
AbstractMessageSplitter
getMessagePart
in class AbstractMessageSplitter
message
- the current message being processedendpoint
- the endpoint that will be used to route the resulting message partCopyright © 2003–2013 MuleSource, Inc.. All rights reserved.