Hello Jeevan! Sorry for answering so late... If your input file is line oriented (CSV or fixed length), you do not have to implement your own splitter.
from("file://foo.txt").split(body().tokenize("\n")).streaming().to("...");
or
from("file://foo.csv").split(body().tokenize(",")).streaming().to("...");
should meet your requirements (or I miss something).
Best,
Christian
