org.mule.routing
Class MapSplitter
java.lang.Object
org.mule.processor.AbstractInterceptingMessageProcessor
org.mule.routing.AbstractSplitter
org.mule.routing.MapSplitter
- All Implemented Interfaces:
- MuleContextAware, InterceptingMessageProcessor, MessageProcessor, MessageSource
public class MapSplitter
- extends AbstractSplitter
Splits a message that has a map payload invoking the next message processor one
for each item in the map in order. The Map entry value is used as the new payload
and the map key is set as a message property with the following property name
'key'.
EIP Reference: http://www
.eaipatterns.com/Sequencer.html
MAP_ENTRY_KEY
public static String MAP_ENTRY_KEY
MapSplitter
public MapSplitter()
splitMessage
protected List<MuleMessage> splitMessage(MuleEvent event)
- Specified by:
splitMessage
in class AbstractSplitter
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.