Uses of Interface
org.apache.camel.Route
-
Packages that use Route Package Description org.apache.camel The core Camel API.org.apache.camel.spi Service Provider Interfaces used by the Camel runtime which are plugin strategies. -
-
Uses of Route in org.apache.camel
Methods in org.apache.camel that return Route Modifier and Type Method Description Route
CamelContext. getRoute(String id)
Gets the route with the given idRoute
Channel. getRoute()
Gets theRoute
Route
RouteAware. getRoute()
Gets theRoute
Methods in org.apache.camel that return types with arguments of type Route Modifier and Type Method Description List<Route>
CamelContext. getRoutes()
Returns the current routes in this CamelContextMethods in org.apache.camel with parameters of type Route Modifier and Type Method Description void
ExtendedCamelContext. addRoute(Route route)
Internal API for adding routes.Processor
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
RouteAware. setRoute(Route route)
Injects theRoute
-
Uses of Route in org.apache.camel.spi
Methods in org.apache.camel.spi that return Route Modifier and Type Method Description Route
ModelReifierFactory. createRoute(CamelContext camelContext, Object routeDefinition)
Route
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.Route
CamelEvent.RouteEvent. getRoute()
Route
RouteStartupOrder. getRoute()
Gets the routeRoute
UnitOfWork. getRoute()
Gets theRoute
that thisUnitOfWork
currently is being routed through.Route
UnitOfWork. popRoute()
When finished being routed under the currentRoute
it should be removed.Methods in org.apache.camel.spi that return types with arguments of type Route Modifier and Type Method Description Collection<Route>
RouteController. getControlledRoutes()
Return the list of routes controlled by this controller.Collection<Route>
SupervisingRouteController. getExhaustedRoutes()
Return the list of routes that have failed all attempts to startup and are now exhausted.Collection<Route>
SupervisingRouteController. getRestartingRoutes()
Return the list of routes that are currently under restarting by this controller.Methods in org.apache.camel.spi with parameters of type Route Modifier and Type Method Description InternalProcessor
InternalProcessorFactory. addChildUnitOfWorkProcessorAdvice(CamelContext camelContext, Processor processor, Route route, UnitOfWork parent)
InternalProcessor
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.Processor
ProcessorFactory. createChildProcessor(Route route, NamedNode definition, boolean mandatory)
Creates the child processor.Processor
ModelReifierFactory. createErrorHandler(Route route, ErrorHandlerFactory errorHandlerFactory, Processor processor)
Processor
ModelReifierFactory. createErrorHandler(Route route, Processor processor)
Processor
ProcessorFactory. createProcessor(Route route, NamedNode definition)
Creates the processor.CamelEvent
EventFactory. createRouteAddedEvent(Route route)
Creates anCamelEvent
forRoute
has been added successfully.CamelEvent
EventFactory. createRouteReloaded(Route route, int index, int total)
Creates anCamelEvent
forRoute
has been reloaded successfully.CamelEvent
EventFactory. createRouteRemovedEvent(Route route)
Creates anCamelEvent
forRoute
has been removed successfully.CamelEvent
EventFactory. createRouteStartedEvent(Route route)
Creates anCamelEvent
forRoute
has been started successfully.CamelEvent
EventFactory. createRouteStartingEvent(Route route)
Creates anCamelEvent
forRoute
is starting.CamelEvent
EventFactory. createRouteStoppedEvent(Route route)
Creates anCamelEvent
forRoute
has been stopped successfully.CamelEvent
EventFactory. createRouteStoppingEvent(Route route)
Creates anCamelEvent
forRoute
is stopping.Object
ManagementObjectStrategy. getManagedObjectForProcessor(CamelContext context, Processor processor, NamedNode definition, Route route)
Object
ManagementObjectStrategy. getManagedObjectForRoute(CamelContext context, Route route)
ObjectName
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
RoutePolicy. onInit(Route route)
Callback invoked when theRoute
is being initializedvoid
RoutePolicy. onRemove(Route route)
Callback invoked when theRoute
is being removed fromCamelContext
void
RoutePolicy. onResume(Route route)
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
RoutePolicy. onStart(Route route)
Callback invoked when theRoute
is being startedvoid
RoutePolicy. onStop(Route route)
Callback invoked when theRoute
is being stoppedvoid
RoutePolicy. onSuspend(Route route)
Callback invoked when theRoute
is being suspendedvoid
UnitOfWork. pushRoute(Route route)
Pushes theRoute
that thisUnitOfWork
currently is being routed through.void
InternalProcessor. setRouteOnAdvices(Route route)
void
Tracer. traceAfterRoute(Route route, Exchange exchange)
Deprecated.Processor
Policy. wrap(Route route, Processor processor)
Wraps any applicable interceptors around the given processor.Method parameters in org.apache.camel.spi with type arguments of type Route Modifier and Type Method Description void
LifecycleStrategy. onRoutesAdd(Collection<Route> routes)
Notification on addingRoute
(s).void
LifecycleStrategy. onRoutesRemove(Collection<Route> routes)
Notification on removingRoute
(s).
-