Package org.apache.camel.spi
Interface RouteFactory
-
public interface RouteFactory
A factory to createRoute
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Route
createRoute(CamelContext camelContext, NamedNode routeDefinition, String routeId, String routeDescription, Endpoint endpoint, Resource resource)
Creates the route which should be configured afterwards with more configurations.
-
-
-
Method Detail
-
createRoute
Route createRoute(CamelContext camelContext, NamedNode routeDefinition, String routeId, String routeDescription, Endpoint endpoint, Resource resource)
Creates the route which should be configured afterwards with more configurations.- Parameters:
camelContext
- the camel contextrouteDefinition
- the route definitionrouteId
- the route idrouteDescription
- the route descriptionendpoint
- the input endpoint (consumer)resource
- the source resource (if loaded via a DSL routes loader)- Returns:
- the created route
-
-