int:gateway的Java DSL等效项是什么,它具有错误通道和默认请求通道。 默认请求通道输入到转换器,该转换器将JMS消息发送到出站适配器并返回可监听的将来。
答案 0 :(得分:2)
类似这样的东西:
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/appdefault</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
</style>
</resources>
return IntegrationFlows.from(Gate.class)
https://docs.spring.io/spring-integration/docs/current/reference/html/java-dsl.html#java-dsl-gateway