compile 'io.micronaut:micronaut-jmx:1.2.0'
Micronaut JMX Configuration
Provides JMX support for Micronaut services
Version: 1.2.0
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.
Property | Type | Description |
---|---|---|
|
java.lang.String |
Sets the agent id. |
|
java.lang.String |
Sets the domain to create a new server with. |
|
boolean |
Sets if the server should be kept in the factory. Default true. |
|
boolean |
Sets to ignore the exception if the agent is not found. Default false. |
|
boolean |
Sets if endpoints should be registered. Default true. |
2 Setting up JMX
<dependency>
<groupId>io.micronaut</groupId>
<artifactId>micronaut-jmx</artifactId>
<version>1.2.0</version>
</dependency>
3 Endpoints
If the management dependency is also on the classpath, management beans will be created for all endpoints by default.