Interface RouteStartupOrder
public interface RouteStartupOrder
Captures the resolved startup order and associated services for a
Route, used by
CamelContext and ShutdownStrategy to control start and shutdown sequencing.
At startup, the context builds an ordered list of RouteStartupOrder instances from each route's configured
startupOrder attribute and passes it to the ShutdownStrategy at shutdown time (in reverse order, by
default). This allows routes with dependencies to be stopped before the routes they depend on.
See Configuring
Route Startup Ordering and Auto Startup for details.- See Also:
-
Method Details
-
getStartupOrder
int getStartupOrder()Get the order this route should be started. See more at configuring route startup ordering.- Returns:
- the order
-
getRoute
-
getInput
-
getServices
-