Camunda 7 Embedded
If you start with a Camunda Platform 7, operated in an embedded engine mode, by for example using the Camunda Spring Boot Starter, the following configuration is applicable for you.
First of all, add the corresponding adapter to your project's classpath:
<dependency>
<groupId>dev.bpm-crafters.process-engine-adapters</groupId>
<artifactId>process-engine-adapter-camunda-platform-c7-embedded-spring-boot-starter</artifactId>
<version>${process-engine-api.version}</version>
</dependency>
and finally, add the following configuration to your configuration properties. Here is a version for application.yaml
:
dev:
bpm-crafters:
process-api:
adapter:
c7embedded:
enabled: true
service-tasks:
delivery-strategy: embedded_scheduled
worker-id: embedded-worker
lock-time-in-seconds: 10
execute-initial-pull-on-startup: true
schedule-delivery-fixed-rate-in-seconds: 5
user-tasks:
delivery-strategy: embedded_scheduled
execute-initial-pull-on-startup: true
schedule-delivery-fixed-rate-in-seconds: 5