This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/main by this push: new 1c3d73b456 Document Jandex requirement when adding routes defined in external JARs 1c3d73b456 is described below commit 1c3d73b456ffddaaba13e968e92c1c2ceeb4b993 Author: James Netherton <jamesnether...@users.noreply.github.com> AuthorDate: Mon Jul 8 13:40:03 2024 +0100 Document Jandex requirement when adding routes defined in external JARs --- docs/modules/ROOT/pages/user-guide/defining-camel-routes.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/modules/ROOT/pages/user-guide/defining-camel-routes.adoc b/docs/modules/ROOT/pages/user-guide/defining-camel-routes.adoc index 3fdad3ad95..500178e5fa 100644 --- a/docs/modules/ROOT/pages/user-guide/defining-camel-routes.adoc +++ b/docs/modules/ROOT/pages/user-guide/defining-camel-routes.adoc @@ -49,6 +49,8 @@ but you still need to add the given component's extension as a dependency for th In case of the above example, it would be `camel-quarkus-timer`. ==== +It is also possible to include Java DSL routes from other JARs by adding them as dependencies to your application. When doing this, you must ensure such JARs have a https://quarkus.io/guides/cdi-reference#how-to-generate-a-jandex-index[Jandex index], so that the routes are discoverable at build time. + == XML DSL In order to configure Camel routes, rests or templates in XML, you must add a Camel XML parser dependency to the classpath.