davsclaus opened a new issue, #137:
URL: https://github.com/apache/camel-jbang-examples/issues/137

   The `route` rung has no example of a large file read line by line. A 
settlement file of the payment provider fits the shop: one CSV line per payment 
of an order.
   
   The example would show:
   
   - a `split` with the `tokenize` language and `streaming: true`, which reads 
one line at a time, with `skipFirst` for the header line;
   - the CSV data format on each line, with `header` and `useMaps`;
   - the amount converted to a number before it is compared (as text, 
`"1633.36" >= "500"` is false);
   - `doTry` and `doCatch` around a line, so a line that cannot be read is 
appended to `rejects/` and the file goes on to `inbox/done`;
   - `CamelSplitComplete` and `CamelSplitSize` on the last line, for a summary 
that streaming can only give at the end.
   
   _Claude Code on behalf of Claus Ibsen_
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to