Camel does not delete subdirectories, delete=true deletes only files. 

If you want to delete subdir, then add an onComplete on route and delete on 
success yourself. 

-Shreyas Purohit

On May 6, 2015 8:54 AM, Jarmo Sorvari <[email protected]> wrote:
>
> (Camel 2.12.3) 
>
> Hi! 
>
> Could someone confirm that this is not possible: scan source directory 
> recursively with delete=true, but only files are deleted and subdirectories 
> remain. 
>
> I think I ran into a race condition when trying to set this up: more files 
> were being fed to the subdirectory that Camel was trying to delete. 
>
> Thanks in advance! 
>
> Jarmo Sorvari 
> Tampere University of Applied Sciences 
> Finland 

Reply via email to