We are building a multi tenant system where each tenant has its own sql datastore for camunda engine.
Is it possible to have it in a single jvm?
Is there a way we can connect cockpit to multiple engines each having different datasource?
In the camunda enterprise edition war shared, there is an applicationContext.xml where we can define the datasource. Is it possible to make multiple entries there?
This is possible if you use the shared process engine (available for Tomcat or Wildfly, not Spring-Boot), configure multiple process engines (Multi-Tenancy | docs.camunda.org) and use the cockpit to switch between the engines: Dashboard | docs.camunda.org
We tested this in local setup with camunda-bpm-tomcat-7.14.0 which was successful. But in production we are using camunda-webapp-tomcat-standalone-7.13.0.war. In this version there is applicationContext.xml instead of bpm-platform.xml and server.xml.
Can you tell how to add multiple datasource in applicationContext.xml.