Hi all

Because of bug https://issues.apache.org/jira/browse/CAMEL-4913 I tried to 
migrate
from Camel 2.8.4 to Camel 2.9.2.

Now, all my "xslt:"-endpoints do not work anymore. We load the xslt as a 
resource
from classpath, i.e. "xslt:com.mycompany/test.xsl".

This worked in 2.8.4, but does not work in 2.9.2 anymore.

Caused by: java.io.FileNotFoundException: Cannot find resource in classpath for 
URI: com.mycompany/test.xsl
        at 
org.apache.camel.util.ResourceHelper.resolveMandatoryResourceAsUrl(ResourceHelper.java:122)
        at 
org.apache.camel.component.xslt.XsltEndpoint.loadResource(XsltEndpoint.java:67)
        at 
org.apache.camel.component.xslt.XsltEndpoint.<init>(XsltEndpoint.java:51)
        at 
org.apache.camel.component.xslt.XsltComponent.createEndpoint(XsltComponent.java:131)
        at 
org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:91)
        at 
org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:437)

Has anything changed in the resource loading from Camel 2.8.4 to 2.9.2?

Regards Michael

-- 
Michael Szalay
Senior Software Engineer

basis06 AG, Birkenweg 61, CH-3013 Bern - Fon +41 31 311 32 22
http://www.basis06.ch - source of smart business 

Reply via email to