Skip to content
Advertisement

Tag: camel-ftp

Apache Camel: Process file line by line

I have a large file that I want to read and process. I don’t want to load it entirely into memory and instead of this I read each line of the file separately and perform actions on it. I’ve come to this implementation during the work: Before starting to read the file I skip header and footer .filter(/*condition for skip

Advertisement