Hello,

I am trying to count the number of the lines in a flatfile, once I get that
value I need to write it back to the flat file as part of the file footer. 

For now I did this:

from("direct:fileLinecount").routeId("fileCount")
                                        
.pollEnrich("file://C:/filefolder?noop=true")
                                    .split().tokenize("\n").....

I can see one of the property as "CamelSplitSize" which has the number of
the lines in the flat file. How to access this property? I am unable to get
this value in my route with getProperty...any help would be appreciated.

thanks!



--
View this message in context: 
http://camel.465427.n5.nabble.com/Numbers-of-lines-in-a-flat-file-tp5732455.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to