This content has been marked as final.
Show 1 reply
-
1. Re: Browse a directory without reading files content
davsclaus Jul 18, 2012 1:40 AM (in response to vmahe)The file is only read on demand, so you can just avoid reading the file.
You could also just change the message body to null, empty, file name etc.
eg we transform the message body to the file name
from("file:inbox"). transform(header("CamelFileName"))