class RetrySampleConfiguration {

	@Bean
	public Job retrySample(JobRepository jobRepository, Step step) {
		return new JobBuilder("retrySample", jobRepository).start(step).build();
	}

	@Bean
	protected Step step(JobRepository jobRepository, JdbcTransactionManager transactionManager) {<FILL_FUNCTION_BODY>}

	@Bean
	protected GeneratingTradeItemReader reader() {
		GeneratingTradeItemReader reader = new GeneratingTradeItemReader();
		reader.setLimit(10);
		return reader;
	}

	@Bean
	protected RetrySampleItemWriter<Object> writer() {
		return new RetrySampleItemWriter<>();
	}

}

		return new StepBuilder("step", jobRepository).<Trade, Object>chunk(1, transactionManager)
			.reader(reader())
			.writer(writer())
			.faultTolerant()
			.retry(Exception.class)
			.retryLimit(3)
			.build();
	
<no_super_class>