-
Feature Request
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
When
- process application is being build with the help of Camunda Spring Boot and @EnableProcessApplication annotation.
Then
- It must be possible to declare global task and execution listeners
Currently, there is no straightforward way to use global listeners together with @EnableProcessApplication annotation.
Related discussions:
https://github.com/camunda/camunda-bpm-spring-boot-starter/issues/184#issuecomment-414703217
https://forum.camunda.org/t/preferred-way-to-use-process-application-event-listener/2238/3
Comment from jan.galinski@holisticon.de:
You might know my extension camunda-bpm-reactor. It uses the (meanwhile discontinued) reactor-eventbus and registers via parse-listener for all event hooks, and you can then subscribe to events and thus implement global taskListeners without changing the models.
I made an approach to adopt this behavior to spring boot with just relying on the spring event publishing.
see https://github.com/camunda/camunda-bpm-spring-boot-starter/pull/298
you can then implement listeners via