@Configuration @EnableConfigurationProperties(value={FtpSupplierProperties.class,FileConsumerProperties.class}) @Import(value=FtpSessionFactoryConfiguration.class) public class FtpSupplierConfiguration extends Object
Constructor and Description |
---|
FtpSupplierConfiguration(FtpSupplierProperties ftpSupplierProperties,
FileConsumerProperties fileConsumerProperties,
org.springframework.integration.metadata.ConcurrentMetadataStore metadataStore,
org.springframework.integration.file.remote.session.SessionFactory<org.apache.commons.net.ftp.FTPFile> ftpSessionFactory) |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Flux<org.springframework.messaging.Message<?>> |
ftpMessageFlux() |
org.springframework.integration.ftp.dsl.FtpInboundChannelAdapterSpec |
ftpMessageSource() |
org.reactivestreams.Publisher<org.springframework.messaging.Message<Object>> |
ftpReadingFlow() |
Supplier<reactor.core.publisher.Flux<org.springframework.messaging.Message<?>>> |
ftpSupplier() |
public FtpSupplierConfiguration(FtpSupplierProperties ftpSupplierProperties, FileConsumerProperties fileConsumerProperties, org.springframework.integration.metadata.ConcurrentMetadataStore metadataStore, org.springframework.integration.file.remote.session.SessionFactory<org.apache.commons.net.ftp.FTPFile> ftpSessionFactory)
@Bean public org.springframework.integration.ftp.dsl.FtpInboundChannelAdapterSpec ftpMessageSource()
@Bean public reactor.core.publisher.Flux<org.springframework.messaging.Message<?>> ftpMessageFlux()
@Bean @ConditionalOnExpression(value="environment[\'file.consumer.mode\'] != \'ref\'") public org.reactivestreams.Publisher<org.springframework.messaging.Message<Object>> ftpReadingFlow()
@Bean public Supplier<reactor.core.publisher.Flux<org.springframework.messaging.Message<?>>> ftpSupplier()
Copyright © 2022. All rights reserved.