In Apache camel,if i delete a file in input directory meanwhile the same file should also be deleted in output directory automatically? am new to Apache camel please suggest me some ideas.
thank you,
In Apache camel,if i delete a file in input directory meanwhile the same file should also be deleted in output directory automatically? am new to Apache camel please suggest me some ideas.
thank you,
That is not how the Camel file component is designed. Its not a file sync tool. You can use rsync or some other tool for that.
The Camel file component is for picking up new files in a directory. It only reacts on new files, not on files being deleted.
I think you have not read the camel documentation because as Claus Ibsen states, Cmael is not a file sync tool. You should find another tool if you have deletition to be a trigger mechanism.