org.mule.routing
Class CollectionSplitter
java.lang.Object
org.mule.processor.AbstractInterceptingMessageProcessorBase
org.mule.processor.AbstractInterceptingMessageProcessor
org.mule.routing.outbound.AbstractMessageSequenceSplitter
org.mule.routing.CollectionSplitter
- All Implemented Interfaces:
- AnnotatedObject, MuleContextAware, InterceptingMessageProcessor, MessageProcessor, MessageSource
public class CollectionSplitter
- extends AbstractMessageSequenceSplitter
Splits a message that has a Collection, Iterable, MessageSequence or Iterator
payload invoking the next message processor one
for each item in it.
EIP Reference: http
://www.eaipatterns.com/Sequencer.html
CollectionSplitter
public CollectionSplitter()
splitMessageIntoSequence
protected MessageSequence<?> splitMessageIntoSequence(MuleEvent event)
- Description copied from class:
AbstractMessageSequenceSplitter
- Converts the event into a
MessageSequence
that will retrieve each of
the event elements
- Specified by:
splitMessageIntoSequence
in class AbstractMessageSequenceSplitter
- Parameters:
event
- the event to split
- Returns:
- a sequence of elements
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.