REOPENED - issue BATCH-222: StreamManager for reader/writer abstractions uses StreamContext to position at the right place for restart
http://jira.springframework.org/browse/BATCH-222 ALign some dependencies - SimpleStepExecutor does not need a transaction manager
This commit is contained in:
@@ -87,7 +87,7 @@
|
||||
<property name="jobRepository" ref="jobRepository" />
|
||||
<property name="transactionManager" ref="transactionManager" />
|
||||
<property name="allowStartIfComplete" value="true" />
|
||||
<property name="saveStreamContext" value="false" />
|
||||
<property name="saveStreamContext" value="true" />
|
||||
</bean>
|
||||
|
||||
<bean id="simpleStep" parent="abstractStep"
|
||||
@@ -101,16 +101,11 @@
|
||||
</bean>
|
||||
</property>
|
||||
<property name="commitInterval" value="1" />
|
||||
<property name="saveStreamContext" value="true" />
|
||||
</bean>
|
||||
|
||||
<bean id="repeatOperationsStep" parent="abstractStep"
|
||||
class="org.springframework.batch.execution.step.simple.RepeatOperationsStep"
|
||||
abstract="true">
|
||||
<property name="allowStartIfComplete" value="true" />
|
||||
<property name="saveStreamContext" value="false" />
|
||||
<property name="jobRepository" ref="jobRepository" />
|
||||
<property name="transactionManager" ref="transactionManager" />
|
||||
</bean>
|
||||
|
||||
<bean id="customEditorConfigurer"
|
||||
|
||||
Reference in New Issue
Block a user