we’re working on a springboot based camunda application. The application should write data to its own database (not the one used by the process engine).
I’ve found the docs about how to configure this: https://docs.camunda.org/manual/latest/user-guide/spring-boot-integration/configuration/#defaultdatasourceconfiguration
But there is one thing still unclear to me. According to the docs, I have to configure two
DataSources and two
TransactionManagers. But how can I tell to the camunda engine which TxManager it should use? In the docs, a qualifier ("
camundaBpmDataSource") is only provided for the
DataSource so that camunda has a chance to see that it’s the right datasource. But there is no qualifier for the TxManager. How would camunda pick the right one?
Thank you for any hints!