If you don’t want keep the processed file, you can set the delete option to be true. Or you can exclude the .camel file by using a Filtering[1]
[1]http://camel.apache.org/file2.html#File2-FilteringusingANTpathmatcher -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On April 23, 2014 at 1:27:00 AM, alexey-s ([email protected]) wrote: > The process works on a schedule. Recursively searches the directory. Found > files are processed and fall into a subdirectory named '.camel'. > > path_a > path_b > path_b_a > .camel > path_b_b > .camel > path_c > path_c_a > .camel > path_c_b > .camel > > > Camel route: > > from("file:path_a?recursive=true") > .process("myprocess"); > > Do the contents of the cleaning solution '.camel' of old files? > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-clean-camel-directories-tp5750448.html > > Sent from the Camel - Users mailing list archive at Nabble.com. >
