DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
...
| Info |
|---|
Please note that this aggregation strategy requires eager completion check to work properly. |
In this example we aggregate all text files found in the input directory into a singel single Zip file that is stored in the output directory.
| Code Block |
|---|
from("file:input/directory?antInclude=*/.txt")
.aggregate(new ZipAggregationStrategy())
.constant(true)
.completionFromBatchConsumer()
.eagerCheckCompletion()
.to("file:output/directory"); |
...