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

CDI: Investigate and decide if beans.xml needs a replacement

XMLWordPrintable

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

      Problem

      • Quarkus does not respect the content of a META-INF/beans.xml file. The following options can be configured in CDI 1.0:
        • Interceptors
        • Decorators
        • Alternatives
      • In Weld 1.1, it is additionally possible to configure the following options:
        • Scan: include / exclude
          • Weld documentation:

            <scan> provides fine control over the classes loaded by Weld for scanning by nesting a number of include and exclude filters. [...]

      Reasoning

      • Interceptors (CAM-13752), Alternatives (CAM-13747), and Decorators are automatically discovered and registered by Quarkus
        • Exclusion is possible via the property quarkus.arc.exclude-types in the application.properties file
        • For Alternatives, there are even more ways to control them via Quarkus see CAM-13747
      • The Weld-specific scan configuration might be mightier compared with what can be configured in Quarkus

      Decision

      We should not try to provide Camunda-specific ways to replace the beans.xml file. Instead, we should document this limitation and make the users aware that there are alternative ways to configure Quarkus similarly (either programmatically or via application.properties file).

        This is the controller panel for Smart Panels app

              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

                Created:
                Updated:
                Resolved: