Provides examples of a number of different I/O options including
delimited and fix-width files, multiline records, XML, JDBC, and
Demonstrates the execution of a job from another job.
Using the decision tag, demonstrates how to control execution
Uses the SimpleMailMessageItemWriter to send e-mails as the
form of output for each item.
Treats groups of file records as a list that represents a single item.
As an expansion of the multiline input concept, reads in a file with
multiline nested records using a custom reader. The output is also
multiline, using standard writers.
Reads records into a staging table, where a multithreaded step
Uses the MultiResourcePartitioner to process a collection of files
Instead of looking for multiple files and processing each one in
parallel, divides the number of records in the database for parallel
Throws a fake exception when processing has begun, to
demonstrate the ability to restart a job that has errored and have it
begin again where it left off.
Using some interesting logic, shows how Spring Batch can
attempt to process an item multiple times before giving up and
throwing an error.
Based on the tradeJob example. In this job, however, one of the
records fails validation and is skipped.
The most basic use of Spring Batch is the tasklet. This example
shows how any existing method can be used as tasklets via the
Models a real-world scenario. This three-step job imports trade
information into a database, updates customer accounts, and