the more performante way looks to do : 

       from("file://C:/Temp/camel/input_test/?noop=true")                       
              .split()
              .tokenize("\n")
                     // Business lock with possible reject / enrich etc ...
                     .streaming()
                    
.to("stream:file?fileName=C:/Temp/camel/output_test/out.csv")
                .end()          
       .end();

But the stream is not closed ... Please help, I have to finish my proof of
concept ! :) 

Thanks

JF





--
View this message in context: 
http://camel.465427.n5.nabble.com/Write-enriched-data-after-a-split-in-a-file-tp5728761p5728829.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to