Uses of Interface
org.apache.camel.k.Source
-
Packages that use Source Package Description org.apache.camel.k org.apache.camel.k.support -
-
Uses of Source in org.apache.camel.k
Methods in org.apache.camel.k that return Source Modifier and Type Method Description static Source
Sources. fromBytes(String language, byte[] content)
static Source
Sources. fromBytes(String name, String language, String loader, byte[] content)
static Source
Sources. fromBytes(String name, String language, String loader, List<String> interceptors, byte[] content)
static Source
Sources. fromDefinition(SourceDefinition definition)
static Source
Sources. fromURI(String uri)
Methods in org.apache.camel.k with parameters of type Source Modifier and Type Method Description default org.apache.camel.RoutesBuilder
SourceLoader.Interceptor. afterLoad(SourceLoader loader, Source source, org.apache.camel.RoutesBuilder builder)
Invoked after the source is materialized and before is added to the runtime.default void
SourceLoader.Interceptor. beforeLoad(SourceLoader loader, Source source)
Invoked before the source is materialized top a RoutesBuilder.org.apache.camel.RoutesBuilder
SourceLoader. load(Runtime runtime, Source source)
Creates a camelRoutesBuilder
from the given resource. -
Uses of Source in org.apache.camel.k.support
Methods in org.apache.camel.k.support with parameters of type Source Modifier and Type Method Description static org.apache.camel.builder.endpoint.EndpointRouteBuilder
RouteBuilders. endpoint(Source source, org.apache.camel.util.function.ThrowingBiConsumer<Reader,org.apache.camel.builder.endpoint.EndpointRouteBuilder,Exception> consumer)
static SourceLoader
SourcesSupport. load(Runtime runtime, Source source)
static SourceLoader
RuntimeSupport. loaderFor(org.apache.camel.CamelContext context, Source source)
static List<SourceLoader.Interceptor>
RuntimeSupport. loadInterceptors(org.apache.camel.CamelContext context, Source source)
static org.apache.camel.RoutesBuilder
RouteBuilders. route(Source source, org.apache.camel.util.function.ThrowingBiConsumer<Reader,org.apache.camel.builder.RouteBuilder,Exception> consumer)
-