|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.processor.AbstractInterceptingMessageProcessorBase
org.mule.processor.AbstractInterceptingMessageProcessor
org.mule.routing.outbound.AbstractMessageSequenceSplitter
org.mule.routing.AbstractSplitter
org.mule.routing.MessageChunkSplitter
public class MessageChunkSplitter
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
Field Summary | |
---|---|
protected int |
messageSize
|
Fields inherited from class org.mule.routing.outbound.AbstractMessageSequenceSplitter |
---|
batchSize, counterVariableName, enableCorrelation, messageInfoMapping, muleContext, resultsHandler |
Fields inherited from class org.mule.processor.AbstractInterceptingMessageProcessorBase |
---|
logger, next, notificationHandler |
Fields inherited from interface org.mule.api.AnnotatedObject |
---|
PROPERTY_NAME |
Constructor Summary | |
---|---|
MessageChunkSplitter()
|
Method Summary | |
---|---|
int |
getMessageSize()
|
protected boolean |
isSplitRequired(MuleEvent event)
|
void |
setMessageSize(int messageSize)
|
protected List<MuleMessage> |
splitMessage(MuleEvent event)
|
Methods inherited from class org.mule.routing.AbstractSplitter |
---|
splitMessageIntoSequence |
Methods inherited from class org.mule.routing.outbound.AbstractMessageSequenceSplitter |
---|
process, processParts, setBatchSize, setCounterVariableName, setEnableCorrelation, setMessageInfoMapping, setMuleContext |
Methods inherited from class org.mule.processor.AbstractInterceptingMessageProcessorBase |
---|
getAnnotation, getAnnotations, getListener, getMuleContext, isEventValid, processNext, setAnnotations, setListener, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.mule.api.source.MessageSource |
---|
setListener |
Field Detail |
---|
protected int messageSize
Constructor Detail |
---|
public MessageChunkSplitter()
Method Detail |
---|
public int getMessageSize()
public void setMessageSize(int messageSize)
protected boolean isSplitRequired(MuleEvent event)
isSplitRequired
in class AbstractMessageSequenceSplitter
protected List<MuleMessage> splitMessage(MuleEvent event) throws RoutingException
splitMessage
in class AbstractSplitter
RoutingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |