camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <>
Subject Re: processing data based on the metadata in the file using apache camel
Date Fri, 27 Jun 2014 02:21:10 GMT
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.
Blog: (English) (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem

On June 20, 2014 at 1:48:09 PM, vishveshmulay ( 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
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

View raw message