- All Implemented Interfaces:
public class ResequenceCorrelatorCallback
- extends CollectionCorrelatorCallback
A Correlator that correlates messages based on Mule correlation settings. Note
aggregateEvents(org.mule.routing.EventGroup) method only
resequences the events and returns an MuleEvent wrapped in a MuleMessage impl.
This means that this callback can ONLY be used with a
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected Comparator<MuleEvent> eventComparator
public ResequenceCorrelatorCallback(Comparator<MuleEvent> eventComparator,
public MuleEvent aggregateEvents(EventGroup events)
- 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 interface
aggregateEvents in class
events - the event group for this request
- an aggregated message
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-2012 MuleSoft, Inc.. All Rights Reserved.