Spring Batch 4.1 goes GA!
I am pleased to announce that Spring Batch 4.1.0.RELEASE is now available.
What's New in Spring Batch 4.1 GA
This release adds the following features:
- A new
@SpringBatchTest
annotation to simplify testing batch components - A new
@EnableBatchIntegration
annotation to simplify remote chunking and partitioning configuration - Support for reading and writing data in JSON format
- Support for validating items with the Bean Validation API
- Support for JSR-305 annotations
- Enhancements to the
FlatFileItemWriterBuilder
API
@SpringBatchTest
Annotation
Spring Batch provides some nice utility classes (such as the JobLauncherTestUtils
and
JobRepositoryTestUtils
) as well as test execution listeners (StepScopeTestExecutionListener
and JobScopeTestExecutionListener
) to test batch components. However, in order
to use these utilities, you must configure them explicitly. This release introduces
a new annotation named @SpringBatchTest
…