org.mule.routing.inbound
Class EventAggregatorTestCase.SimpleEventAggregator

java.lang.Object
  extended by org.mule.routing.AbstractRouter
      extended by org.mule.routing.inbound.SelectiveConsumer
          extended by org.mule.routing.inbound.AbstractEventAggregator
              extended by org.mule.routing.inbound.EventAggregatorTestCase.SimpleEventAggregator
All Implemented Interfaces:
org.mule.umo.routing.UMOInboundRouter, org.mule.umo.routing.UMORouter
Enclosing class:
EventAggregatorTestCase

public static class EventAggregatorTestCase.SimpleEventAggregator
extends org.mule.routing.inbound.AbstractEventAggregator


Field Summary
 
Fields inherited from class org.mule.routing.inbound.AbstractEventAggregator
NO_CORRELATION_ID
 
Fields inherited from class org.mule.routing.inbound.SelectiveConsumer
logger
 
Constructor Summary
EventAggregatorTestCase.SimpleEventAggregator(int eventThreshold)
           
 
Method Summary
protected  org.mule.umo.UMOMessage aggregateEvents(org.mule.routing.inbound.EventGroup events)
           
protected  boolean shouldAggregateEvents(org.mule.routing.inbound.EventGroup events)
           
 
Methods inherited from class org.mule.routing.inbound.AbstractEventAggregator
addEventGroup, createEventGroup, getEventGroup, getEventGroupIdForEvent, process, removeEventGroup
 
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

EventAggregatorTestCase.SimpleEventAggregator

public EventAggregatorTestCase.SimpleEventAggregator(int eventThreshold)
Method Detail

shouldAggregateEvents

protected boolean shouldAggregateEvents(org.mule.routing.inbound.EventGroup events)
Specified by:
shouldAggregateEvents in class org.mule.routing.inbound.AbstractEventAggregator

aggregateEvents

protected org.mule.umo.UMOMessage aggregateEvents(org.mule.routing.inbound.EventGroup events)
                                           throws org.mule.routing.AggregationException
Specified by:
aggregateEvents in class org.mule.routing.inbound.AbstractEventAggregator
Throws:
org.mule.routing.AggregationException


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