Skip to content

Commit 4933b26

Browse files
committed
Align with changes in latest Integration snapshots
See spring-projectsgh-22729
1 parent 7e159c3 commit 4933b26

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/integration/IntegrationAutoConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public IntegrationMBeanExporter integrationMbeanExporter(BeanFactory beanFactory
118118
protected static class IntegrationManagementConfiguration {
119119

120120
@Configuration(proxyBeanMethods = false)
121-
@EnableIntegrationManagement(defaultCountsEnabled = "true")
121+
@EnableIntegrationManagement
122122
protected static class EnableIntegrationManagementConfiguration {
123123

124124
}

spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/integration/IntegrationAutoConfigurationTests.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -194,14 +194,6 @@ void integrationJdbcDataSourceInitializerEnabledByDefaultWithEmbeddedDb() {
194194
});
195195
}
196196

197-
@Test
198-
void integrationEnablesDefaultCounts() {
199-
this.contextRunner.withUserConfiguration(MessageSourceConfiguration.class).run((context) -> {
200-
assertThat(context).hasBean("myMessageSource");
201-
assertThat(((MessageProcessorMessageSource) context.getBean("myMessageSource")).isCountsEnabled()).isTrue();
202-
});
203-
}
204-
205197
@Test
206198
void rsocketSupportEnabled() {
207199
this.contextRunner.withUserConfiguration(RSocketServerConfiguration.class)

0 commit comments

Comments
 (0)