Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-11410 Camunda Engine Quarkus Extension
  3. CAM-13746

CDI: Investigate if process engine should be replaceable

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Fixed
    • L3 - Default
    • 7.16.0, 7.16.0-alpha4
    • None
    • quarkus
    • None

    Description

      Introduction

      • The engine-cdi module and the Quarkus extension make use of the RuntimeContainerDelegate implementation.
      • This allows to register multiple process engines and even replace the default engine for users.
      • Some tests ensure unregistering the default engine and replace it with another default engine or a custom engine.
        • These tests are successful on the Weld and Quarkus.

      Problem

      • The engine-cdi module seems to allow registering and using multiple engines in parallel.
        • However, there are no tests that ensure proper functionality.
      • For Quarkus, the current product scope is single-engine support only.

      Solution

      1. Explicitly document that we only support the single-engine scenario with Quarkus.
      2. Solution #1 + artificially prevent registering multiple engines or replacing the default engine.
      3. Add tests for registering multiple engines and replacing the default engine in Quarkus without documenting the limitation.

      Decision

      The main use case of the extension is bootstrapping and using a single-engine per application. Multi-engine support can be achieved by creating multiple applications. This was already decided and defined by the product requirements. Solution #3 and #2 would mean additional unplanned effort. Let's document clearly that the extension only supports the single-engine scenario.

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

                tassilo.weidner Tassilo Weidner
                tassilo.weidner Tassilo Weidner
                Tassilo Weidner Tassilo Weidner
                Nikola Koevski Nikola Koevski
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce