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.
|
Modifier and Type | Method and Description |
---|---|
Route |
RouteAware.getRoute()
Gets the
Route |
Route |
Channel.getRoute()
Gets the
Route |
Route |
CamelContext.getRoute(String id)
Gets the route with the given id
|
Modifier and Type | Method and Description |
---|---|
List<Route> |
CamelContext.getRoutes()
Returns the current routes in this CamelContext
|
Modifier and Type | Method and 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 |
ExtendedCamelContext.removeRoute(Route route)
Internal API for removing routes.
|
void |
RouteAware.setRoute(Route route)
Injects the
Route |
Modifier and Type | Method and Description |
---|---|
Route |
UnitOfWork.getRoute()
Gets the
Route that this UnitOfWork currently is being routed through. |
Route |
CamelEvent.RouteEvent.getRoute() |
Route |
RouteStartupOrder.getRoute()
Gets the route
|
Route |
UnitOfWork.popRoute()
When finished being routed under the current
Route
it should be removed. |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
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 |
ProcessorFactory.createProcessor(Route route,
NamedNode definition)
Creates the processor.
|
CamelEvent |
EventFactory.createRouteAddedEvent(Route route)
Creates an
CamelEvent for Route has been added successfully. |
CamelEvent |
EventFactory.createRouteRemovedEvent(Route route)
Creates an
CamelEvent for Route has been removed successfully. |
CamelEvent |
EventFactory.createRouteStartedEvent(Route route)
Creates an
CamelEvent for Route has been started successfully. |
CamelEvent |
EventFactory.createRouteStoppedEvent(Route route)
Creates an
CamelEvent for Route has been stopped successfully. |
Object |
ManagementObjectStrategy.getManagedObjectForErrorHandler(CamelContext context,
Route route,
Processor errorHandler,
ErrorHandlerFactory errorHandlerBuilder) |
Object |
ManagementObjectStrategy.getManagedObjectForProcessor(CamelContext context,
Processor processor,
NamedNode definition,
Route route) |
Object |
ManagementObjectStrategy.getManagedObjectForRoute(CamelContext context,
Route route) |
ObjectName |
ManagementObjectNameStrategy.getObjectNameForErrorHandler(Route route,
Processor errorHandler,
ErrorHandlerFactory builder) |
ObjectName |
ManagementObjectNameStrategy.getObjectNameForRoute(Route route) |
void |
SynchronizationRouteAware.onAfterRoute(Route route,
Exchange exchange)
Invoked after the
Exchange has been routed by the given route. |
void |
SynchronizationRouteAware.onBeforeRoute(Route route,
Exchange exchange)
Invoked before the
Exchange is being routed by the given route. |
void |
LifecycleStrategy.onErrorHandlerAdd(Route route,
Processor errorHandler,
ErrorHandlerFactory errorHandlerBuilder)
Notification on adding error handler.
|
void |
LifecycleStrategy.onErrorHandlerRemove(Route route,
Processor errorHandler,
ErrorHandlerFactory errorHandlerBuilder)
Notification on removing error handler.
|
void |
RoutePolicy.onExchangeBegin(Route route,
Exchange exchange)
|
void |
RoutePolicy.onExchangeDone(Route route,
Exchange exchange)
|
void |
RoutePolicy.onInit(Route route)
Callback invoked when the
Route is being initialized |
void |
RoutePolicy.onRemove(Route route)
Callback invoked when the
Route is being removed from CamelContext |
void |
RoutePolicy.onResume(Route route)
Callback invoked when the
Route is being resumed |
void |
LifecycleStrategy.onRouteContextCreate(Route route)
Notification on creating
Route (s). |
void |
LifecycleStrategy.onServiceAdd(CamelContext context,
Service service,
Route route)
Notification on adding a
Service . |
void |
LifecycleStrategy.onServiceRemove(CamelContext context,
Service service,
Route route)
Notification on removing a
Service . |
void |
RoutePolicy.onStart(Route route)
Callback invoked when the
Route is being started |
void |
RoutePolicy.onStop(Route route)
Callback invoked when the
Route is being stopped |
void |
RoutePolicy.onSuspend(Route route)
Callback invoked when the
Route is being suspended |
void |
UnitOfWork.pushRoute(Route route)
Pushes the
Route that this UnitOfWork currently is being routed through. |
void |
Tracer.traceAfterRoute(Route route,
Exchange exchange)
Trace after the route (eg output from route)
|
Processor |
Policy.wrap(Route route,
Processor processor)
Wraps any applicable interceptors around the given processor.
|
Modifier and Type | Method and Description |
---|---|
void |
LifecycleStrategy.onRoutesAdd(Collection<Route> routes)
Notification on adding
Route (s). |
void |
LifecycleStrategy.onRoutesRemove(Collection<Route> routes)
Notification on removing
Route (s). |
Apache Camel