Since you don't specify a unique file name for each output of the split (for example by setting the org.apache.camel.file.name header to a unique name) I suppose the output file is overwritten for each string, ending with the last output?
On Tue, Aug 30, 2011 at 9:30 AM, Jan Strube <j...@deriva.de> wrote: > Hello, > > I´m trying to split an ArrayList<String> and writing each element to it´s > own file like in this simplified example: > > > > The log prints each item but only "three" is saved to a file. Wht am I doing > wrong? > > Thanks, > Jan > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Splitting-a-collection-and-writing-to-files-tp4749171p4749171.html > Sent from the Camel - Users mailing list archive at Nabble.com. >