camunda spring boot multi tenancy using processes.xml

I am using spring boot 3.x embedded camunda 7.20 and I have multi tenant need with different schema.
I am seeing processes.xml supports creation of the engines per tenant but I am not able to assign a different job acquisition for the engine. Documentation says
I need to use a bpm-platform.xml for job acquisition. But this xml file is for spring boot also ? its not clear.

Also can I do this process engine setup dynamically using an API on my service which does following steps -
SpringProcessEngineConfiguration
config.setDataSource(dataSource());
config.setDeploymentName (…)
config.setDeploymentTenantId ()
config.setTransactionManager(transactionManager());
config.setDatabaseSchema (…)
config.setDatabaseSchemaUpdate(“true”);
config.setHistory(“audit”);
config.setJobExecutorActivate(true);
config.buildProcessEngine();

Q2. In springboot how do I create say 10 JobAcquisitions ? I have 500 tenants
and I want to assign each process engine above to one of JobAcquisitions
when I am creating the process engine?

thanks
rajans

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.