I am trying to have a reference (in a Java application) on a started Camunda engine (Tomcat/Windows 10).
The code : ProcessEngine processEngine = ProcessEngines.getDefaultProcessEngine();
looks at an existing camunda.cfg.xml and returns a null pointer.
How can I set a camunda.cfg.xml file (it looks like the bpm-platform.xml existing file)?
Is there another way?

Thank’s for your help


Please take a look at the documentation:

Best, McAlm

Thank’s. In fact I am trying to get a reference (in java) to a shared ProcessEngine .
For example, it’s easy to start a process in Java via REST, but how can I do that with a simple POJO?
Best regards

What application framework are you using? Spring, SpringBoot, CDI (Java-EE) or a Servletapplication?