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

Start Spring Process Application after Spring Context is initialized fully

    XMLWordPrintable

Details

    Description

      Problem:

      • 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

      Solution Proposal:

      • 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

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              meyer Daniel Meyer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce