public static void loadSources()

in camel-k-core/support/src/main/java/org/apache/camel/k/support/SourcesSupport.java [67:81]


    public static void loadSources(Runtime runtime, String... routes) {
        for (String route : routes) {
            if (ObjectHelper.isEmpty(route)) {
                continue;
            }

            LOGGER.info("Loading routes from: {}", route);

            try {
                load(runtime, Sources.fromURI(route));
            } catch (Exception e) {
                throw RuntimeCamelException.wrapRuntimeCamelException(e);
            }
        }
    }