RESOLVED - issue BATCH-1528: Namespace context partition element requires bean with name "transactionManager"

This commit is contained in:
dsyer
2010-03-10 08:52:48 +00:00
parent 5ff90e77c5
commit e2d1c3d920

View File

@@ -244,7 +244,7 @@ class StepParserStepFactoryBean<I, O> implements FactoryBean, BeanNameAware {
public boolean requiresTransactionManager() {
// Currently all step implementations other than TaskletStep are
// AbstractStep and do not require a transaction manager
return tasklet != null;
return hasChunkElement || tasklet != null;
}
private void configureAbstractStep(AbstractStep ts) {