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:
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user