public static class AggregationStrategyDefinitionParser.AggregationStrategyDelegate extends Object implements AggregationStrategy
Constructor and Description |
---|
AggregationStrategyDefinitionParser.AggregationStrategyDelegate() |
Modifier and Type | Method and Description |
---|---|
MuleEvent |
aggregate(AggregationContext context)
aggregates the events in the given context into a single one
|
void |
setRef(AggregationStrategy ref) |
public AggregationStrategyDefinitionParser.AggregationStrategyDelegate()
public MuleEvent aggregate(AggregationContext context) throws MuleException
AggregationStrategy
aggregate
in interface AggregationStrategy
context
- an instance of AggregationContext
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
insteadMuleException
- if unexpected exception occurs or business error
condition is metpublic void setRef(AggregationStrategy ref)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.