Hi You should point it to the main POJO class in that data format, eg the class that has the @CsvRecord class annotation On Wed, Sep 26, 2018 at 5:09 PM Wang Yan <wyan...@gmail.com> wrote: > > if my Pojo is complex, consisting of other Pojos > > How should i create BindyFixedLengthDataFormat instance? > > It seems i need create for 3 pojos but i could only create one like below > > BindyFixedLengthDataFormat bindy = new > BindyFixedLengthDataFormat(com.mypackage.Order.class); > > > > > public class Order { > > @Link Header header; > > @Link Trailer trailer; > > ...... > > } > > > Any hints are more than welcome!
-- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2