@EnableBinding(value=org.springframework.cloud.stream.messaging.Source.class)
@EnableConfigurationProperties(value={FtpSourceProperties.class,FileConsumerProperties.class,TriggerPropertiesMaxMessagesDefaultUnlimited.class})
@Import(value={TriggerConfiguration.class,FtpSessionFactoryConfiguration.class})
public class FtpSourceConfiguration
extends Object
| Constructor and Description |
|---|
FtpSourceConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.integration.dsl.IntegrationFlow |
ftpInboundFlow(org.springframework.integration.file.remote.session.SessionFactory<org.apache.commons.net.ftp.FTPFile> ftpSessionFactory,
FtpSourceProperties properties,
FileConsumerProperties fileConsumerProperties) |
@Bean
public org.springframework.integration.dsl.IntegrationFlow ftpInboundFlow(org.springframework.integration.file.remote.session.SessionFactory<org.apache.commons.net.ftp.FTPFile> ftpSessionFactory,
FtpSourceProperties properties,
FileConsumerProperties fileConsumerProperties)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.