Interface RouteTemplateLoaderListener

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface RouteTemplateLoaderListener
    Listener when route templates is loaded from a Resource. For example when Kamelets are loaded from YAML files from the classpath, or via github from the Apache Camel Kamelet Catalog.
    • Method Detail

      • loadRouteTemplate

        void loadRouteTemplate​(Resource resource)
        About to load route template (kamelet) from the given resource.
        Parameters:
        resource - the resource that has route templates to be loaded