mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Enabled JMX export auto configuration by default
This commit is contained in:
parent
9c2b34f188
commit
5c6a0fd472
@ -36,7 +36,7 @@ import org.springframework.jmx.export.MBeanExporter;
|
||||
@Configuration
|
||||
@ConditionalOnClass({ MBeanExporter.class })
|
||||
@ConditionalOnMissingBean({ MBeanExporter.class })
|
||||
@ConditionalOnExpression("${spring.jmx.enabled:false}")
|
||||
@ConditionalOnExpression("${spring.jmx.enabled:true}")
|
||||
public class JmxAutoConfiguration {
|
||||
|
||||
@Configuration
|
||||
|
Loading…
Reference in New Issue
Block a user