public RepeatStatus execute(StepContribution contribution,
ChunkContext chunkContext) throws Exception {
System.out.println("Hello Spring XD With Job Parameters!");
final JobParametersHolder jobParametersHolder = new JobParametersHolder();
final JobParameters jobParameters = chunkContext.getStepContext().getStepExecution().getJobParameters();
final Set<Entry<String, JobParameter>> parameterEntries = jobParameters.getParameters().entrySet();
for (Entry<String, JobParameter> jobParameterEntry : parameterEntries) {
jobParametersHolder.addParameter(jobParameterEntry.getKey(), jobParameterEntry.getValue());
}
jobParametersHolder.countDown();
return RepeatStatus.FINISHED;
}