From 7b08488f36c5f0dd319eb75f6f46a53662141148 Mon Sep 17 00:00:00 2001 From: Ilayaperumal Gopinathan Date: Wed, 21 Oct 2015 12:52:31 +0530 Subject: [PATCH] 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) --- .../cloud/stream/module/launcher/ModuleLauncher.java | 1 - 1 file changed, 1 deletion(-) diff --git a/spring-cloud-stream-module-launcher/src/main/java/org/springframework/cloud/stream/module/launcher/ModuleLauncher.java b/spring-cloud-stream-module-launcher/src/main/java/org/springframework/cloud/stream/module/launcher/ModuleLauncher.java index 5f58d3318..e7460304f 100644 --- a/spring-cloud-stream-module-launcher/src/main/java/org/springframework/cloud/stream/module/launcher/ModuleLauncher.java +++ b/spring-cloud-stream-module-launcher/src/main/java/org/springframework/cloud/stream/module/launcher/ModuleLauncher.java @@ -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 arguments = moduleLaunchRequest.getArguments(); if (arguments.containsKey(INCLUDE_DEPENDENCIES_ARG) || arguments.containsKey(EXCLUDE_DEPENDENCIES_ARG)) { String includes = arguments.get(INCLUDE_DEPENDENCIES_ARG);