org.mule.routing
Class SimpleCollectionAggregator

java.lang.Object
  extended by org.mule.processor.AbstractInterceptingMessageProcessor
      extended by org.mule.routing.AbstractAggregator
          extended by org.mule.routing.SimpleCollectionAggregator
All Implemented Interfaces:
FlowConstructAware, MuleContextAware, Initialisable, Startable, Stoppable, InterceptingMessageProcessor, MessageProcessor, Aggregator, MessageSource

public class SimpleCollectionAggregator
extends AbstractAggregator

This router will return all aggregated events as a MuleMessageCollection. This allows the service itself to act upon the events rather that the user having to write a custom aggregator. This may feel more natural for some users. EIP Reference: http://www.eaipatterns.com/Aggregator.html


Field Summary
 
Fields inherited from class org.mule.routing.AbstractAggregator
eventCorrelator, flowConstruct, messageInfoMapping, muleContext
 
Fields inherited from class org.mule.processor.AbstractInterceptingMessageProcessor
logger, next, notificationHandler
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Startable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Stoppable
PHASE_NAME
 
Constructor Summary
SimpleCollectionAggregator()
           
 
Method Summary
protected  EventCorrelatorCallback getCorrelatorCallback(MuleContext muleContext)
           
 
Methods inherited from class org.mule.routing.AbstractAggregator
expireAggregation, getTimeout, initialise, isFailOnTimeout, process, setFailOnTimeout, setFlowConstruct, setMessageInfoMapping, setMuleContext, setTimeout, start, stop
 
Methods inherited from class org.mule.processor.AbstractInterceptingMessageProcessor
fireNotification, getMuleContext, processNext, setListener, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleCollectionAggregator

public SimpleCollectionAggregator()
Method Detail

getCorrelatorCallback

protected EventCorrelatorCallback getCorrelatorCallback(MuleContext muleContext)
Specified by:
getCorrelatorCallback in class AbstractAggregator


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.