org.mule.routing.inbound
Class MessageChunkingAggregator

java.lang.Object
  extended byorg.mule.routing.inbound.SelectiveConsumer
      extended byorg.mule.routing.inbound.AbstractEventAggregator
          extended byorg.mule.routing.inbound.CorrelationAggregator
              extended byorg.mule.routing.inbound.MessageChunkingAggregator
All Implemented Interfaces:
UMOInboundRouter, UMORouter

public class MessageChunkingAggregator
extends CorrelationAggregator

todo document

Version:
$Revision: 4323 $
Author:
Ross Mason

Nested Class Summary
static class MessageChunkingAggregator.SequenceComparator
           
 
Field Summary
 
Fields inherited from class org.mule.routing.inbound.AbstractEventAggregator
eventGroups, NO_CORRELATION_ID
 
Fields inherited from class org.mule.routing.inbound.SelectiveConsumer
logger
 
Constructor Summary
MessageChunkingAggregator()
           
 
Method Summary
protected  UMOMessage aggregateEvents(EventGroup events)
          This method is invoked if the shouldAggregate method is called and returns true.
 
Methods inherited from class org.mule.routing.inbound.CorrelationAggregator
addEvent, shouldAggregate
 
Methods inherited from class org.mule.routing.inbound.AbstractEventAggregator
process, removeGroup
 
Methods inherited from class org.mule.routing.inbound.SelectiveConsumer
getFilter, getRouterStatistics, isMatch, isTransformFirst, setFilter, setRouterStatistics, setTransformFirst
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageChunkingAggregator

public MessageChunkingAggregator()
Method Detail

aggregateEvents

protected UMOMessage aggregateEvents(EventGroup events)
                              throws AggregationException
This method is invoked if the shouldAggregate method is called and returns true. Once this method returns an aggregated message the event group is removed from the router

Specified by:
aggregateEvents in class AbstractEventAggregator
Parameters:
events - the event group for this request
Returns:
an aggregated message
Throws:
AggregationException - if the aggregation fails. in this scenario the whole event group is removed and passed to the exception handler for this componenet


Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.