If you pickup files using the file component, then the message headers
contains file name information.
http://camel.apache.org/file2



On Wed, Jul 10, 2013 at 7:07 PM, Jothi <codeintheo...@gmail.com> wrote:
> Is there a way to find out which CSV file that is currently being processed?
> I mean I have a couple of CSV files and I do not know the name of those CSV
> files. All I know is their structure. If it was XML, I can identify the file
> structure using xpath. Is there something similar that I can do for CSV
> files? The first line always contains the name of the fields. Of course I
> can hard code the fields and do a string comparison, but I feel this to be a
> bit ugly. Is there an elegant way?
>
> Regards,
> Joe
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/CSV-files-processing-tp5735470.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to