Skip to content

cppwfs/spring-batch-integration-sample

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Spring Batch Integration Sample

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:

Objective

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.

Running the Sample

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

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%