Hi You can use a java bean in the camel route, and then maybe use java.util.Scanner or InputStream, to position the stream where you want to start.
If its a common use-case we can consider some Camel expression / function to a language / etc. so it configurable even easier. For example some people want to do as much in XML DSL as possible. On Sat, May 4, 2013 at 10:07 AM, helander <leh...@gmail.com> wrote: > I intend to consume a fairly big CSV type file using camel-bindy. The file do > have a fixed amount of lines at the start of the file before the actual CSV > data starts. What would be the best/easiest way to "remove" these initial > lines. I guess that I somehow need to strip them off before the data hits > bindy, or is there some way too tell bindy to skip the first set of lines > (not just THE first)? > Is there some simple way to do a filter that removes a set of initial lines > from a large stream? > > Thanks > > Lars > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Skip-multiple-leading-lines-in-CSV-file-tp5732009.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen