You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "James Netherton (JIRA)" <ji...@apache.org> on 2018/09/25 06:24:00 UTC

[jira] [Created] (CAMEL-12833) Provide a method of customizing Camel CDI context creation

James Netherton created CAMEL-12833:
---------------------------------------

             Summary: Provide a method of customizing Camel CDI context creation
                 Key: CAMEL-12833
                 URL: https://issues.apache.org/jira/browse/CAMEL-12833
             Project: Camel
          Issue Type: Improvement
          Components: camel-cdi
            Reporter: James Netherton
            Assignee: James Netherton


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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)