public interface RouteFactory
Route
Modifier and Type | Method and Description |
---|---|
Route |
createRoute(CamelContext camelContext,
NamedNode routeDefinition,
String routeId,
String routeDescription,
Endpoint endpoint)
Creates the route which should be configured afterwards with more configurations.
|
Route createRoute(CamelContext camelContext, NamedNode routeDefinition, String routeId, String routeDescription, Endpoint endpoint)
camelContext
- the camel contextrouteDefinition
- the route definitionrouteId
- the route idrouteDescription
- the route descriptionendpoint
- the input endpoint (consumer)Apache Camel