use of org.springframework.integration.file.FileReadingMessageSource in project spring-boot by spring-projects.
the class SampleIntegrationApplication method fileReader.
@Bean
public FileReadingMessageSource fileReader() {
FileReadingMessageSource reader = new FileReadingMessageSource();
reader.setDirectory(new File("target/input"));
return reader;
}
Aggregations