- When the SpringProcessApplication#afterPropertiesSet() method is called, the deployment is created and is registered with the job executor. Once this is done, the job executor starts executing jobs. This can be a problem if not all other application beans are initialized yet
- implement ApplicationListener instead of InitializingBean, DisposableBean. This way we get a callback when the context is fully built.
Note: see PR: https://github.com/camunda/camunda-bpm-platform/pull/49