Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-6338

camel-cdi shouldn't use deltapsike bean manager provider in the CamelExtension

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.16.0
    • Component/s: camel-cdi
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      In an cdi extension the bean manager is injected so camel cdi shouldn't use deltaspike for it.

      A nice side effect of it will be it will remove WARNING

      The only trick it will need will be to give org.apache.camel.cdi.CdiBeanRegistry the bean manager to use. A thread local or delegate (registry.getDelegate()) falling back to DS if null should be fine. It just needs to be resetted after extension startup.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                davsclaus Claus Ibsen
                Reporter:
                romain.manni-bucau Romain Manni-Bucau
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: