camel-file component just treat the file content as input stream, you can write 
a customer bean to handle the content as you want if it doesn't effect how you 
grab the file..

--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On June 20, 2014 at 1:48:09 PM, vishveshmulay ([email protected]) wrote:
> I have to setup camel to process data files where the first line of the file
> is the metadata and then it follows with millions of lines of actual data.
> The metadata dictates how the data is to be processed. What I am looking for
> is something like this:
>  
> Read first line (metadata) and populate a bean (with metadata) --> 2. then
> send data 1000 lines at a time to the data processor which will refer to the
> bean in step # 1
> Is it possible in Apache Camel ?
>  
> I've posted same question in stackoverflow at
> http://stackoverflow.com/questions/24315861/processing-data-based-on-the-metadata-in-the-file-using-apache-camel
>   
>  
>  
>  
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/processing-data-based-on-the-metadata-in-the-file-using-apache-camel-tp5752593.html
>   
> Sent from the Camel - Users mailing list archive at Nabble.com.
>  

Reply via email to