Configuration Reference

Version:4.4.0

Micronaut Jmx Config Properties

🔗
Table 1. Configuration Properties for JmxConfiguration
Property Type Description

jmx.agent-id

java.lang.String

If specified, it is expected the {@link javax.management.MBeanServerFactory#findMBeanServer} will return a server. An error will be thrown otherwise.

jmx.domain

java.lang.String

Used if {@link #getAgentId()} returns null and {@link java.lang.management.ManagementFactory#getPlatformMBeanServer()} throws an exception.

jmx.add-to-factory

boolean

Only used if {@link #getAgentId()} returns null and {@link java.lang.management.ManagementFactory#getPlatformMBeanServer()} throws an exception.

jmx.ignore-agent-not-found

boolean

If a server could not be found with the {@link #agentId}, an exception will be thrown unless this method returns true.

jmx.register-endpoints

boolean

If management beans should be registered for endpoints.