From f344e0d56d25e26ee668a236b2ffdaf85376d761 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Pupier?= Date: Tue, 21 Jan 2025 10:06:26 +0100 Subject: [PATCH] Provide documentation to export to Camel Quarkus project with productized version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Pupier --- docs/index.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/index.md b/docs/index.md index 71fe2970..366b290c 100644 --- a/docs/index.md +++ b/docs/index.md @@ -41,3 +41,18 @@ This extension provides completion, validation and documentation features for Ap - [XML DSL Only](./content/xml-dsl-only.md) - Auto-completion for referenced IDs of `direct`, `direct VM`, `VM` and `SEDA` components - Find references for `direct` and `direct VM` components + +## How to export with Red Hat productized version + +To export a standalone Camel file to a Red Hat productized version, you can use an `application.properties` file. + +For instance for Quarkus, you can provide this content: +``` +camel.jbang.repos=https://maven.repository.redhat.com/ga/ +# The version is the Quarkus bom https://maven.repository.redhat.com/ga/com/redhat/quarkus/platform/quarkus-camel-bom +camel.jbang.quarkusVersion=3.15.2.redhat-00003 +camel.jbang.quarkusGroupId=com.redhat.quarkus.platform +``` +Then you can use as usual the command `Camel: Create a Camel Quarkus project` from the command palette. + +Note you can further customize the export using this file, see the [upstream documentation](https://camel.apache.org/manual/camel-jbang.html#_configuring_exporting) for available parameters.