public interface AggregationStrategy
MuleEvent
passed through a
AggregationContext
into a single oneModifier and Type | Method and Description |
---|---|
MuleEvent |
aggregate(AggregationContext context)
aggregates the events in the given context into a single one
|
MuleEvent aggregate(AggregationContext context) throws MuleException
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 metCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.