Package org.apache.camel.model
Class RouteContextRefDefinitionHelper
java.lang.Object
org.apache.camel.model.RouteContextRefDefinitionHelper
Helper for
RouteContextRefDefinition.-
Method Summary
Modifier and TypeMethodDescriptionstatic List<RouteDefinition> lookupRoutes(org.apache.camel.CamelContext camelContext, String ref) Lookup the routes from theRouteContextRefDefinition.
-
Method Details
-
lookupRoutes
public static List<RouteDefinition> lookupRoutes(org.apache.camel.CamelContext camelContext, String ref) Lookup the routes from theRouteContextRefDefinition.- Parameters:
camelContext- the CamelContextref- the id of theRouteContextRefDefinitionto lookup and get the routes.- Returns:
- the routes.
-