org.mule.routing.inbound
Class CorrelationEventResequencer

java.lang.Object
  extended by org.mule.routing.AbstractRouter
      extended by org.mule.routing.inbound.SelectiveConsumer
          extended by org.mule.routing.inbound.AbstractEventResequencer
              extended by org.mule.routing.inbound.CorrelationEventResequencer
All Implemented Interfaces:
UMOInboundRouter, UMORouter

public class CorrelationEventResequencer
extends AbstractEventResequencer

CorrelationEventResequencer is used to resequence events according to their dispatch sequence in the correlation group. When the MessageSplitter router splits an event it assigns a correlation sequence to the individual message parts so that another router such as the CorrelationEventResequencer can receive the parts and reorder or merge them.


Field Summary
 
Fields inherited from class org.mule.routing.inbound.AbstractEventResequencer
NO_CORRELATION_ID
 
Fields inherited from class org.mule.routing.inbound.SelectiveConsumer
logger
 
Constructor Summary
CorrelationEventResequencer()
           
 
Method Summary
protected  boolean shouldResequenceEvents(EventGroup events)
          Determines whether the events in the passed EventGroup are ready to be reordered.
 
Methods inherited from class org.mule.routing.inbound.AbstractEventResequencer
addEventGroup, createEventGroup, getComparator, getEventGroup, getEventGroupIdForEvent, process, removeEventGroup, resequenceEvents, setComparator
 
Methods inherited from class org.mule.routing.inbound.SelectiveConsumer
getFilter, isMatch, isTransformFirst, setFilter, setTransformFirst
 
Methods inherited from class org.mule.routing.AbstractRouter
getRouterStatistics, setRouterStatistics
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.mule.umo.routing.UMORouter
getRouterStatistics, setRouterStatistics
 

Constructor Detail

CorrelationEventResequencer

public CorrelationEventResequencer()
Method Detail

shouldResequenceEvents

protected boolean shouldResequenceEvents(EventGroup events)
Description copied from class: AbstractEventResequencer
Determines whether the events in the passed EventGroup are ready to be reordered.

Specified by:
shouldResequenceEvents in class AbstractEventResequencer
See Also:
AbstractEventAggregator.shouldAggregateEvents(EventGroup)


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.