The documentation you are viewing is not the latest documentation of Micronaut Jmx

Micronaut JMX

Integrates JMX Monitoring

Version:

1 Introduction

The micronaut-jmx module includes support for exposing Micronaut management endpoints over JMX.

A bean will be created for the management bean server based on configuration.

🔗
Table 1. Configuration Properties for JmxConfiguration
Property Type Description

jmx.agent-id

java.lang.String

Sets the agent id.

jmx.domain

java.lang.String

Sets the domain to create a new server with.

jmx.add-to-factory

boolean

Sets if the server should be kept in the factory. Default true.

jmx.ignore-agent-not-found

boolean

Sets to ignore the exception if the agent is not found. Default false.

jmx.register-endpoints

boolean

Sets if endpoints should be registered. Default true.

2 Release History

For this project, you can find a list of releases (with release notes) here:

3 Setting up JMX

implementation("io.micronaut.jmx:micronaut-jmx:3.2.0")
<dependency>
    <groupId>io.micronaut.jmx</groupId>
    <artifactId>micronaut-jmx</artifactId>
    <version>3.2.0</version>
</dependency>

4 Endpoints

If the management dependency is also on the classpath, management beans will be created for all endpoints by default.

5 Repository

You can find the source code of this project in this repository: