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.

Reply via email to