Karen Lease created CAMEL-19345:
-----------------------------------
Summary: 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
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)