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

Do CDI CamelContext creation with an apporpriate TCCL

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.23.0
    • camel-cdi
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: