Uses of Interface
org.apache.camel.Route
Package
Description
The core Camel API.
Service Provider Interfaces used by the Camel runtime which are plugin strategies.
-
Uses of Route in org.apache.camel
Modifier and TypeMethodDescriptionGets the route with the given idChannel.getRoute()
Gets theRoute
RouteAware.getRoute()
Gets theRoute
Modifier and TypeMethodDescriptionCamelContext.getRoutes()
Returns the current routes in this CamelContextModifier and TypeMethodDescriptionvoid
Internal API for adding routes.ExtendedCamelContext.createErrorHandler
(Route route, Processor processor) Internal API for creating error handler.void
Channel.initChannel
(Route route, NamedNode definition, NamedNode childDefinition, List<InterceptStrategy> interceptors, Processor nextProcessor, NamedRoute routeDefinition, boolean first) Initializes the channel.void
ExtendedCamelContext.removeRoute
(Route route) Internal API for removing routes.void
Injects theRoute
-
Uses of Route in org.apache.camel.spi
Modifier and TypeMethodDescriptionModelReifierFactory.createRoute
(CamelContext camelContext, Object routeDefinition) RouteFactory.createRoute
(CamelContext camelContext, NamedNode routeDefinition, String routeId, String routeDescription, Endpoint endpoint, Resource resource) Creates the route which should be configured afterwards with more configurations.CamelEvent.RouteEvent.getRoute()
RouteStartupOrder.getRoute()
Gets the routeUnitOfWork.getRoute()
Gets theRoute
that thisUnitOfWork
currently is being routed through.UnitOfWork.popRoute()
When finished being routed under the currentRoute
it should be removed.Modifier and TypeMethodDescriptionRouteController.getControlledRoutes()
Return the list of routes controlled by this controller.SupervisingRouteController.getExhaustedRoutes()
Return the list of routes that have failed all attempts to startup and are now exhausted.SupervisingRouteController.getRestartingRoutes()
Return the list of routes that are currently under restarting by this controller.Modifier and TypeMethodDescriptionInternalProcessorFactory.addChildUnitOfWorkProcessorAdvice
(CamelContext camelContext, Processor processor, Route route, UnitOfWork parent) InternalProcessorFactory.addUnitOfWorkProcessorAdvice
(CamelContext camelContext, Processor processor, Route route) void
UnitOfWork.afterRoute
(Exchange exchange, Route route) Invoked when this unit of work is done being routed by the given route.void
UnitOfWork.beforeRoute
(Exchange exchange, Route route) Invoked when this unit of work is about to be routed by the given route.void
Policy.beforeWrap
(Route route, NamedNode definition) Hook invoked before the wrap.ProcessorFactory.createChildProcessor
(Route route, NamedNode definition, boolean mandatory) Creates the child processor.ModelReifierFactory.createErrorHandler
(Route route, ErrorHandlerFactory errorHandlerFactory, Processor processor) ModelReifierFactory.createErrorHandler
(Route route, Processor processor) ProcessorFactory.createProcessor
(Route route, NamedNode definition) Creates the processor.EventFactory.createRouteAddedEvent
(Route route) Creates anCamelEvent
forRoute
has been added successfully.EventFactory.createRouteReloaded
(Route route, int index, int total) Creates anCamelEvent
forRoute
has been reloaded successfully.EventFactory.createRouteRemovedEvent
(Route route) Creates anCamelEvent
forRoute
has been removed successfully.EventFactory.createRouteStartedEvent
(Route route) Creates anCamelEvent
forRoute
has been started successfully.EventFactory.createRouteStartingEvent
(Route route) Creates anCamelEvent
forRoute
is starting.EventFactory.createRouteStoppedEvent
(Route route) Creates anCamelEvent
forRoute
has been stopped successfully.EventFactory.createRouteStoppingEvent
(Route route) Creates anCamelEvent
forRoute
is stopping.ManagementObjectStrategy.getManagedObjectForProcessor
(CamelContext context, Processor processor, NamedNode definition, Route route) ManagementObjectStrategy.getManagedObjectForRoute
(CamelContext context, Route route) ManagementObjectNameStrategy.getObjectNameForRoute
(Route route) void
SynchronizationRouteAware.onAfterRoute
(Route route, Exchange exchange) Invoked after theExchange
has been routed by the given route.void
SynchronizationRouteAware.onBeforeRoute
(Route route, Exchange exchange) Invoked before theExchange
is being routed by the given route.void
RoutePolicy.onExchangeBegin
(Route route, Exchange exchange) void
RoutePolicy.onExchangeDone
(Route route, Exchange exchange) void
Callback invoked when theRoute
is being initializedvoid
Callback invoked when theRoute
is being removed fromCamelContext
void
Callback invoked when theRoute
is being resumedvoid
LifecycleStrategy.onRouteContextCreate
(Route route) Notification on creatingRoute
(s).void
LifecycleStrategy.onServiceAdd
(CamelContext context, Service service, Route route) Notification on adding aService
.void
LifecycleStrategy.onServiceRemove
(CamelContext context, Service service, Route route) Notification on removing aService
.void
Callback invoked when theRoute
is being startedvoid
Callback invoked when theRoute
is being stoppedvoid
Callback invoked when theRoute
is being suspendedvoid
Pushes theRoute
that thisUnitOfWork
currently is being routed through.void
InternalProcessor.setRouteOnAdvices
(Route route) Wraps any applicable interceptors around the given processor.Modifier and TypeMethodDescriptionvoid
LifecycleStrategy.onRoutesAdd
(Collection<Route> routes) Notification on addingRoute
(s).void
LifecycleStrategy.onRoutesRemove
(Collection<Route> routes) Notification on removingRoute
(s).