How do I implement a MessageSourceMutator that dynamically sets the remote directory based on the date format yyyymmdd and can go thru a date range?
Im using spring sftp integration (Inbound) to read files from directories in a base SFTP directory, /foo/maindir. The sub directories are in the format: yyyymmdd and contain the files I need to download and process. How do I traverse these directories using MessageSourceMutator to dynamically set the remote directory based on the current date. I would also appreciate sample code to traverse directories between dates.
Migrated from Spring Integration 5.5 to 6.2.3 and cannot configure Keep Alive for sftp
After upgrade to Spring Integration 6.2.3 from 5.5 the DefaultSftpSessionFactory
seems to lose keep alive config methods: