Commit 59e177d2 authored by Dave Syer's avatar Dave Syer

Default endpoints.jmx.domain to the spring.jmx.default_domain

parent 13076b87
...@@ -18,6 +18,7 @@ package org.springframework.boot.actuate.autoconfigure; ...@@ -18,6 +18,7 @@ package org.springframework.boot.actuate.autoconfigure;
import java.util.Properties; import java.util.Properties;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.util.StringUtils; import org.springframework.util.StringUtils;
...@@ -29,6 +30,7 @@ import org.springframework.util.StringUtils; ...@@ -29,6 +30,7 @@ import org.springframework.util.StringUtils;
@ConfigurationProperties(prefix = "endpoints.jmx") @ConfigurationProperties(prefix = "endpoints.jmx")
public class EndpointMBeanExportProperties { public class EndpointMBeanExportProperties {
@Value("${spring.jmx.default_domain:}")
private String domain; private String domain;
private boolean uniqueNames = false; private boolean uniqueNames = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment