On Fri, Nov 4, 2011 at 8:37 PM, ebinsingh
<[email protected]> wrote:
> I also tried the below. For some reason tie time taken from printing the
> "Starting to process big file" to calling the bean method "parseMarsData"
> takes an average of 15 milli seconds.

Do you see the 15 millis on the 2nd+ files?



>
> The input file has 2000 lines of data.
>
> I am just passing them as a string to the method "parseMarsData" which does
> some pasrsing on these data.
>
> Please advise if there is a better way to do this so it increases the
> performance.
>
>
>
>                from("file:C:\\camelProject\\data\\inbox\\mars")
>                .log("Starting to process big file: ${header.CamelFileName}")
>                .bean(MarsParser.class,"parseMarsData")
>
> .to("file:C:\\camelProject\\data\\outbox\\mars?fileName=${file:onlyname.noext}");
>
> Thanks & regards,
> Ebe
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Performance-issue-tp4964485p4965077.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to