camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dermoritz <>
Subject How to split to files and add number to output file names (not overwrite)
Date Mon, 27 Oct 2014 17:12:29 GMT
I have a route that splits large files into smaller ones. All split files
should be written to same directory. The default behavior of file endpoint
(producer) seem to overwrite always.
Is there an easy way to let the file producer do a simple rename by adding a
counter to file name? Like in OS if you do copy/paste on a file and OS does
auto rename by adding (copy-1...).

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message