-
Feature Request
-
Resolution: Unresolved
-
L3 - Default
-
None
-
7.17.0
-
None
User Story (Required on creation):
Hi,
The following issue is about a code part in the Camunda Spring Boot Starter.
We are using custom ApplicationEvent in our application to control certain lifecycle aspects during the startup. This means also that we have some subsequent migrations regarding Camunda. This migration is executed after a certain event has been published. Unfortunately, Camunda already starts on the ApplicationReadyEvent (as can be seen in the ProcessApplicationEventPublisher), which is too early for us. In order to give developers more control, it would be sufficient if one could at least overwrite the beans in the CamundaBpmAutoConfiguration without using something like the spring.main.allow-bean-definition-overriding-Setting.
It would thus be very useful if the beans in the CamundaBpmAutoConfiguration would be marked with ConditionalOnMissingBean. This would allow easy and clean "overring" of the beans in question with custom logic.