org.apache.camel.spi
Interface RouteStartupOrder

All Known Implementing Classes:
DefaultRouteStartupOrder

public interface RouteStartupOrder

Information about a route to be started where we want to control the order in which they are started by CamelContext.

Version:

Method Summary
 List<Consumer> getInputs()
          Gets the input to this route (often only one consumer)
 Route getRoute()
          Gets the route
 List<Service> getServices()
          Gets the services to this route.
 int getStartupOrder()
          Get the order this route should be started.
 

Method Detail

getStartupOrder

int getStartupOrder()
Get the order this route should be started.

See more at configuring route startup ordering.

Returns:
the order

getRoute

Route getRoute()
Gets the route

Returns:
the route

getInputs

List<Consumer> getInputs()
Gets the input to this route (often only one consumer)

Returns:
the input consumers.

getServices

List<Service> getServices()
Gets the services to this route.

Returns:
the services.


Apache CAMEL