You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2025/04/22 17:30:42 UTC
(camel) branch main updated: CAMEL-22006: camel-jbang - Detect rest-openapi need rest producer component to function
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 07e394b6708 CAMEL-22006: camel-jbang - Detect rest-openapi need rest producer component to function
07e394b6708 is described below
commit 07e394b6708e8fbb3198d61f60358ce0cdb28786
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Tue Apr 22 19:28:20 2025 +0200
CAMEL-22006: camel-jbang - Detect rest-openapi need rest producer component to function
---
.../camel/main/download/DependencyDownloaderComponentResolver.java | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/dsl/camel-kamelet-main/src/main/java/org/apache/camel/main/download/DependencyDownloaderComponentResolver.java b/dsl/camel-kamelet-main/src/main/java/org/apache/camel/main/download/DependencyDownloaderComponentResolver.java
index 34001095d35..135b5020b54 100644
--- a/dsl/camel-kamelet-main/src/main/java/org/apache/camel/main/download/DependencyDownloaderComponentResolver.java
+++ b/dsl/camel-kamelet-main/src/main/java/org/apache/camel/main/download/DependencyDownloaderComponentResolver.java
@@ -92,6 +92,11 @@ public final class DependencyDownloaderComponentResolver extends DefaultComponen
if (oa != null) {
downloadLoader(oa.getGroupId(), oa.getArtifactId(), oa.getVersion());
}
+ // include producer component
+ ComponentModel http = catalog.componentModel("vertx-http");
+ if (http != null) {
+ downloadLoader(http.getGroupId(), http.getArtifactId(), http.getVersion());
+ }
}
if ("cron".equals(name)) {
// include camel-quartz when using cron