Class FtpSupplierConfiguration

java.lang.Object
org.springframework.cloud.fn.supplier.ftp.FtpSupplierConfiguration

@Configuration(proxyBeanMethods=false) @EnableConfigurationProperties({FtpSupplierProperties.class,FileConsumerProperties.class}) @Import(FtpSessionFactoryConfiguration.class) public class FtpSupplierConfiguration extends Object
Author:
David Turanski, Marius Bogoevici, Gary Russell, Artem Bilan, Christian Tzolov
  • Constructor Summary

    Constructors
    Constructor
    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)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    reactor.core.publisher.Flux<Message<?>>
     
    org.springframework.integration.ftp.dsl.FtpInboundChannelAdapterSpec
    ftpMessageSource(org.springframework.cloud.fn.common.config.ComponentCustomizer<org.springframework.integration.ftp.dsl.FtpInboundChannelAdapterSpec> ftpInboundChannelAdapterSpecCustomizer)
     
    org.reactivestreams.Publisher<Message<Object>>
    ftpReadingFlow(org.springframework.integration.ftp.inbound.FtpInboundFileSynchronizingMessageSource ftpMessageSource)
     
    Supplier<reactor.core.publisher.Flux<Message<?>>>
    ftpSupplier(org.reactivestreams.Publisher<Message<Object>> ftpReadingFlow)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FtpSupplierConfiguration

      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)
  • Method Details

    • ftpMessageSource

      @Bean public org.springframework.integration.ftp.dsl.FtpInboundChannelAdapterSpec ftpMessageSource(@Nullable org.springframework.cloud.fn.common.config.ComponentCustomizer<org.springframework.integration.ftp.dsl.FtpInboundChannelAdapterSpec> ftpInboundChannelAdapterSpecCustomizer)
    • ftpMessageFlux

      @Bean public reactor.core.publisher.Flux<Message<?>> ftpMessageFlux()
    • ftpReadingFlow

      @Bean @ConditionalOnExpression("environment[\'file.consumer.mode\'] != \'ref\'") public org.reactivestreams.Publisher<Message<Object>> ftpReadingFlow(org.springframework.integration.ftp.inbound.FtpInboundFileSynchronizingMessageSource ftpMessageSource)
    • ftpSupplier

      @Bean public Supplier<reactor.core.publisher.Flux<Message<?>>> ftpSupplier(@Nullable org.reactivestreams.Publisher<Message<Object>> ftpReadingFlow)