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

If specified, it is expected the will return a server. An error will be thrown otherwise.

jmx.domain

java.lang.String

Used if returns null and throws an exception.

jmx.add-to-factory

boolean

Only used if returns null and throws an exception.

jmx.ignore-agent-not-found

boolean

If a server could not be found with the , an exception will be thrown unless this method returns true.

jmx.register-endpoints

boolean

If management beans should be registered for endpoints.

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:4.0.1")
<dependency>
    <groupId>io.micronaut.jmx</groupId>
    <artifactId>micronaut-jmx</artifactId>
    <version>4.0.1</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: