Skip to content

Latest commit

 

History

History
27 lines (14 loc) · 1.08 KB

File metadata and controls

27 lines (14 loc) · 1.08 KB

SFTP Consumer

A consumer that allows you to SFTP files.

Beans for injection

The SftpConsumerConfiguration auto-configuration provides the following bean:

Consumer<Message<?>> sftpConsumer

You can use sftpConsumer as a qualifier when injecting.

Configuration Options

All configuration properties are prefixed with sftp.consumer.

For more information on the various options available, please see SftpConsumerProperties.

A ComponentCustomizer<SftpMessageHandlerSpec> bean can be added in the target project to provide any custom options for the SftpMessageHandlerSpec configuration used by the sftpConsumer.

Tests

See this test suite for the various ways, this consumer is used.

Other usage

See this README where this consumer is used to create a Spring Cloud Stream application where it makes a SFTP sink.