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)

Reply via email to