从5.22.0迁移到6.0.0,缺少jobExecutorActivate标志

时间:2017-05-30 13:03:32

标签: activiti

我正在尝试从5.22.0迁移到6.0.0。似乎移动了名为jobExecutorActivate的org.activiti.spring.SpringProcessEngineConfiguration或实际org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl的属性。目前的文档没有提到如何迁移这部分。

有人知道如何正确迁移吗?

示例配置:

<bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration">
    <property name="jobExecutorActivate" value="true" />
</bean>

1 个答案:

答案 0 :(得分:4)

我已经知道了。它完全被删除了:

setTimeout() From activiti userguide

现在正确的标志是The async executor of Activiti 5 is the only available job executor in Activiti 6 as it is a more performant and more database friendly way of executing asynchronous jobs in the Activiti Engine. The old job executor of Activiti 5 is removed. More information can be found in the advanced section of the user guide.

asyncExecutorActivate

此外,如果您在此处找到异步和旧执行者之间的差异,请参阅advanced part of the guide