Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-14784

Allow overwriting beans in CamundaBpmAutoConfiguration

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: L3 - Default L3 - Default
    • None
    • 7.17.0
    • spring-boot
    • 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.

      Functional Requirements (Required before implementation):

      Technical Requirements (Required before implementation):

      Limitations of Scope (Optional):

      Hints (optional):

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              nils-christian.ehmke Nils Christian Ehmke
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: