Uses of Interface
org.apache.camel.spi.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
Modifier and TypeMethodDescriptionRoute.getSourceResource()
Gets the source resource that this route is located from -
Uses of Resource in org.apache.camel.spi
Modifier and TypeMethodDescriptionResourceAware.getResource()
Gets theResource
.Resolve aResource
from a give uri.ResourceLoader.resolveResource
(String uri) LoadsResource
from uri.Modifier and TypeMethodDescriptionPackageScanResourceResolver.findResources
(String location) Finds the resources from the given location.Modifier 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) FindRoutesBuilder
from the give list ofResource
.default void
RoutesLoader.loadRoutes
(Resource... resources) RoutesBuilderLoader.loadRoutesBuilder
(Resource resource) LoadsRoutesBuilder
fromResource
.void
RouteTemplateLoaderListener.loadRouteTemplate
(Resource resource) About to load route template (kamelet) from the given resource.void
Callback when the resource is re-loaded.void
ModelineFactory.parseModeline
(Resource resource) Parses the resources to discover camel-k modeline snippets which is parsed and processed.default void
RoutesBuilderLoader.preParseRoute
(Resource resource) Pre-parses theRoutesBuilder
fromResource
.default void
RoutesLoader.preParseRoute
(Resource resource, boolean optional) Pre-parses theRoutesBuilder
fromResource
.void
ResourceAware.setResource
(Resource resource) Sets theResource
.static <T> T
ResourceAware.trySetResource
(T object, Resource resource) Set theResource
resource if the object is an instance ofResourceAware
.RoutesLoader.updateRoutes
(Resource... resources) Loads or updates existingRoutesBuilder
from the give list ofResource
into the currentCamelContext
.Modifier and TypeMethodDescriptionRoutesLoader.findRoutesBuilders
(Collection<Resource> resources) FindRoutesBuilder
from the give list ofResource
.RoutesLoader.findRoutesBuilders
(Collection<Resource> resources, boolean optional) FindRoutesBuilder
from the give list ofResource
.default void
RoutesLoader.loadRoutes
(Collection<Resource> resources) ExtendedRoutesBuilderLoader.loadRoutesBuilders
(Collection<Resource> resources) LoadsRoutesBuilder
from multipleResource
s.default void
ExtendedRoutesBuilderLoader.preParseRoutes
(Collection<Resource> resources) Pre-parses theRoutesBuilder
from multipleResource
s.RoutesLoader.updateRoutes
(Collection<Resource> resources) Loads or updates existingRoutesBuilder
from the give list ofResource
into the currentCamelContext
.