org.mule.routing
Class MessageChunkSplitter
java.lang.Object
org.mule.processor.AbstractInterceptingMessageProcessor
org.mule.routing.AbstractSplitter
org.mule.routing.MessageChunkSplitter
- All Implemented Interfaces:
- MuleContextAware, InterceptingMessageProcessor, MessageProcessor, MessageSource
public class MessageChunkSplitter
- extends AbstractSplitter
A router that breaks up the current message onto smaller parts and sends them to
the same destination. The Destination service needs to have a
MessageChunkingAggregator inbound router in order to rebuild the message at the
other end.
EIP Reference: http://www.eaipatterns.com/Sequencer.html
messageSize
protected int messageSize
MessageChunkSplitter
public MessageChunkSplitter()
getMessageSize
public int getMessageSize()
setMessageSize
public void setMessageSize(int messageSize)
isSplitRequired
protected boolean isSplitRequired(MuleEvent event)
- Overrides:
isSplitRequired
in class AbstractSplitter
splitMessage
protected List<MuleMessage> splitMessage(MuleEvent event)
throws RoutingException
- Specified by:
splitMessage
in class AbstractSplitter
- Throws:
RoutingException
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.