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.