GitHub user LittleLightCz opened a pull request:
https://github.com/apache/camel/pull/2195
Added BatchAggregationStrategy
I mostly found myself having the need to group the bodies (only) in a List
(not Exchange or Message), so I think it will be useful to have this generic
"batch" aggregation strategy in the Camel core.
Maybe the more proper naming could be GroupedBodyAggregationStrategy or
GroupedInputBodyAggregationStrategy, but they're quite long :-). So I leave the
naming change consideration up to you.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/LittleLightCz/camel batchAggregationStrategy
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/2195.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2195
----
commit ff3896157168c6ef81c3f6f6a86e88872d8c0ff9
Author: LittleLightCz <antonin.brettsnajdr@...>
Date: 2018-01-27T11:29:25Z
Added BatchAggregationStrategy
----
---