I am trying to set
property name=“jobExecutorDeploymentAware”>false
globally in camunda is that possible?
I am trying to set
property name=“jobExecutorDeploymentAware”>false
globally in camunda is that possible?
How can I confirm it is set to false? is it recorded in any table? I see a very weird behaviour with http-connector (asyn service task). Sometimes service task are getting stuck.
@EventListener(ApplicationReadyEvent.class)
public void checkJobExecutorDeploymentAware() {
boolean status = BpmPlatform.getDefaultProcessEngine().getProcessEngineConfiguration()
.isJobExecutorDeploymentAware();
log.info("isJobExecutorDeploymentAware:{}", status);
}
Log:
2020-08-12 21:53:02.671 INFO 8876 --- [ main] org.camunda.bpm.container : ENGINE-08050 Process application application successfully deployed
2020-08-12 21:53:02.868 INFO 8876 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 9091 (http) with context path ''
2020-08-12 21:53:02.900 INFO 8876 --- [ main] com.example.workflow.Application : Started Application in 41.601 seconds (JVM running for 53.756)
2020-08-12 21:53:02.909 INFO 8876 --- [ main] com.example.workflow.Application : isJobExecutorDeploymentAware:false
2020-08-12 21:53:02.910 INFO 8876 --- [ main] org.camunda.bpm.engine.jobexecutor : ENGINE-14014 Starting up the JobExecutor[org.camunda.bpm.engine.spring.components.jobexecutor.SpringJobExecutor].
2020-08-12 21:53:02.918 INFO 8876 --- [ingJobExecutor]] org.camunda.bpm.engine.jobexecutor : ENGINE-14018 JobExecutor[org.camunda.bpm.engine.spring.components.jobexecutor.SpringJobExecutor] starting to acquire jobs
https://docs.camunda.org/manual/latest/installation/full/tomcat/manual/#add-bpm-platform-xml
https://docs.camunda.org/manual/latest/installation/full/jboss/manual/#adjust-the-configuration
<process-engine name="default">
...
<properties>
<property name="jobExecutorDeploymentAware">false</property>
...
</properties>
</process-engine>
In spring boot applications, you can configure jobExecutorDeploymentAware property in application.yml like below:
camunda:
bpm:
enabled: true
job-execution:
enabled: true
deployment-aware: false
Note: false is the default value for the property jobExecutorDeploymentAware in camunda.
Refer the process engine properties for default values in the below page: