just change .convertBodyTo(String.class) to .convertBodyTo(File.class) On Fri, Jun 10, 2011 at 10:19 AM, fachhoch [via Camel] < [email protected]> wrote:
> Thanks for your reply I want to get them as files(java.io.File) not as > Strings I need each file name and its content . > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://camel.465427.n5.nabble.com/read-all-files-in-folder-tp4474104p4476750.html > To unsubscribe from read all files in folder, click > here<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4474104&code=YmVuLm9kYXlAaW5pdGVrY29uc3VsdGluZy5jb218NDQ3NDEwNHwxNDU1ODI4NTg5>. > > ----- Ben O'Day IT Consultant -http://consulting-notes.com -- View this message in context: http://camel.465427.n5.nabble.com/read-all-files-in-folder-tp4474104p4476754.html Sent from the Camel - Users mailing list archive at Nabble.com.
