control-bus

Spring Integration how to use Control Bus with JavaConfig, no DSL

[亡魂溺海] 提交于 2021-02-11 13:30:08
问题 I'm having a few issues with Spring Integration and the control bus. I need to turn auto-start off on an InboundChannelAdapter. However when I do this I can't get the ControlBus to start the channel adapter. I've searched for an answer online, but most of the examples use XML configuration. Here is the entirety of my code: package com.example.springintegrationdemo; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.boot.CommandLineRunner; import org

Spring Integration how to use Control Bus with JavaConfig, no DSL

感情迁移 提交于 2021-02-11 13:29:32
问题 I'm having a few issues with Spring Integration and the control bus. I need to turn auto-start off on an InboundChannelAdapter. However when I do this I can't get the ControlBus to start the channel adapter. I've searched for an answer online, but most of the examples use XML configuration. Here is the entirety of my code: package com.example.springintegrationdemo; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.boot.CommandLineRunner; import org