You can specify exception classes on which to retry the operation.

You can specify exception classes on which to retry the operation.
Code:
<step id = "step23">
       <tasklet transaction-manager="transactionManager">
            <chunk reader="csvFileReader" writer="jdbcItemWriter" commit-interval="10" retry-limit="3" cache-capacity="10">
           <retryable-exception-classes>
           <include class="org.springframework.dao.DeadlockLoserDataAccessException"/>
           </retryable-exception-classes>
           </chunk>
       </tasklet>
</step>
A. True
B. False
 

Tìm kiếm

Back
Top