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: 
http://camel.465427.n5.nabble.com/Stop-split-after-reading-first-line-tp5765370.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to