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:20:00 UTC

[jira] [Created] (CAMEL-12832) Improve Camel CDI context XML resource loading

James Netherton created CAMEL-12832:
---------------------------------------

             Summary: Improve Camel CDI context XML resource loading
                 Key: CAMEL-12832
                 URL: https://issues.apache.org/jira/browse/CAMEL-12832
             Project: Camel
          Issue Type: Improvement
          Components: camel-cdi
            Reporter: James Netherton
            Assignee: James Netherton


Camel CDI Class [ResourceHelper|https://github.com/apache/camel/blob/master/components/camel-cdi/src/main/java/org/apache/camel/cdi/ResourceHelper.java] is used to load Camel XML configuration via the {{@ImportResource}} annotation.

It'd be useful for some platforms if the {{ClassLoader}} used to do the resource loading is the one associated with the {{@ImportResource}} annotated class.

Some more background here:

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



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