-
Type:
Bug Report
-
Resolution: Unresolved
-
Priority:
L3 - Default
-
None
-
Affects Version/s: None
-
Component/s: engine
-
None
Scenario:
- Create a process engine based on camunda.cfg.xml
- Assume the name is "foo"
- Call ProcessEngines.getProcessEngine("foo")
- This always reads camunda.cfg.xml again, creates another process engine, registers it (and therefore may replace the original "foo" engine)
Impact:
- This method is harmful in scenarios like above, for example our test suite
Side note:
- process engine initialization is also not thread-safe