![]() |
With external configuration
aggregate java "myaggregate"
With inline configuration
aggregate java ("name=value,*")
A template POJO which implements the Aggregate EIP extension interface is generated in the application's space, this POJO can be updated by a developer to customize the aggregation behaviour.
The default package and class name of the generated Aggregate POJO defaults to "aggregate.{aggregateName}" and "Aggregator". In case the configuration is external, then aggregateName = externalConfigName, if it's inline then the aggregateName is a system generated name. A user can specify a classname/packagename in the configuration to override the defaults.
For example:
aggregate java "myaggregate"
The Aggregate POJO has :
packagename = aggregate.myaggregate
classname = Aggregator
Location of the generated source file:
src/main/java/aggregate/myaggregate/Aggregator.java