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

Do CDI CamelContext creation with an apporpriate TCCL

    XMLWordPrintableJSON

    Details

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

      Description

      For some platforms it'd be useful if Camel CDI had some way of customizing the way in which a CamelContext was created. E.g for controlling which ClassLoader is used during instantiation.

      I propose to introduce a ContextCreateStrategy which users can provide custom instances of in their deployments. The default implementation will do CamelContext creation as per normal.

      Some more background for the motivation here:

      https://github.com/wildfly-extras/wildfly-camel/issues/2497

        Attachments

          Activity

            People

            • Assignee:
              jamesnetherton James Netherton
              Reporter:
              jamesnetherton James Netherton
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: