简体   繁体   中英

Camel Read File Content

Is there a way(api function) to read the whole content of a file(or line by line) in camel without writing a converter or any java code?

Thanks

发现它,对不起打扰的人:

from("file://inputdir/").convertBodyTo(String.class)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM