Hi I found this ticket, which refers to another thread https://issues.apache.org/jira/browse/CAMEL-7100
On Wed, Feb 19, 2014 at 3:02 PM, jay <mylifemyrulesmyw...@gmail.com> wrote: > Hi Claus, > it is both as we might get the CR LF or LF in file so i used both. And also > you are right that the tokenizer needs to be adjusted ignoring the invalid > lines/chars - looks like it is not a memory issue - it is issue with the > program. > > > .split(body().tokenize("\n|\r\n")).streaming().convertBodyTo(String.class) > .process(some Processor) > .to(splitMessageQueue); > > > Error is - exhausted after delivery attempt: 1 caught: > org.apache.camel.RuntimeCamelException: Scanner aborted because of an > IOException! > > would you mind to provide me your views on fixing the issue. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/File-Component-route-issue-tp5747281p5747550.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen Make your Camel applications look hawt, try: http://hawt.io