@EnableBinding(value=org.springframework.cloud.stream.messaging.Source.class)
@EnableConfigurationProperties(value={SftpSourceProperties.class,FileConsumerProperties.class})
@Import(value={TriggerConfiguration.class,SftpSessionFactoryConfiguration.class,org.springframework.cloud.stream.app.trigger.TriggerPropertiesMaxMessagesDefaultUnlimited.class})
public class SftpSourceConfiguration
extends Object
| Constructor and Description |
|---|
SftpSourceConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.integration.dsl.IntegrationFlow |
sftpInboundFlow(org.springframework.integration.file.remote.session.SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sftpSessionFactory,
SftpSourceProperties properties,
FileConsumerProperties fileConsumerProperties) |
@Bean
public org.springframework.integration.dsl.IntegrationFlow sftpInboundFlow(org.springframework.integration.file.remote.session.SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sftpSessionFactory,
SftpSourceProperties properties,
FileConsumerProperties fileConsumerProperties)
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.