Management

JVM since1.1.0 Nativeunsupported

JMX management strategy and associated managed resources.

Maven coordinates

<dependency>
    <groupId>org.apache.camel.quarkus</groupId>
    <artifactId>camel-quarkus-management</artifactId>
</dependency>

Check the User guide for more information about writing Camel Quarkus applications.

Usage

For information on using Managed Beans in Camel, consult the JMX section of the Camel Manual.

Enabling and Disabling JMX

JMX can be enabled or disabled in Camel-Quarkus by any of the following methods:

  1. Adding or removing the camel-quarkus-management extension.

  2. Setting the camel.main.jmxEnabled configuration property to a boolean value.

  3. Setting the system property -Dorg.apache.camel.jmx.disabled to a boolean value.

Camel Quarkus limitations

The JMX management beans exposed by this extension will not work in native mode, as GraalVM has no support for JMX. Therefore, attempting to build a native image with this extension on the classpath will result in a build failure.