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