-
Task
-
Resolution: Won't Fix
-
L3 - Default
-
None
-
None
-
None
A limitation exists when Delegate Expression is not used for SpringBoot Java Delegate Resolution.
Without Delegate Expression, the Spring autowiring doesn't work.
Consider documenting the limitation in the User guide and also mentioning it in the examples (https://github.com/camunda/camunda-bpm-examples/tree/master/spring-boot-starter and https://docs.camunda.org/get-started/spring/service-task/)
Related to https://forum.camunda.org/t/impacts-of-not-using-delegate-expression-for-springboot-java-delegate-resolution-needs-to-be-highlighted-more-clearly-in-docs/11427
Hints: https://stackoverflow.com/questions/53820774/what-are-the-benefits-of-using-expression-delegates-over-java-classes/53927056#53927056
Before we document this, let's understand why the logic in SpringArtifactFactory (configured via SpringProcessEngineConfiguration) does not work here.