ExceptionClassifierSkipPolicy example

In this post under Spring Batch, I will explain with an example how to use Spring Batch provided ExceptionClassifierSkipPolicy class. ExceptionClassifierSkipPolicy will not contain the logic of how to handle exceptions when thrown. Instead it is a delegator class which passes the exceptions thrown to appropriate exception handling SkipPolicy classes. ExceptionClassifierSkipPolicy will contain a map…… Continue reading ExceptionClassifierSkipPolicy example

Configuring Multiple SkipListeners

In this post under Spring Batch, I will show with example how to configure multiple Skip listeners. In my previous post, I showed how to configure a bean as skip listeners. For recap purpose below is the xml for your reference 1 <bean id=”mySkipListener” class=”package25.MySkipListener”/> 2 3 <batch:job id=”importEmployees”> 4 <batch:step id=”readWriteEmployees”> 5 <batch:tasklet> 6…… Continue reading Configuring Multiple SkipListeners