org.mule.config.spring.factories
Class AggregationStrategyDefinitionParser.AggregationStrategyDelegate

java.lang.Object
  extended by org.mule.config.spring.factories.AggregationStrategyDefinitionParser.AggregationStrategyDelegate
All Implemented Interfaces:
AggregationStrategy
Enclosing class:
AggregationStrategyDefinitionParser

public static class AggregationStrategyDefinitionParser.AggregationStrategyDelegate
extends Object
implements AggregationStrategy


Constructor Summary
AggregationStrategyDefinitionParser.AggregationStrategyDelegate()
           
 
Method Summary
 MuleEvent aggregate(AggregationContext context)
          aggregates the events in the given context into a single one
 void setRef(AggregationStrategy ref)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregationStrategyDefinitionParser.AggregationStrategyDelegate

public AggregationStrategyDefinitionParser.AggregationStrategyDelegate()
Method Detail

aggregate

public MuleEvent aggregate(AggregationContext context)
                    throws MuleException
Description copied from interface: AggregationStrategy
aggregates the events in the given context into a single one

Specified by:
aggregate in interface AggregationStrategy
Parameters:
context - an instance of AggregationContext
Returns:
a resulting MuleEvent. It can be a new event, an enriched version of AggregationContext.getOriginalEvent() or whatever makes sense in your use case. It cannot be null, return VoidMuleEvent instead
Throws:
MuleException - if unexpected exception occurs or business error condition is met

setRef

public void setRef(AggregationStrategy ref)


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