Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

cppwfs/spring-batch-integration-sample

Open more actions menu
 
 

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

About

Sample for the Spring Batch Integration project - see: https://github.com/SpringSource/spring-batch-admin/tree/master/spring-batch-integration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.