@Metadata(label="spring,configuration")
public class CamelRouteControllerDefinition
extends org.apache.camel.model.IdentifiedType
| Constructor and Description |
|---|
CamelRouteControllerDefinition() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBackOffDelay() |
String |
getBackOffMaxAttempts() |
String |
getBackOffMaxDelay() |
String |
getBackOffMaxElapsedTime() |
String |
getBackOffMultiplier() |
String |
getExcludeRoutes() |
String |
getIncludeRoutes() |
String |
getInitialDelay() |
String |
getSupervising() |
String |
getThreadPoolSize() |
String |
getUnhealthyOnExhausted() |
void |
setBackOffDelay(String backOffDelay)
Backoff delay in millis when restarting a route that failed to startup.
|
void |
setBackOffMaxAttempts(String backOffMaxAttempts)
Backoff maximum number of attempts to restart a route that failed to startup.
|
void |
setBackOffMaxDelay(String backOffMaxDelay)
Backoff maximum delay in millis when restarting a route that failed to startup.
|
void |
setBackOffMaxElapsedTime(String backOffMaxElapsedTime)
Backoff maximum elapsed time in millis, after which the backoff should be considered
exhausted and no more attempts should be made.
|
void |
setBackOffMultiplier(String backOffMultiplier)
Backoff multiplier to use for exponential backoff.
|
void |
setExcludeRoutes(String excludeRoutes)
Pattern for filtering routes to be excluded as supervised.
|
void |
setIncludeRoutes(String includeRoutes)
Pattern for filtering routes to be included as supervised.
|
void |
setInitialDelay(String initialDelay)
Initial delay in milli seconds before the route controller starts, after
CamelContext has been started.
|
void |
setSupervising(String supervising)
To enable using supervising route controller which allows Camel to startup
and then the controller takes care of starting the routes in a safe manner.
|
void |
setThreadPoolSize(String threadPoolSize)
The number of threads used by the scheduled thread pool that are used for restarting
routes.
|
void |
setUnhealthyOnExhausted(String unhealthyOnExhausted)
Whether to mark the route as unhealthy (down) when all restarting attempts (backoff) have failed
and the route is not successfully started and the route manager is giving up.
|
public String getSupervising()
public void setSupervising(String supervising)
public String getIncludeRoutes()
public void setIncludeRoutes(String includeRoutes)
public String getExcludeRoutes()
public void setExcludeRoutes(String excludeRoutes)
public String getThreadPoolSize()
public void setThreadPoolSize(String threadPoolSize)
public String getInitialDelay()
public void setInitialDelay(String initialDelay)
public String getBackOffDelay()
public void setBackOffDelay(String backOffDelay)
public String getBackOffMaxDelay()
public void setBackOffMaxDelay(String backOffMaxDelay)
public String getBackOffMaxElapsedTime()
public void setBackOffMaxElapsedTime(String backOffMaxElapsedTime)
public String getBackOffMaxAttempts()
public void setBackOffMaxAttempts(String backOffMaxAttempts)
public String getBackOffMultiplier()
public void setBackOffMultiplier(String backOffMultiplier)
public String getUnhealthyOnExhausted()
public void setUnhealthyOnExhausted(String unhealthyOnExhausted)
Apache Camel