From 840c7e46884f8df6597a059fd70ba95e0ca1aa98 Mon Sep 17 00:00:00 2001 From: Artem Bilan Date: Wed, 13 Jan 2021 13:15:46 -0500 Subject: [PATCH] Fix `JdbcLockRegistryTests` to use H2 * Remove `postProcessDynamicBeans` from docs since it is out of use any more --- .../GlobalChannelInterceptorTests-context.xml | 10 ++-------- .../jdbc/lock/JdbcLockRegistryTests-context.xml | 14 ++++---------- src/reference/asciidoc/channel.adoc | 3 --- src/reference/asciidoc/configuration.adoc | 4 ---- 4 files changed, 6 insertions(+), 25 deletions(-) diff --git a/spring-integration-core/src/test/java/org/springframework/integration/channel/interceptor/GlobalChannelInterceptorTests-context.xml b/spring-integration-core/src/test/java/org/springframework/integration/channel/interceptor/GlobalChannelInterceptorTests-context.xml index 7acb9d40b9..233d9daffd 100644 --- a/spring-integration-core/src/test/java/org/springframework/integration/channel/interceptor/GlobalChannelInterceptorTests-context.xml +++ b/spring-integration-core/src/test/java/org/springframework/integration/channel/interceptor/GlobalChannelInterceptorTests-context.xml @@ -3,16 +3,10 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:int="http://www.springframework.org/schema/integration" xmlns:p="http://www.springframework.org/schema/p" - xmlns:aop="http://www.springframework.org/schema/aop" xmlns:util="http://www.springframework.org/schema/util" - xmlns:beans="http://www.springframework.org/schema/c" + xmlns:aop="http://www.springframework.org/schema/aop" xsi:schemaLocation="http://www.springframework.org/schema/aop https://www.springframework.org/schema/aop/spring-aop.xsd http://www.springframework.org/schema/integration https://www.springframework.org/schema/integration/spring-integration.xsd - http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd - http://www.springframework.org/schema/util https://www.springframework.org/schema/util/spring-util.xsd"> - - - true - + http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd"> diff --git a/spring-integration-jdbc/src/test/java/org/springframework/integration/jdbc/lock/JdbcLockRegistryTests-context.xml b/spring-integration-jdbc/src/test/java/org/springframework/integration/jdbc/lock/JdbcLockRegistryTests-context.xml index 2a74b532f0..4d4511c095 100644 --- a/spring-integration-jdbc/src/test/java/org/springframework/integration/jdbc/lock/JdbcLockRegistryTests-context.xml +++ b/spring-integration-jdbc/src/test/java/org/springframework/integration/jdbc/lock/JdbcLockRegistryTests-context.xml @@ -2,24 +2,18 @@ - + - - + + + - - diff --git a/src/reference/asciidoc/channel.adoc b/src/reference/asciidoc/channel.adoc index f0829b06f4..3fdf4ca916 100644 --- a/src/reference/asciidoc/channel.adoc +++ b/src/reference/asciidoc/channel.adoc @@ -1017,9 +1017,6 @@ To inject a global interceptor before the existing interceptors, use a negative NOTE: Note that both the `order` and `pattern` attributes are optional. The default value for `order` will be 0 and for `pattern`, the default is '*' (to match all channels). -Starting with version 4.3.15, you can configure the `spring.integration.postProcessDynamicBeans = true` property to apply any global interceptors to dynamically created `MessageChannel` beans. -See <<./configuration.adoc#global-properties,Global Properties>> for more information. - [[channel-wiretap]] ===== Wire Tap diff --git a/src/reference/asciidoc/configuration.adoc b/src/reference/asciidoc/configuration.adoc index 0dd26c2d22..df1c627d65 100644 --- a/src/reference/asciidoc/configuration.adoc +++ b/src/reference/asciidoc/configuration.adoc @@ -168,7 +168,6 @@ spring.integration.taskScheduler.poolSize=10 <4> spring.integration.messagingTemplate.throwExceptionOnLateReply=false <5> spring.integration.readOnly.headers= <6> spring.integration.endpoints.noAutoStartup= <7> -spring.integration.postProcessDynamicBeans=false <8> ---- <1> When true, `input-channel` instances are automatically declared as `DirectChannel` instances when not explicitly found in the application context. @@ -195,9 +194,6 @@ Since version 4.3.2. You can manually start these endpoints later by their bean name through a `Control Bus` (see <<./control-bus.adoc#control-bus,Control Bus>>), by their role with the `SmartLifecycleRoleController` (see <<./endpoint.adoc#endpoint-roles,Endpoint Roles>>), or by `Lifecycle` bean injection. You can explicitly override the effect of this global property by specifying `auto-startup` XML annotation or the `autoStartup` annotation attribute or by calling `AbstractEndpoint.setAutoStartup()` in the bean definition. Since version 4.3.12. - -<8> A boolean flag to indicate that `BeanPostProcessor` instances should post-process beans registered at runtime (for example, message channels created by `IntegrationFlowContext` can be supplied with global channel interceptors). -Since version 4.3.15. ==== These properties can be overridden by adding a `/META-INF/spring.integration.properties` file to the classpath.