Package org.apache.camel.spi
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 aResource. For example when Kamelets are loaded from YAML files from the classpath, or via github from the Apache Camel Kamelet Catalog.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidloadRouteTemplate(Resource resource)About to load route template (kamelet) from the given resource.
-
-
-
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
-
-