Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure NativeImageResourceBuildItem for camel route classpath resources #1812

Closed
jamesnetherton opened this issue Sep 21, 2020 · 0 comments · Fixed by #1821
Closed

Configure NativeImageResourceBuildItem for camel route classpath resources #1812

jamesnetherton opened this issue Sep 21, 2020 · 0 comments · Fixed by #1821
Assignees
Milestone

Comments

@jamesnetherton
Copy link
Contributor

When choosing to use XML routes, you'll have a config property like:

camel.main.xml-routes = classpath:routes/my-routes.xml

If you want to build a native executable, then you must ensure the route XML file is added to the build via -H:IncludeResources or quarkus.camel.native.resources.include-patterns.

We should do this programatically so that users do not need to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant