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

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Fixed
    • Priority: L3 - Default
    • 7.16.0, 7.16.0-alpha4
    • Affects Version/s: None
    • Component/s: 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

              Assignee:
              Tassilo Weidner-Mühl
              Reporter:
              Tassilo Weidner-Mühl
              Tassilo Weidner-Mühl Tassilo Weidner-Mühl
              Nikola Koevski Nikola Koevski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: