Details
-
Type:
Improvement
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.17.0
-
Component/s: camel-core
-
Labels:None
-
Estimated Complexity:Unknown
Description
For example if you have a list / resultset or something, and you want to split that by 1000, then its not super easy to do.
The tokenizer language has that but it assume a token is in place. But if the body is list / collection, we should be able to group them.
Maybe a function on simple language?
<split>
<simple>${collate(${body}, 1000)}</simple>
...
</split>
Now its to come up with a good function name.
Also the body could be implied, so its just
<split>
<simple>${collate(1000)}</simple>
...
</split>