在所有分区返回之前发生超时

时间:2018-07-19 13:26:37

标签: spring-integration spring-batch

我们已经实现了Spring批处理与远程分区的集成。当执行作业时,在执行所有从站之后,它会引发以下异常,导致maser无法完成

2018-07-19 16:31:25,872 ERROR [Camel (BatchJobTriggerContext) thread #1583 - JmsConsumer[batchProcessQueue]] o.s.b.c.s.AbstractStep [AbstractStep.java:222] Encountered an error executing step casaComputeMasterStep in job X
org.springframework.integration.MessageTimeoutException: Timeout occurred before all partitions returned








<bean:bean class="org.springframework.integration.core.MessagingTemplate">
        <bean:property name="defaultChannel" ref="MasterRequestChannel" />
        <bean:property name="receiveTimeout" value="30000" />
</bean:bean>

0 个答案:

没有答案