Kevin Howell created CAMEL-17114:
------------------------------------
Summary: camel-jslt cannot load files from classpath in quarkus
dev-mode
Key: CAMEL-17114
URL: https://issues.apache.org/jira/browse/CAMEL-17114
Project: Camel
Issue Type: Bug
Reporter: Kevin Howell
See [https://github.com/quarkusio/quarkus/issues/2531] ; essentially quarkus
dev mode classpath resource loading only works properly if
{code:java}
Thread.currentThread().getContextClassLoader().getResourceAsStream(uri);{code}
is used. Currently, JsltEndpoint uses
{code:java}
JsltEndpoint.class.getClassLoader().getResourceAsStream(getResourceUri());{code}
I've tested locally that quarkus dev mode loads the file properly w/ this
change.
A simple route/jslt file are all that are needed to test this (locally, I'm
simply using jslt like \{"foo":"bar"}).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)