从 5.22.0 迁移到 6.0.0,缺少 jobExecutorActivate 标志
Migration from 5.22.0 to 6.0.0, jobExecutorActivate flag missing
我正在尝试从 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>
我已经知道了。已完全删除:
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.
From activiti userguide.
所以现在正确的标志是asyncExecutorActivate
<property name="asyncExecutorActivate" value="true" />
此外,如果您偶然发现异步执行程序和旧执行程序之间的区别,请参阅 advanced part of the guide。
我正在尝试从 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>
我已经知道了。已完全删除:
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.
From activiti userguide.
所以现在正确的标志是asyncExecutorActivate
<property name="asyncExecutorActivate" value="true" />
此外,如果您偶然发现异步执行程序和旧执行程序之间的区别,请参阅 advanced part of the guide。