mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Default endpoints.jmx.domain to the spring.jmx.default_domain
This commit is contained in:
parent
13076b8792
commit
59e177d298
@ -18,6 +18,7 @@ package org.springframework.boot.actuate.autoconfigure;
|
||||
|
||||
import java.util.Properties;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.util.StringUtils;
|
||||
|
||||
@ -29,6 +30,7 @@ import org.springframework.util.StringUtils;
|
||||
@ConfigurationProperties(prefix = "endpoints.jmx")
|
||||
public class EndpointMBeanExportProperties {
|
||||
|
||||
@Value("${spring.jmx.default_domain:}")
|
||||
private String domain;
|
||||
|
||||
private boolean uniqueNames = false;
|
||||
|
Loading…
Reference in New Issue
Block a user