Enum Class ManagementMBeansLevel
- All Implemented Interfaces:
Serializable, Comparable<ManagementMBeansLevel>, Constable
Controls which Camel objects are registered as JMX MBeans for management and monitoring.
When JMX management is active, Camel can expose the
CamelContext, its Routes, and individual
Processors as MBeans. Registering many processors improves observability but increases heap usage; this enum
lets operators trade off granularity against overhead.
Configure via ManagementAgent.setMBeansLevel(ManagementMBeansLevel) or the property
camel.main.jmx-management-mbeans-level.- Since:
- 3.17
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOnly register the CamelContext MBean.Register MBeans for the CamelContext, routes, and processors.Register MBeans for the CamelContext and routes. -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanisRoutes()static ManagementMBeansLevelReturns the enum constant of this class with the specified name.static ManagementMBeansLevel[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ContextOnly
Only register the CamelContext MBean. -
RoutesOnly
Register MBeans for the CamelContext and routes. -
Default
Register MBeans for the CamelContext, routes, and processors.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
isRoutes
public boolean isRoutes() -
isProcessors
public boolean isProcessors()
-