Package org.apache.camel.model
Class RestContextRefDefinitionHelper
java.lang.Object
org.apache.camel.model.RestContextRefDefinitionHelper
Helper for
RestContextRefDefinition.-
Method Summary
Modifier and TypeMethodDescriptionstatic List<RestDefinition> lookupRests(org.apache.camel.CamelContext camelContext, String ref) Lookup the rests from theRestContextRefDefinition.
-
Method Details
-
lookupRests
public static List<RestDefinition> lookupRests(org.apache.camel.CamelContext camelContext, String ref) Lookup the rests from theRestContextRefDefinition.- Parameters:
camelContext- the CamelContextref- the id of theRestContextRefDefinitionto lookup and get the routes.- Returns:
- the rests.
-