|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CamelController
CamelController interface defines the expected behaviors to manipulate Camel resources (context, route, etc).
Method Summary | |
---|---|
org.apache.camel.CamelContext |
getCamelContext(String name)
Get a Camel context identified by the given name. |
List<org.apache.camel.CamelContext> |
getCamelContexts()
Get the list of Camel context. |
org.apache.camel.Route |
getRoute(String routeId,
String camelContextName)
Return the route with the given route ID. |
org.apache.camel.model.RouteDefinition |
getRouteDefinition(String routeId,
String camelContextName)
Return the definition of a route identified by a ID and a Camel context. |
List<org.apache.camel.model.RouteDefinition> |
getRouteDefinitions(String camelContextName)
Get all route definitions. |
List<org.apache.camel.Route> |
getRoutes(String camelContextName)
Get all routes. |
List<org.apache.camel.Route> |
getRoutes(String camelContextName,
String filter)
Get all routes filtered by the regex. |
Method Detail |
---|
List<org.apache.camel.CamelContext> getCamelContexts()
org.apache.camel.CamelContext getCamelContext(String name)
name
- the Camel context name.
List<org.apache.camel.Route> getRoutes(String camelContextName)
camelContextName
- the Camel context name. If null, all contexts are considered.
List<org.apache.camel.Route> getRoutes(String camelContextName, String filter)
camelContextName
- the Camel context name. If null, all contexts are considered.filter
- the filter which supports * and ? as wildcards
List<org.apache.camel.model.RouteDefinition> getRouteDefinitions(String camelContextName)
camelContextName
- the Camel context name. If null, all contexts are considered.
org.apache.camel.Route getRoute(String routeId, String camelContextName)
routeId
- the route ID.camelContextName
- the Camel context name.
org.apache.camel.model.RouteDefinition getRouteDefinition(String routeId, String camelContextName)
routeId
- the route ID.camelContextName
- the Camel context.
RouteDefinition
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |