You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Gvvenkat <Gv...@yahoo.com> on 2013/02/05 19:34:17 UTC

Re: Transforming large mainframe file

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.

Re: Transforming large mainframe file

Posted by Gvvenkat <Gv...@yahoo.com>.
My bad.. Please ignore this request. I found the solution  for this. 




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

Re: Transforming large mainframe file

Posted by Christian Müller <ch...@gmail.com>.
Also check out my comment in this block post...

Sent from a mobile device
Am 06.02.2013 01:53 schrieb "Gvvenkat" <Gv...@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.
>