Bindy always maps an "ObjectMaster" and the contained objects to one line [1].
[1] https://git-wip-us.apache.org/repos/asf?p=camel.git;a=blob;f=components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/csv/BindyCsvDataFormat.java;h=3ab36149f803b665eac43e42bbde09bada86d329;hb=HEAD Best, Christian ----------------- Software Integration Specialist Apache Camel committer: https://camel.apache.org/team V.P. Apache Camel: https://www.apache.org/foundation/ Apache Member: https://www.apache.org/foundation/members.html https://www.linkedin.com/pub/christian-mueller/11/551/642 On Fri, Jul 12, 2013 at 2:43 PM, Jothi <[email protected]> wrote: > I have a Bindy bean written as below: > > public class ObjectMaster { > > private String field1; > > @OneToMany > private List < Object1 > field2; > > @OneToMany > private List < Object2 > field3; > } > > I have two CSV files in which unmarshalling one of them would produce a 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-tp5735470p5735570.html > Sent from the Camel - Users mailing list archive at Nabble.com. >
