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 2026/06/02 11:06:57 UTC
(camel) 15/15: Add timer, cron, and scheduler to accepted stub names
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch topology-external-endpoints
in repository https://gitbox.apache.org/repos/asf/camel.git
commit b15e1c521ee41202f29df875d6b6a6d79d9b31c8
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Tue Jun 2 13:06:22 2026 +0200
Add timer, cron, and scheduler to accepted stub names
These local/scheduling components should not be stubbed when using
--stub=all, as they don't require external infrastructure.
Co-Authored-By: Claude Opus 4.6 <no...@anthropic.com>
---
.../camel/main/download/DependencyDownloaderComponentResolver.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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 3dc0847b11f0..acb48a2350ea 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
@@ -37,7 +37,8 @@ import org.apache.camel.tooling.model.OtherModel;
public final class DependencyDownloaderComponentResolver extends DefaultComponentResolver {
private static final String[] ACCEPTED_STUB_NAMES = {
- "stub", "bean", "class", "direct", "kamelet", "log", "platform-http", "rest", "seda"
+ "stub", "bean", "class", "cron", "direct", "kamelet", "log", "platform-http", "rest", "scheduler", "seda",
+ "timer"
};
private static final String[] ACCEPTED_TRANSFORM_NAMES = {