* Maven profiles to support jdk 11 builds. #948 Added maven profiles activated by jdk 11, wich will not break java 8 support. Bumped lombok and datanucleus enhancer as the old versions dont work with 11. * Fixed PMD issue when building naked-objects * Fixed the eip modules with xml dependencies. Previous dependency relaxing commit causes xml libs to go missing from some modules that actually needed them
layout, title, folder, permalink, categories, tags
layout | title | folder | permalink | categories | tags | |||
---|---|---|---|---|---|---|---|---|
pattern | EIP Aggregator | eip-aggregator | /patterns/eip-aggregator/ | Integration |
|
Intent
Sometimes in enterprise systems there is a need to group incoming data in order to process it as a whole. For example you may need to gather offers and after defined number of offers has been received you would like to choose the one with the best parameters.
Aggregator allows you to merge messages based on defined criteria and parameters. It gathers original messages, applies aggregation strategy and upon fulfilling given criteria, releasing merged messages.
Applicability
Use the Aggregator pattern when
- You need to combine multiple incoming messages
- You want to process grouped data