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/03 05:57:02 UTC

(camel) branch main updated: chore: Revert accepted stub list now that stub=remote is supported

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 33b24bf77af7 chore: Revert accepted stub list now that stub=remote is supported
33b24bf77af7 is described below

commit 33b24bf77af7caf23b2314376b98ca13fff747ca
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Wed Jun 3 07:56:44 2026 +0200

    chore: Revert accepted stub list now that stub=remote is supported
    
    Remove cron, scheduler, and timer from ACCEPTED_STUB_NAMES since
    stub=remote (CAMEL-23667) properly handles these. Having them
    accepted caused DependencyUpdateTest failures when the real timer
    component couldn't resolve Duration properties in export context.
    
    Co-Authored-By: Claude <no...@anthropic.com>
---
 .../camel/main/download/DependencyDownloaderComponentResolver.java     | 3 +--
 1 file changed, 1 insertion(+), 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 a6bb583d4e02..a67d2b75da11 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,8 +37,7 @@ import org.apache.camel.tooling.model.OtherModel;
 public final class DependencyDownloaderComponentResolver extends DefaultComponentResolver {
 
     private static final String[] ACCEPTED_STUB_NAMES = {
-            "stub", "bean", "class", "cron", "direct", "kamelet", "log", "platform-http", "rest", "scheduler", "seda",
-            "timer"
+            "stub", "bean", "class", "direct", "kamelet", "log", "platform-http", "rest", "seda"
     };
 
     private static final String[] ACCEPTED_TRANSFORM_NAMES = {