Pulling Files Periodically and Recursively via SFTP using Spring Integration

Pulling Files Periodically and Recursively via SFTP using Spring Integration

I need a periodic inbound operation, so I cant use a Poller with the SFTP Outbound Gateway.

Simply poll a POJO inbound channel adapter that returns the directory you want to poll and send the message to the outbound gateway.

Docs here. It shows XML configuration but it can be done with Java configuration or the Java DSL too.

Pulling Files Periodically and Recursively via SFTP using Spring Integration

Leave a Reply

Your email address will not be published. Required fields are marked *