Class FileConsumerConfiguration

java.lang.Object
org.springframework.cloud.fn.consumer.file.FileConsumerConfiguration

@Configuration(proxyBeanMethods=false) @EnableConfigurationProperties(FileConsumerProperties.class) public class FileConsumerConfiguration extends Object
Author:
Mark Fisher, Artem Bilan, Soby Chacko
  • Constructor Details

  • Method Details

    • fileConsumer

      @Bean public Consumer<Message<?>> fileConsumer(org.springframework.integration.file.FileWritingMessageHandler fileWritingMessageHandler)
    • fileWritingMessageHandler

      @Bean public org.springframework.integration.file.FileWritingMessageHandler fileWritingMessageHandler(org.springframework.integration.file.FileNameGenerator fileNameGenerator, @Nullable org.springframework.cloud.fn.common.config.ComponentCustomizer<org.springframework.integration.file.FileWritingMessageHandler> fileWritingMessageHandlerCustomizer)
    • fileNameGenerator

      @Bean public org.springframework.integration.file.FileNameGenerator fileNameGenerator()