Remove explicit setting of jmx domain name

- It is assumed to be the responsibility of the user to specify the appropriate jmx domain name for the modules (either via s-c-dataflow or via module launcher)
This commit is contained in:
Ilayaperumal Gopinathan
2015-10-21 12:52:31 +05:30
committed by Mark Fisher
parent 4315b1d9d2
commit 7b08488f36

View File

@@ -218,7 +218,6 @@ public class ModuleLauncher {
Collections.reverse(reversed);
for (ModuleLaunchRequest moduleLaunchRequest : reversed) {
String module = moduleLaunchRequest.getModule();
moduleLaunchRequest.addArgument("spring.jmx.default-domain", module.replace("/", ".").replace(":", "."));
Map<String, String> arguments = moduleLaunchRequest.getArguments();
if (arguments.containsKey(INCLUDE_DEPENDENCIES_ARG) || arguments.containsKey(EXCLUDE_DEPENDENCIES_ARG)) {
String includes = arguments.get(INCLUDE_DEPENDENCIES_ARG);