looks fine...that's why I mentioned using convertBodyTo(String.class) earlier...good luck
fachhoch wrote: > > thank u very much , I also tried a simple approach it worked but not sure > if it is right please tell me if it is right , what I did is call > convertBodyTo(String.class) and I noticed exchange has headers and it had > file path filename and some other values so I just called get header > Exchange.FILE_NAME it worked .I get the body and file name of my file. > here is the code > ----- 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-tp4474104p4477958.html Sent from the Camel - Users mailing list archive at Nabble.com.
