Aggregators Module - Mule 4
Support Category: Select
Aggregators Module v1.0
Aggregators module contains different types of aggregators capable of storing values and releasing them all together based on the configuration specified. An aggregator is a component used to collect those values until a condition is met, then execute a processor’s chain with the list of aggregated elements as the payload.
The basic aggregator configuration consists of the definition of the value to aggregate (extracted from the message through an expression evaluation), a condition that defines when the aggregation is considered complete, and a processor chain that executes once that condition is met.
An aggregator is a pass-through router, meaning that the same message that is processed by the aggregator is going to be processed by the components that follow it. The only modifications are the addition of some message attributes that provide information about the aggregation.
To add a dependency to a project’s pom.xml file, use these statements:
<dependency> <groupId>org.mule.modules</groupId> <artifactId>mule-aggregators-module</artifactId> <version>RELEASE</version> <classifier>mule-plugin</classifier> </dependency>
Mule converts RELEASE to the latest version. To specify a version, view Anypoint Exchange and click Dependency Snippets.