We're using Camel's SFTP source to download and process files. We would like achieve the following:
Source files are only deleted from the server if they are older than 2 days. Newer files should be kept on the server, even if they are processed correctly.
Files older than two days should be skipped, and not routed to the next endpoint.
Is there a way to configure Camel to do this? Any help is greatly appreciated! Thanks!