AnsweredAssumed Answered

Compatible jobexecutor configurations in activiti 5.22

Question asked by rutenioh on Nov 23, 2017


This is my case, I want to know if I am going to have problems with this configuration


I have two applications using the same activiti database (version 5.22)

The difference between them is the class of jobexecutor defined in activiti.cfg.xml.


In app1 I configure the property

<property name="jobExecutorActivate" value="true"/>


In app2 the jobexecutor configurarion is asynchronous, I put this:


    <bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration">
        <property name="asyncExecutor" ref="asyncExecutor" />              
        <property name="jobExecutorActivate" value="false" />
        <property name="asyncExecutorEnabled" value="true" />
        <property name="asyncExecutorActivate" value="true" />



<bean id="asyncExecutor" class="org.activiti.engine.impl.asyncexecutor.DefaultAsyncJobExecutor">
        <property name="corePoolSize" value="10" />
        <property name="maxPoolSize" value="50" />
        <property name="keepAliveTime" value="3000" />
        <property name="queueSize" value="200" />
        <property name="maxTimerJobsPerAcquisition" value="10" />
        <property name="maxAsyncJobsDuePerAcquisition" value="10" />
        <property name="defaultAsyncJobAcquireWaitTimeInMillis" value="1000" />
        <property name="defaultTimerJobAcquireWaitTimeInMillis" value="1000" />
        <property name="timerLockTimeInMillis" value="60000000" />
        <property name="asyncJobLockTimeInMillis" value="60000000" />


I want to know if I can have problems because when the applications start the workflow engine, the executions of the processes coexist.

Are they compatible these configurations?