我有春季批处理工作如下:
<job id="messageConsumerJob" xmlns="http://www.springframework.org/schema/batch">
<split id="split1" task-executor="taskExecutor">
<flow>
<batch:step id="messageConsumerStep">
<batch:partition step="receiverStep" partitioner="messageConsumer">
<batch:handler grid-size="10" task-executor="taskExecutor" />
</batch:partition>
</batch:step>
</flow>
<flow>
<step id="publishStep">
<tasklet ref="messagePublish" />
</step>
</flow>
</split>
</job>
我想每2天重启一次接收器步骤。