Skip to content

Instantly share code, notes, and snippets.

@osanchezh
Last active December 19, 2015 23:29
Show Gist options
  • Save osanchezh/6034785 to your computer and use it in GitHub Desktop.
Save osanchezh/6034785 to your computer and use it in GitHub Desktop.
...
<bean id="chunkHandler" class="org.springframework.batch.integration.chunk.RemoteChunkHandlerFactoryBean">
<property name="chunkWriter" ref="chunkWriter" />
<property name="step" ref="step" />
</bean>
<bean id="resourcelessTransactionManager" class="org.springframework.batch.support.transaction.ResourcelessTransactionManager" />
<bean id="jobRepository" class="org.springframework.batch.core.repository.support.MapJobRepositoryFactoryBean">
<property name="transactionManager" ref="resourcelessTransactionManager" />
</bean>
<batch:job id="testjob" job-repository="jobRepository" restartable="false">
<batch:step id="step">
....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment