In this tutorial, we'll learn how to implement the Custom Item Validations to validate the items you want to validate. The Spring Batch V4.1 release has bring below features.
1.4. Bean Validation API support
This release brings a new ValidatingItemProcessor
implementation called BeanValidatingItemProcessor
which allows you to validate items annotated with the Bean Validation API (JSR-303) annotations