Interface DependencyStrategy

  • 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 DependencyStrategy
    Strategy when 3rd party dependencies are detected during loading routes. For example when loading YAML DSL routes for Camel K where dependencies are listed in the YAML file.
    • Method Detail

      • onDependency

        void onDependency​(String dependency)
        A dependency was detected
        Parameters:
        dependency - the dependency such as mvn:com.foo/bar/1.2.3