[ 
https://issues.apache.org/jira/browse/CAMEL-19345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-19345:
--------------------------------
    Fix Version/s: 4.0-RC1
                   4.0

> 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
>            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)

Reply via email to