Package | Description |
---|---|
org.apache.camel |
The core Camel API.
|
org.apache.camel.impl |
Default implementation classes for Camel Core
|
org.apache.camel.management |
Camel management
|
org.apache.camel.management.event |
Camel management events
|
org.apache.camel.management.mbean |
Camel management JMX MBeans
|
org.apache.camel.model |
The JAXB POJOs for the
XML Configuration
of the routing rules.
|
org.apache.camel.processor |
A collection of Processor
implementations which are used to implement the
Enterprise Integration Patterns
|
org.apache.camel.spi |
Service Provider Interfaces used internally by the Camel runtime which are plugin strategies.
|
org.apache.camel.support |
Base classes that help to implement the camel API and are expected to be extended by the user
|
org.apache.camel.util |
Utility classes used by the core of Camel.
|
Modifier and Type | Method and Description |
---|---|
Route |
RouteAware.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 context
|
Modifier and Type | Method and Description |
---|---|
void |
RouteAware.setRoute(Route route)
Injects the
Route |
Modifier and Type | Class and Description |
---|---|
class |
DefaultRoute
Default implementation of
Route . |
class |
EventDrivenConsumerRoute
A
DefaultRoute which starts with an
Event Driven Consumer
Use the API from CamelContext to control the lifecycle of a route,
such as starting and stopping using the CamelContext.startRoute(String)
and CamelContext.stopRoute(String) methods. |
Modifier and Type | Method and Description |
---|---|
Route |
DefaultConsumer.getRoute() |
Route |
DefaultRouteStartupOrder.getRoute() |
Route |
DefaultCamelContext.getRoute(String id) |
Modifier and Type | Method and Description |
---|---|
Map<Route,Consumer> |
RouteService.getInputs()
Gets the inputs to the routes.
|
List<Route> |
DefaultCamelContext.getRoutes() |
Collection<Route> |
RouteService.getRoutes() |
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultCamelContext.logRouteState(Route route,
String state) |
void |
RoutePolicySupport.onExchangeBegin(Route route,
Exchange exchange) |
void |
RoutePolicySupport.onExchangeDone(Route route,
Exchange exchange) |
void |
ThrottlingInflightRoutePolicy.onExchangeDone(Route route,
Exchange exchange) |
void |
RoutePolicySupport.onInit(Route route) |
void |
ThrottlingInflightRoutePolicy.onInit(Route route) |
void |
RoutePolicySupport.onRemove(Route route) |
void |
RoutePolicySupport.onResume(Route route) |
void |
RoutePolicySupport.onStart(Route route) |
void |
RoutePolicySupport.onStop(Route route) |
void |
RoutePolicySupport.onSuspend(Route route) |
protected void |
RoutePolicySupport.resumeRoute(Route route) |
void |
DefaultConsumer.setRoute(Route route) |
protected void |
RouteService.startChildService(Route route,
List<Service> services) |
protected void |
RoutePolicySupport.startRoute(Route route) |
protected void |
RouteService.stopChildService(Route route,
Set<Service> services,
boolean shutdown) |
protected void |
RoutePolicySupport.stopRoute(Route route) |
protected void |
RoutePolicySupport.stopRoute(Route route,
long timeout,
TimeUnit timeUnit) |
protected void |
RoutePolicySupport.suspendRoute(Route route) |
protected void |
RoutePolicySupport.suspendRoute(Route route,
long timeout,
TimeUnit timeUnit) |
protected void |
ThrottlingInflightRoutePolicy.throttle(Route route,
Exchange exchange)
Throttles the route when
Exchange s is done. |
Modifier and Type | Method and Description |
---|---|
void |
DefaultCamelContext.setRoutes(List<Route> routes)
Deprecated.
|
Constructor and Description |
---|
DefaultRouteStartupOrder(int startupOrder,
Route route,
RouteService routeService) |
Constructor and Description |
---|
DefaultRouteContext(CamelContext camelContext,
RouteDefinition route,
FromDefinition from,
Collection<Route> routes) |
RouteService(DefaultCamelContext camelContext,
RouteDefinition routeDefinition,
List<RouteContext> routeContexts,
List<Route> routes) |
Modifier and Type | Method and Description |
---|---|
Object |
DefaultManagementObjectStrategy.getManagedObjectForProcessor(CamelContext context,
Processor processor,
ProcessorDefinition<?> definition,
Route route) |
Object |
DefaultManagementObjectStrategy.getManagedObjectForRoute(CamelContext context,
Route route) |
ObjectName |
DefaultManagementNamingStrategy.getObjectNameForRoute(Route route) |
void |
DefaultManagementLifecycleStrategy.onServiceAdd(CamelContext context,
Service service,
Route route) |
void |
DefaultManagementLifecycleStrategy.onServiceRemove(CamelContext context,
Service service,
Route route) |
protected boolean |
DefaultManagementLifecycleStrategy.shouldRegister(Object service,
Route route)
Whether or not to register the mbean.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultManagementLifecycleStrategy.onRoutesAdd(Collection<Route> routes) |
void |
DefaultManagementLifecycleStrategy.onRoutesRemove(Collection<Route> routes) |
Modifier and Type | Method and Description |
---|---|
Route |
RouteRemovedEvent.getRoute() |
Route |
RouteAddedEvent.getRoute() |
Route |
RouteStartedEvent.getRoute() |
Route |
RouteStoppedEvent.getRoute() |
Modifier and Type | Method and Description |
---|---|
EventObject |
DefaultEventFactory.createRouteAddedEvent(Route route) |
EventObject |
DefaultEventFactory.createRouteRemovedEvent(Route route) |
EventObject |
DefaultEventFactory.createRouteStartedEvent(Route route) |
EventObject |
DefaultEventFactory.createRouteStoppedEvent(Route route) |
Constructor and Description |
---|
RouteAddedEvent(Route source) |
RouteRemovedEvent(Route source) |
RouteStartedEvent(Route source) |
RouteStoppedEvent(Route source) |
Modifier and Type | Field and Description |
---|---|
protected Route |
ManagedRoute.route |
Modifier and Type | Method and Description |
---|---|
Route |
ManagedService.getRoute() |
Route |
ManagedProcessor.getRoute() |
Route |
ManagedRoute.getRoute() |
Modifier and Type | Method and Description |
---|---|
void |
ManagedService.setRoute(Route route) |
void |
ManagedProcessor.setRoute(Route route) |
Constructor and Description |
---|
ManagedRoute(ModelCamelContext context,
Route route) |
ManagedSuspendableRoute(ModelCamelContext context,
Route route) |
Modifier and Type | Method and Description |
---|---|
protected RouteContext |
RouteDefinition.addRoutes(CamelContext camelContext,
Collection<Route> routes,
FromDefinition fromType) |
List<RouteContext> |
RouteDefinition.addRoutes(ModelCamelContext camelContext,
Collection<Route> routes) |
void |
OnExceptionDefinition.addRoutes(RouteContext routeContext,
Collection<Route> routes) |
void |
ProcessorDefinition.addRoutes(RouteContext routeContext,
Collection<Route> routes) |
Modifier and Type | Method and Description |
---|---|
void |
CamelInternalProcessor.RoutePolicyAdvice.setRoute(Route route) |
Modifier and Type | Method and Description |
---|---|
Route |
RouteStartupOrder.getRoute()
Gets the route
|
Modifier and Type | Method and Description |
---|---|
EventObject |
EventFactory.createRouteAddedEvent(Route route)
Creates an
EventObject for Route has been added successfully. |
EventObject |
EventFactory.createRouteRemovedEvent(Route route)
Creates an
EventObject for Route has been removed successfully. |
EventObject |
EventFactory.createRouteStartedEvent(Route route)
Creates an
EventObject for Route has been started successfully. |
EventObject |
EventFactory.createRouteStoppedEvent(Route route)
Creates an
EventObject for Route has been stopped successfully. |
Object |
ManagementObjectStrategy.getManagedObjectForProcessor(CamelContext context,
Processor processor,
ProcessorDefinition<?> definition,
Route route) |
Object |
ManagementObjectStrategy.getManagedObjectForRoute(CamelContext context,
Route route) |
ObjectName |
ManagementNamingStrategy.getObjectNameForRoute(Route route) |
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.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 |
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). |
Modifier and Type | Method and Description |
---|---|
void |
LifecycleStrategySupport.onServiceAdd(CamelContext context,
Service service,
Route route) |
void |
LifecycleStrategySupport.onServiceRemove(CamelContext context,
Service service,
Route route) |
Modifier and Type | Method and Description |
---|---|
void |
LifecycleStrategySupport.onRoutesAdd(Collection<Route> routes) |
void |
LifecycleStrategySupport.onRoutesRemove(Collection<Route> routes) |
Modifier and Type | Method and Description |
---|---|
static void |
EventHelper.notifyRouteAdded(CamelContext context,
Route route) |
static void |
EventHelper.notifyRouteRemoved(CamelContext context,
Route route) |
static void |
EventHelper.notifyRouteStarted(CamelContext context,
Route route) |
static void |
EventHelper.notifyRouteStopped(CamelContext context,
Route route) |
Apache Camel