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 2023/08/15 07:33:15 UTC
[camel] branch main updated: camel-jbang - direct and seda is allowed when stub
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 6a49eb2a1b0 camel-jbang - direct and seda is allowed when stub
6a49eb2a1b0 is described below
commit 6a49eb2a1b05a8a20b553e2cb9751b8bef305925
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Tue Aug 15 09:31:52 2023 +0200
camel-jbang - direct and seda is allowed when stub
---
.../camel/main/download/DependencyDownloaderComponentResolver.java | 3 ++-
.../main/java/org/apache/camel/main/download/KameletMainInjector.java | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
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 01d1bbe6749..029b6ee9e8b 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
@@ -40,7 +40,8 @@ import org.apache.camel.tooling.model.ComponentModel;
*/
public final class DependencyDownloaderComponentResolver extends DefaultComponentResolver {
- private static final String ACCEPTED_STUB_NAMES = "stub,bean,class,log,kamelet,rest,rest-api,platform-http,vertx-http";
+ private static final String ACCEPTED_STUB_NAMES
+ = "stub,bean,class,direct,kamelet,log,platform-http,rest,rest-api,seda,vertx-http";
private final CamelCatalog catalog = new DefaultCamelCatalog();
private final CamelContext camelContext;
diff --git a/dsl/camel-kamelet-main/src/main/java/org/apache/camel/main/download/KameletMainInjector.java b/dsl/camel-kamelet-main/src/main/java/org/apache/camel/main/download/KameletMainInjector.java
index 7093a7a39a6..c1a691db61e 100644
--- a/dsl/camel-kamelet-main/src/main/java/org/apache/camel/main/download/KameletMainInjector.java
+++ b/dsl/camel-kamelet-main/src/main/java/org/apache/camel/main/download/KameletMainInjector.java
@@ -25,7 +25,8 @@ import org.apache.camel.util.ObjectHelper;
public class KameletMainInjector implements Injector {
private static final String ACCEPTED_STUB_NAMES
- = "StubComponent,BeanComponent,ClassComponent,KameletComponent,RestComponent,RestApiComponent,PlatformHttpComponent,VertxHttpComponent,LogComponent";
+ = "StubComponent,BeanComponent,ClassComponent,DirectComponent,KameletComponent,LogComponent,RestComponent"
+ + ",RestApiComponent,PlatformHttpComponent,SedaComponent,VertxHttpComponent";
private final Injector delegate;
private final String stubPattern;