|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.routing.correlation.CollectionCorrelatorCallback
org.mule.routing.correlation.ResequenceCorrelatorCallback
public class ResequenceCorrelatorCallback
A Correlator that correlates messages based on Mule correlation settings
Note that the 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
org.mule.routing.inbound.CorrelationEventResequencer
Field Summary | |
---|---|
protected java.util.Comparator<MuleEvent> |
eventComparator
|
Fields inherited from class org.mule.routing.correlation.CollectionCorrelatorCallback |
---|
logger, muleContext |
Constructor Summary | |
---|---|
ResequenceCorrelatorCallback(java.util.Comparator<MuleEvent> eventComparator,
MuleContext muleContext)
|
Method Summary | |
---|---|
MuleEvent |
aggregateEvents(EventGroup events)
This method is invoked if the shouldAggregate method is called and returns true. |
Methods inherited from class org.mule.routing.correlation.CollectionCorrelatorCallback |
---|
createEventGroup, shouldAggregateEvents |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Comparator<MuleEvent> eventComparator
Constructor Detail |
---|
public ResequenceCorrelatorCallback(java.util.Comparator<MuleEvent> eventComparator, MuleContext muleContext)
Method Detail |
---|
public MuleEvent aggregateEvents(EventGroup events) throws AggregationException
aggregateEvents
in interface EventCorrelatorCallback
aggregateEvents
in class CollectionCorrelatorCallback
events
- the event group for this request
AggregationException
- if the aggregation fails. in this scenario the
whole event group is removed and passed to the exception handler
for this componenet
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |