Skip to content

Latest commit

 

History

History
28 lines (15 loc) · 1.15 KB

File metadata and controls

28 lines (15 loc) · 1.15 KB

Ftp Consumer

A consumer that allows you to ftp files. The consumer uses the FtpMessageHandler from Spring Integration.

Beans for injection

You can import FtpConsumerConfiguration in the application and then inject the following bean.

Consumer<Message<?>> ftpConsumer

You can use ftpConsumer as a qualifier when injecting.

Configuration Options

All configuration properties are prefixed with ftp.consumer.

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

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

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 Ftp sink.