You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/03/18 08:37:00 UTC

[jira] [Created] (CAMEL-17820) camel-jbang - Add option to include resources to classpath

Claus Ibsen created CAMEL-17820:
-----------------------------------

             Summary: camel-jbang - Add option to include resources to classpath
                 Key: CAMEL-17820
                 URL: https://issues.apache.org/jira/browse/CAMEL-17820
             Project: Camel
          Issue Type: New Feature
          Components: camel-jbang
            Reporter: Claus Ibsen
             Fix For: 3.17.0


If you use

jbang run foo.java openapi.json then those are used for camel DLS and properties. So the openapi.json file is not really in use.

We should make it easy to include all these extra files on the classpath then.

And maybe also have a CLI option to specify classpath resources

camel run foo.java --resource myjson.json --resource data.bin





--
This message was sent by Atlassian Jira
(v8.20.1#820001)