How to ask Spring Batch to retry a failed step after some amount of time?
<p>How can I ask Spring Batch to retry a failed step after some amount of time?</p>

<p>If the step fails more than x number of times, I would like to no longer retry the step and have the entire job fail. </p>

<p>I'm using Java Config and prefer to not to use XML to configure the retry.</p>