camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Müller <christian.muel...@gmail.com>
Subject Re: Transforming large mainframe file
Date Wed, 06 Feb 2013 20:17:29 GMT
Also check out my comment in this block post...

Sent from a mobile device
Am 06.02.2013 01:53 schrieb "Gvvenkat" <Gvvenkat_nj@yahoo.com>:

> 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.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message