Uses of Interface
org.apache.camel.spi.Resource
Packages that use Resource
Package
Description
The core Camel API.
Service Provider Interfaces used by the Camel runtime which are plugin strategies.
-
Uses of Resource in org.apache.camel
Methods in org.apache.camel that return ResourceModifier and TypeMethodDescriptionRoute.getSourceResource()Gets the source resource that this route is located from -
Uses of Resource in org.apache.camel.spi
Methods in org.apache.camel.spi that return ResourceModifier and TypeMethodDescriptionResourceAware.getResource()Gets theResource.Resolve aResourcefrom a give uri.ResourceLoader.resolveResource(String uri) LoadsResourcefrom uri.Methods in org.apache.camel.spi that return types with arguments of type ResourceModifier and TypeMethodDescriptionPackageScanResourceResolver.findResources(String location) Finds the resources from the given location.Methods in org.apache.camel.spi with parameters of type ResourceModifier and TypeMethodDescriptionRouteFactory.createRoute(CamelContext camelContext, NamedNode routeDefinition, String routeId, String routeDescription, Endpoint endpoint, Resource resource) Creates the route which should be configured afterwards with more configurations.default Collection<RoutesBuilder> RoutesLoader.findRoutesBuilders(Resource... resources) FindRoutesBuilderfrom the give list ofResource.default voidRoutesLoader.loadRoutes(Resource... resources) RoutesBuilderLoader.loadRoutesBuilder(Resource resource) LoadsRoutesBuilderfromResource.voidRouteTemplateLoaderListener.loadRouteTemplate(Resource resource) About to load route template (kamelet) from the given resource.voidCallback when the resource is re-loaded.voidModelineFactory.parseModeline(Resource resource) Parses the resources to discover camel-k modeline snippets which is parsed and processed.default voidRoutesBuilderLoader.preParseRoute(Resource resource) Pre-parses theRoutesBuilderfromResource.default voidRoutesLoader.preParseRoute(Resource resource, boolean optional) Pre-parses theRoutesBuilderfromResource.voidResourceAware.setResource(Resource resource) Sets theResource.static <T> TResourceAware.trySetResource(T object, Resource resource) Set theResourceresource if the object is an instance ofResourceAware.RoutesLoader.updateRoutes(Resource... resources) Loads or updates existingRoutesBuilderfrom the give list ofResourceinto the currentCamelContext.Method parameters in org.apache.camel.spi with type arguments of type ResourceModifier and TypeMethodDescriptionRoutesLoader.findRoutesBuilders(Collection<Resource> resources) FindRoutesBuilderfrom the give list ofResource.RoutesLoader.findRoutesBuilders(Collection<Resource> resources, boolean optional) FindRoutesBuilderfrom the give list ofResource.default voidRoutesLoader.loadRoutes(Collection<Resource> resources) ExtendedRoutesBuilderLoader.loadRoutesBuilders(Collection<Resource> resources) LoadsRoutesBuilderfrom multipleResources.default voidExtendedRoutesBuilderLoader.preParseRoutes(Collection<Resource> resources) Pre-parses theRoutesBuilderfrom multipleResources.RoutesLoader.updateRoutes(Collection<Resource> resources) Loads or updates existingRoutesBuilderfrom the give list ofResourceinto the currentCamelContext.