Management

JVM since1.1.0 Native since3.2.0

JMX management strategy and associated managed resources.

Maven coordinates

Or add the coordinates to your existing project:

<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.

Native mode

If you want the native application to be discoverable by tools such as JConsole and VisualVM, add the following configuration to application.properties.

quarkus.native.monitoring=jvmstat

For more information, refer to the Quarkus native guide.