Package org.apache.camel.api.management
Interface ManagedCamelContext
public interface ManagedCamelContext
-
Method Summary
Modifier and TypeMethodDescriptionGets the managed Camel CamelContext client apidefault ManagedProcessorMBeanGets the managed processor client api from any of the routes which with the given id<T extends ManagedProcessorMBean>
TgetManagedProcessor(String id, Class<T> type) Gets the managed processor client api from any of the routes which with the given iddefault ManagedRouteMBeangetManagedRoute(String routeId) Gets the managed route client api with the given route id<T extends ManagedRouteMBean>
TgetManagedRoute(String routeId, Class<T> type) Gets the managed route client api with the given route idgetManagedStep(String id) Gets the managed step client api from any of the routes which with the given id
-
Method Details
-
getManagedCamelContext
Gets the managed Camel CamelContext client api -
getManagedProcessor
Gets the managed processor client api from any of the routes which with the given id- Parameters:
id- id of the processor- Returns:
- the processor or null if not found
-
getManagedProcessor
Gets the managed processor client api from any of the routes which with the given id- Parameters:
id- id of the processortype- the managed processor type from theorg.apache.camel.api.management.mbeanpackage.- Returns:
- the processor or null if not found
- Throws:
IllegalArgumentException- if the type is not compliant
-
getManagedStep
Gets the managed step client api from any of the routes which with the given id- Parameters:
id- id of the step- Returns:
- the step or null if not found
-
getManagedRoute
Gets the managed route client api with the given route id- Parameters:
routeId- id of the route- Returns:
- the route or null if not found
-
getManagedRoute
Gets the managed route client api with the given route id- Parameters:
routeId- id of the routetype- the managed route type from theorg.apache.camel.api.management.mbeanpackage.- Returns:
- the route or null if not found
- Throws:
IllegalArgumentException- if the type is not compliant
-