- when
- I configure an engine with not "default" name and it's the only engine
- then
- I can inject it in delegate
- I can see it's name set properly
@Inject
private ProcessEngine processEngine;
Hint
see implementation of org.camunda.bpm.engine.cdi.impl.ProcessEngineServicesProducer it has default engine hardcoded, but if there is only one engine configured, it should probably recognize that only engine as default.