camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dermoritz <tantea...@hotmail.com>
Subject Re: How to split to files and add number to output file names (not overwrite)
Date Tue, 28 Oct 2014 07:34:15 GMT
Thx claus, but i read those sites already. The problem was i couldn't find
any hint on adding a number or count on the files.

But Stackoverflow helped:
http://stackoverflow.com/questions/26593037/how-to-split-to-files-and-add-number-to-output-file-names-not-overwrite/26595652#26595652


i set the filename this way:

endpoint.setFileName("${file:name.noext}-${property.CamelSplitIndex}.txt");




--
View this message in context: http://camel.465427.n5.nabble.com/How-to-split-to-files-and-add-number-to-output-file-names-not-overwrite-tp5758116p5758198.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message