This is a sample for the Spring Batch Integration project.
The sample is based on the sample create for the book Spring Integration in Action. You can find that sample at:
This sample uses Spring Batch Integration to more easily use Spring Batch and Spring Integration together. The application will poll a directory for a file that contains 27 payment records. Spring Batch will subsequently process those payments.
You can run the application by either
-
running the "Main" class from within STS (Right-click on Main class --> Run As --> Java Application)
-
or from the command line:
$ mvn package $ mvn exec:java
Or via one line:
$ mvn clean package exec:java
As a result the final console output should be:
DONE!!
exitStatus: COMPLETED; imported # of payments: 27