Start Spring Process Application after Spring Context is initialized fully

XMLWordPrintable

      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

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

              Created:
              Updated:
              Resolved: