Java Reference
In-Depth Information
ioSampleJob
Provides examples of a number of different I/O options including
delimited and fix-width files, multiline records, XML, JDBC, and
iBATIS integration.
jobSampleJob
Demonstrates the execution of a job from another job.
loopFlowSample
Using the decision tag, demonstrates how to control execution
flow programmatically.
mailJob
Uses the SimpleMailMessageItemWriter to send e-mails as the
form of output for each item.
multilineJob
Treats groups of file records as a list that represents a single item.
multilineOrder
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.
parallelJob
Reads records into a staging table, where a multithreaded step
processes them.
partitionFileJob
Uses the MultiResourcePartitioner to process a collection of files
in parallel.
partitionJdbcJob
Instead of looking for multiple files and processing each one in
parallel, divides the number of records in the database for parallel
processing.
restartSampleJob
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.
retrySample
Using some interesting logic, shows how Spring Batch can
attempt to process an item multiple times before giving up and
throwing an error.
skipSampleJob
Based on the tradeJob example. In this job, however, one of the
records fails validation and is skipped.
taskletJob
The most basic use of Spring Batch is the tasklet. This example
shows how any existing method can be used as tasklets via the
MethodInvokingTaskletAdapter.
tradeJob
Models a real-world scenario. This three-step job imports trade
information into a database, updates customer accounts, and
generates reports.
 
Search WWH ::




Custom Search