CSV files processing

2013-07-10 Thread Jothi
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

Re: CSV files processing

2013-07-10 Thread gquintana
> List> using for example http://supercsv.sourceforge.net/apidocs/org/supercsv/io/CsvMapReader.html I always found strange that Camel CSV marshals from List> but unmarshals to List> -- View this message in context: http://camel.465427.n5.nabble.com/CSV-files-processing-tp5735470p5735

Re: CSV files processing

2013-07-10 Thread Claus Ibsen
rd 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 - Use

Re: CSV files processing

2013-07-11 Thread Joe San
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 N

Re: CSV files processing

2013-07-11 Thread gquintana
e Java object tree (an expression language like Simple <http://camel.apache.org/simple.html> can do that). -- View this message in context: http://camel.465427.n5.nabble.com/CSV-files-processing-tp5735470p5735527.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: CSV files processing

2013-07-12 Thread Jothi
I'm considering the Bindy component to marshall and unmarshall stuff. I can see that there is a OneToMany annotation that I can use. Will the OneToMany only map to a List or can I use a Set as well? -- View this message in context: http://camel.465427.n5.nabble.com/CSV-files-proce

Re: CSV files processing

2013-07-12 Thread Jothi
one to many relationship with ObjectMaster and Object1 and the other CSV file will produce the one to many relationship with ObjectMaster and Object2. Is this possible with the camel bindy? Regards, Joe -- View this message in context: http://camel.465427.n5.nabble.com/CSV-files-processing-tp5735470p

Re: CSV files processing

2013-07-14 Thread Christian Müller
h the camel bindy? > > Regards, > Joe > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/CSV-files-processing-tp5735470p5735570.html > Sent from the Camel - Users mailing list archive at Nabble.com. >