In one springboot application, you can’t create multiple process engines. In order to setup multiple process engines, better to use container(Tomcat/Wildfly) managed distributions of camunda.
Multitenancy with SpringBoot application,
-
To handle all multiple tenants in same spring boot app, use discriminator column TENANT_ID_ , here single schema is shared across all the tenants.
Reference: Multi-Tenancy | docs.camunda.org. -
Deploy one SpringBoot application per tenant, so each tenant will have own separate schema.
Reference:Multi-Tenancy | docs.camunda.org