Skip to content

A simple spring boot application that demonstrates file polling using the Spring Integration DSL

License

Notifications You must be signed in to change notification settings

iainporter/spring-file-poller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple Spring Boot application that demonstrates how to set up File polling using the Spring Integration DSL and how to test it

The application consists of an Integration flow that polls a directory for files that match a given regex expression.

On finding a file it is transformed to a String and passed to a message handling flow that writes it out to another directory.

The EIP Flow

EIP diagram

It can be used as an entry point to a bigger application.

The tests show best practices for testing such a component.

See blog post: File Polling made easy with Spring Integration DSL

To build it:

> mvn clean install

To run it:


> mvn spring-boot:run

About

A simple spring boot application that demonstrates file polling using the Spring Integration DSL

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages