Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-19345

KameletDiscoveryTest fails to find routeTemplate

    XMLWordPrintableJSON

Details

    • Unknown

    Description

      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.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            klease78 Karen Lease
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: