There is no such option to skip last line. You can do a message transformation afterwards to skip the line or remove the last etc using a bit of java code / simple / groovy etc.
I am not sure if the CSV library supports a skip footer option but you are welcome to research. Or we can try adding that to camel-csv. If so you are welcome to log a JIRA ticket. On Wed, Feb 8, 2017 at 5:49 PM, FoZi <[email protected]> wrote: > I'm using apache camel in a routing context to integrate some CSV files. If I > want to skip the first line of the csv I can easily do it in the unmarshal: > > > <unmarshal> > <csv delimiter=";" skipFirstLine="true"/> > </unmarshal> > > > My question is, whats the best way to ignore/skip the last line of the file > ? > > Thank you in advance, > FoZi > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Skip-Footer-Last-Line-tp5793689.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2
