Package | Description |
---|---|
org.apache.camel |
The core Camel API.
|
org.apache.camel.impl |
Default implementation classes for Camel Core
|
org.apache.camel.spi |
Service Provider Interfaces used by the Camel runtime which are plugin strategies.
|
Modifier and Type | Method and Description |
---|---|
List<RouteStartupOrder> |
CamelContext.getRouteStartupOrder()
Returns the order in which the route inputs was started.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultRouteStartupOrder
Default implementation of
RouteStartupOrder . |
Modifier and Type | Method and Description |
---|---|
List<RouteStartupOrder> |
DefaultCamelContext.getRouteStartupOrder() |
Modifier and Type | Method and Description |
---|---|
protected static int |
DefaultShutdownStrategy.getPendingInflightExchanges(RouteStartupOrder order)
Calculates the total number of inflight exchanges for the given route
|
boolean |
DefaultShutdownStrategy.shutdown(CamelContext context,
RouteStartupOrder route,
long timeout,
TimeUnit timeUnit,
boolean abortAfterTimeout) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
DefaultShutdownStrategy.doShutdown(CamelContext context,
List<RouteStartupOrder> routes,
long timeout,
TimeUnit timeUnit,
boolean suspendOnly,
boolean abortAfterTimeout,
boolean forceShutdown) |
protected static void |
DefaultShutdownStrategy.logInflightExchanges(CamelContext camelContext,
List<RouteStartupOrder> routes,
boolean infoLevel)
Logs information about the inflight exchanges
|
void |
DefaultShutdownStrategy.shutdown(CamelContext context,
List<RouteStartupOrder> routes) |
void |
DefaultShutdownStrategy.shutdown(CamelContext context,
List<RouteStartupOrder> routes,
long timeout,
TimeUnit timeUnit) |
void |
DefaultShutdownStrategy.shutdownForced(CamelContext context,
List<RouteStartupOrder> routes) |
protected void |
DefaultShutdownStrategy.shutdownRoutesNow(List<RouteStartupOrder> routes)
Shutdown all the consumers immediately.
|
void |
DefaultShutdownStrategy.suspend(CamelContext context,
List<RouteStartupOrder> routes) |
void |
DefaultShutdownStrategy.suspend(CamelContext context,
List<RouteStartupOrder> routes,
long timeout,
TimeUnit timeUnit) |
Modifier and Type | Method and Description |
---|---|
boolean |
ShutdownStrategy.shutdown(CamelContext context,
RouteStartupOrder route,
long timeout,
TimeUnit timeUnit,
boolean abortAfterTimeout)
Shutdown the route using a specified timeout instead of the default timeout values and supports abortAfterTimeout mode
|
Modifier and Type | Method and Description |
---|---|
void |
ShutdownStrategy.shutdown(CamelContext context,
List<RouteStartupOrder> routes)
Shutdown the routes
|
void |
ShutdownStrategy.shutdown(CamelContext context,
List<RouteStartupOrder> routes,
long timeout,
TimeUnit timeUnit)
Shutdown the routes using a specified timeout instead of the default timeout values
|
void |
ShutdownStrategy.shutdownForced(CamelContext context,
List<RouteStartupOrder> routes)
Shutdown the routes, forcing shutdown being more aggressive, if timeout occurred.
|
void |
ShutdownStrategy.suspend(CamelContext context,
List<RouteStartupOrder> routes)
Suspends the routes
|
void |
ShutdownStrategy.suspend(CamelContext context,
List<RouteStartupOrder> routes,
long timeout,
TimeUnit timeUnit)
Suspends the routes using a specified timeout instead of the default timeout values
|
Apache Camel