A consumer that allows you to SFTP files.
You can import SftpConsumerConfiguration
in the application and then inject the following bean.
Consumer<Message<?>> sftpConsumer
You can use sftpConsumer
as a qualifier when injecting.
All configuration properties are prefixed with sftp.consumer
.
For more information on the various options available, please see SftpConsumerProperties.
See this test suite for the various ways, this consumer is used.
See this README where this consumer is used to create a Spring Cloud Stream application where it makes a SFTP sink.