camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeff <jflebesc...@gmail.com>
Subject Re: Write enriched data after a split in a file
Date Fri, 08 Mar 2013 13:39:07 GMT
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.

Mime
View raw message