Interface RouteFactory
-
Method Summary
Modifier and TypeMethodDescriptioncreateRoute(CamelContext camelContext, NamedNode routeDefinition, String routeId, @Nullable String routeDescription, @Nullable String routeNote, Endpoint endpoint, @Nullable Resource resource) Creates the route which should be configured afterwards with more configurations.
-
Method Details
-
createRoute
Route createRoute(CamelContext camelContext, NamedNode routeDefinition, String routeId, @Nullable String routeDescription, @Nullable String routeNote, Endpoint endpoint, @Nullable 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 descriptionrouteNote- the route noteendpoint- the input endpoint (consumer)resource- the source resource (if loaded via a DSL routes loader)- Returns:
- the created route
-