Thanks a lot. It helped lot. I found a help on how to improve the speed also. 
http://www.catify.com/2012/07/09/parsing-large-files-with-apache-camel/

But, I am unable to convert this into Spring DSL.  Any help will be greatly
appricated..

Here is my equivalent JAVA DSL

    from("file:F:/EbcConversion/Data/inbox?noop=true").
    split().method("mySplitterBean", "testBody").streaming().
    process( new NewDecoder()).
   aggregate(header(Exchange.FILE_NAME_ONLY), 
                        new StringBodyAggregator()).completionSize(750)
                        .completionTimeout(1500).
   
to("file:F:/EbcConversion/Data/outbox/files?fileExist=Append&fileName=output.txt");



--
View this message in context: 
http://camel.465427.n5.nabble.com/Transforming-large-mainframe-file-tp5726423p5726988.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to