You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes: #9683
Since we don't support SpEL-based Control Bus functionality anymore,
there is no need to keep separate `controlBusOnRegistry()`
* In all DSLs Deprecate `controlBusOnRegistry()` and restore `controlBus()` which is now fully based
on the `ControlBusCommandRegistry`
* Deprecate now out of use `<control-bus use-registry="">` attribute
* Fix `ControlBusParser` to not deal with `use-registry` attribute anymore
* Remove deprecated before `ExpressionControlBusFactoryBean` and `ExpressionCommandMessageProcessor`
* Remove `use-registry` from test configs
* Fix `ControlBusChainTests` to rely on a new Control Bus functionality
Copy file name to clipboardExpand all lines: spring-integration-core/src/main/java/org/springframework/integration/config/ExpressionControlBusFactoryBean.java
Copy file name to clipboardExpand all lines: spring-integration-core/src/main/java/org/springframework/integration/dsl/BaseIntegrationFlowDefinition.java
+8-11
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2019-2024 the original author or authors.
2
+
* Copyright 2019-2025 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -518,10 +518,12 @@ public B wireTap(WireTapSpec wireTapSpec) {
518
518
* at the current {@link IntegrationFlow} chain position.
519
519
* @return the current {@link BaseIntegrationFlowDefinition}.
520
520
* @since 6.4
521
+
* @deprecated since 6.5 in favor of {@link #controlBus()}
521
522
* @see ControlBusMessageProcessor
522
523
*/
524
+
@Deprecated(since = "6.5", forRemoval = true)
523
525
publicBcontrolBusOnRegistry() {
524
-
returncontrolBusOnRegistry(null);
526
+
returncontrolBus();
525
527
}
526
528
527
529
/**
@@ -530,20 +532,20 @@ public B controlBusOnRegistry() {
530
532
* @param endpointConfigurer the {@link Consumer} to accept integration endpoint options.
531
533
* @return the current {@link BaseIntegrationFlowDefinition}.
532
534
* @since 6.4
535
+
* @deprecated since 6.5 in favor of {@link #controlBus(Consumer)}
Copy file name to clipboardExpand all lines: spring-integration-core/src/main/java/org/springframework/integration/handler/ExpressionCommandMessageProcessor.java
Copy file name to clipboardExpand all lines: spring-integration-core/src/main/kotlin/org/springframework/integration/dsl/KotlinIntegrationFlowDefinition.kt
+3-5
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2020-2024 the original author or authors.
2
+
* Copyright 2020-2025 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -285,17 +285,15 @@ class KotlinIntegrationFlowDefinition(@PublishedApi internal val delegate: Integ
285
285
* at the current [IntegrationFlow] chain position.
Copy file name to clipboardExpand all lines: spring-integration-core/src/test/java/org/springframework/integration/config/AggregatorWithMessageStoreParserTests-context.xml
Copy file name to clipboardExpand all lines: spring-integration-core/src/test/java/org/springframework/integration/config/xml/ControlBusChainTests-context.xml
0 commit comments