Getting a reference to the ProcessEngine Bean

I’m looking to inject the ProcessEngine bean into one of my own classes (i.e. custom rest controller), but keep running into issues. I have no problem auto-wiring the other services such as the TaskService, ManagementService, etc, but am unable to do the same with the process engine.

It’s a spring boot application which sets up the ‘embedded’ Camunda engine.

@Autowired
private ProcessEngine processEngine;