From 43950d16ae5c4e9353c5d43f805e749327c91591 Mon Sep 17 00:00:00 2001 From: Gary Russell Date: Fri, 7 Aug 2020 13:40:57 -0400 Subject: [PATCH] Restore and deprecate @IntManConf properties --- .../config/EnableIntegrationManagement.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/spring-integration-core/src/main/java/org/springframework/integration/config/EnableIntegrationManagement.java b/spring-integration-core/src/main/java/org/springframework/integration/config/EnableIntegrationManagement.java index bafaedc46a..bb32399aec 100644 --- a/spring-integration-core/src/main/java/org/springframework/integration/config/EnableIntegrationManagement.java +++ b/spring-integration-core/src/main/java/org/springframework/integration/config/EnableIntegrationManagement.java @@ -40,6 +40,20 @@ import org.springframework.context.annotation.Import; @Import(IntegrationManagementConfiguration.class) public @interface EnableIntegrationManagement { + /** + * @deprecated this property is no longer used. + * @return the patterns. + */ + @Deprecated + String[] metersEnabled() default "*"; + + /** + * @deprecated this property is no longer used. + * @return the value; false by default, or true when JMX is enabled. + */ + @Deprecated + String defaultCountsEnabled() default "false"; + /** * Use to disable all logging in the main message flow in framework components. When 'false', such logging will be * skipped, regardless of logging level. When 'true', the logging is controlled as normal by the logging