On Thu, Jun 17, 2010 at 9:55 AM, Charles Moulliard <[email protected]> wrote: > Hi, > > I'm working on Fixed format for camel bindy. I plan to add a new > annotation "@FixedRecord" by opposition with the @CsvRecord and use > the @DataField annotation to define properties of the field. > > Question : Do you prefer that we use the same annotation for CSV and > Fixed data fields or to create a new one called @FixedField ? In this > case, we should maybe rename @DataField to @CsvField for the future ? >
I would assume you can use the same @DataField. You may have to add attribute to indicate length of field for fixed length. I would assume its easier to just use the same. Or at least have one extend the other if 2 is needed. > KR, > > Charles Moulliard > > Senior Enterprise Architect (J2EE, .NET, SOA) > Apache Camel/ServiceMix Committer > > ******************************************************************* > - Blog : http://cmoulliard.blogspot.com > - Twitter : http://twitter.com/cmoulliard > - Linkedlin : http://www.linkedin.com/in/charlesmoulliard > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus
