Package org.apache.camel.api.management
Interface ManagedCamelContext
public interface ManagedCamelContext
-
Method Summary
Modifier and TypeMethodDescriptionGets the managed Camel CamelContext client apidefault ManagedConsumerMBean
Gets the managed consumer client api from any of the routes which with the given route id<T extends ManagedConsumerMBean>
TgetManagedConsumer
(String id, Class<T> type) Gets the managed consumer client api from any of the routes which with the given route iddefault ManagedProcessorMBean
Gets 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 ManagedRouteMBean
getManagedRoute
(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.mbean
package.- 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.mbean
package.- Returns:
- the route or null if not found
- Throws:
IllegalArgumentException
- if the type is not compliant
-
getManagedConsumer
Gets the managed consumer client api from any of the routes which with the given route id- Parameters:
id
- route id having the consumer- Returns:
- the consumer or null if not found
-
getManagedConsumer
Gets the managed consumer client api from any of the routes which with the given route id- Parameters:
id
- route id having the consumertype
- the managed consumer type from theorg.apache.camel.api.management.mbean
package.- Returns:
- the consumer or null if not found
- Throws:
IllegalArgumentException
- if the type is not compliant
-