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, multimatchENABLE_CORRELATION_ALWAYS, ENABLE_CORRELATION_IF_NOT_SET, ENABLE_CORRELATION_NEVER, enableCorrelation, endpoints, logger, messageInfoMapping, replyTo, transactionConfigmuleContextPHASE_NAMEPHASE_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, setHonorSynchronicityaddEndpoint, getEndpoint, getFilter, getTransformers, isMatch, isUseTemplates, setFilter, setTransformers, setUseTemplatescreateTransactionTemplate, dispatch, getEnableCorrelation, getEndpoint, getEndpoints, getMessageInfoMapping, getReplyTo, getTransactionConfig, isDynamicEndpoints, removeEndpoint, send, setEnableCorrelation, setEnableCorrelationAsString, setEndpoints, setMessageInfoMapping, setMessageProperties, setReplyTo, setTransactionConfigdispose, getMuleContext, getRouterStatistics, initialise, setMuleContext, setRouterStatisticsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRouterStatistics, setRouterStatisticsinitialisedisposeprotected void initialise(MuleMessage message)
initialise in class AbstractMessageSplittermessage - the message being routedprotected void cleanup()
AbstractMessageSplitterAbstractMessageSplitter.getMessagePart(MuleMessage, OutboundEndpoint)
returned null.cleanup in class AbstractMessageSplitterprotected MuleMessage getMessagePart(MuleMessage message, OutboundEndpoint endpoint)
AbstractMessageSplittergetMessagePart in class AbstractMessageSplittermessage - the current message being processedendpoint - the endpoint that will be used to route the resulting message partCopyright © 2003-2012 MuleSource, Inc.. All Rights Reserved.