camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From manojdevendran <>
Subject Stop split after reading first line
Date Mon, 06 Apr 2015 16:09:03 GMT
How can I stop the split after reading the first line of a file? 

Looking for something like "break" in the for loop.

The requirement is to read and validate first line from a large file. Please
let me know if any suggestions. 

Thanks in advance!! 

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message