Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.0-RC2
-
None
-
Unknown
Description
Let's say I have
- src/main/resources/route.yaml
- src/main/resources/first.xml
And route.yaml loads the first.xml like this
- set-body: simple: "resource:classpath:first.xml"
If I run this with camel-jbang, it can't resolve the first.xml file.
camel run src/main/resources/* ... Caused by: java.io.FileNotFoundException: Cannot find resource: classpath:first.xml for URI: classpath:first.xml ...
Claus suggested that it might be assuming all the XML files as Camel route XML DSL. It would be handy if this works with camel-jbang OOTB.
Attachments
Issue Links
- relates to
-
CAMEL-18189 camel-core - XML DSL <beans> for custom beans and to embed Camel routes in same file
- Resolved