Class SftpConsumerConfiguration
java.lang.Object
org.springframework.cloud.fn.consumer.sftp.SftpConsumerConfiguration
@Configuration(proxyBeanMethods=false)
@EnableConfigurationProperties(SftpConsumerProperties.class)
@Import(SftpConsumerSessionFactoryConfiguration.class)
public class SftpConsumerConfiguration
extends Object
Configuration for SFTP Consumer.
- Author:
- Soby Chacko, Corneil du Plessis
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.integration.dsl.IntegrationFlow
ftpOutboundFlow
(SftpConsumerProperties properties, org.springframework.integration.file.remote.session.SessionFactory<org.apache.sshd.sftp.client.SftpClient.DirEntry> ftpSessionFactory, org.springframework.cloud.fn.common.config.ComponentCustomizer<org.springframework.integration.sftp.dsl.SftpMessageHandlerSpec> sftpMessageHandlerSpecCustomizer)
-
Constructor Details
-
SftpConsumerConfiguration
public SftpConsumerConfiguration()
-
-
Method Details
-
ftpOutboundFlow
@Bean public org.springframework.integration.dsl.IntegrationFlow ftpOutboundFlow(SftpConsumerProperties properties, org.springframework.integration.file.remote.session.SessionFactory<org.apache.sshd.sftp.client.SftpClient.DirEntry> ftpSessionFactory, @Nullable org.springframework.cloud.fn.common.config.ComponentCustomizer<org.springframework.integration.sftp.dsl.SftpMessageHandlerSpec> sftpMessageHandlerSpecCustomizer)
-