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

camel cdi uses postconstruct to inject in cdi beans

    Details

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

      Description

      org.apache.camel.cdi.internal.CamelExtension#onInjectionTarget uses InjectionTarget#postConstruct instead of inject() to inject camel injections. That's not really consistent since postconstruct is done once injections are done because they can be used in post construct methods.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: