You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2023/05/16 18:06:00 UTC

[jira] [Commented] (CAMEL-19345) KameletDiscoveryTest fails to find routeTemplate

    [ https://issues.apache.org/jira/browse/CAMEL-19345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17723242#comment-17723242 ] 

Claus Ibsen commented on CAMEL-19345:
-------------------------------------

Thanks for reporting

> KameletDiscoveryTest fails to find routeTemplate
> ------------------------------------------------
>
>                 Key: CAMEL-19345
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19345
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-kamelet, tests
>    Affects Versions: 4.0-M3
>            Reporter: Karen Lease
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 4.0-RC1, 4.0
>
>
> This test binds a local RoutesBuilderLoaderSupport implementation to the kamelet.yaml extension as part of the test. This defines the routeTemplate.
> The actual route is added directly to the context.
> Due to the change in DefaultRoutesLoader.findRoutesBuilders() in commit [https://github.com/apache/camel/commit/5d868bdfd37e585582e5d7e3ac809f970e1dae28] related to CAMEL-19309, the custom RoutesBuilderLoader isn't invoked because the resource "classpath:/kamelets/mySetBody.kamelet.yaml" is checked for existence before checking for a matching loader.
> Therefore the template is not defined.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)