...
The Composed Message Processor from the EIP patterns allows you to process a composite message by splitting it up, routing the sub-messages to appropriate destinations and the re-aggregating the responses back into a single message.
In Camel we have provide two solutions
- using both a Splitter and Aggregator EIPs
- using only a Splitter
The difference is when using only using a Splitter then it aggregates back all the splitted messages into the samme same aggregation group, eg like a fork/join pattern.
Where as Whereas using the Aggregator allows you group into multiple groups, and the a pattern has which provides more options.
Tip |
---|
Using only the splitter alone is often easier and possible possibly a better solution. So take a look at this first, before involving the aggregator. |
...