GH-9683: Bring back controlBus() API

Fixes: https://github.com/spring-projects/spring-integration/issues/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
This commit is contained in:
Artem Bilan
2025-01-02 14:06:31 -05:00
parent 37664fb2aa
commit d9f21fef42
24 changed files with 54 additions and 284 deletions

View File

@@ -45,7 +45,7 @@
<int:channel id="cbChannel" />
<int:control-bus input-channel="cbChannel" use-registry="true"/>
<int:control-bus input-channel="cbChannel"/>
<int:gateway default-request-channel="cbChannel"
service-interface="org.springframework.integration.ip.tcp.ClientModeControlBusTests$ControlBus"/>