Reputation: 1578
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
Upvotes: 7
Views: 16062
Reputation: 1578
Found it, Sorry guys for bothering:
from("file://inputdir/").convertBodyTo(String.class)
Upvotes: 18