2
我是新的春季集成。 在我的Spring集成的配置我有:收件人列表路由器弹簧集成
<int:chain input-channel="channel1_2" output-channel="channel1_3">
<int:service-activator>
<bean class="com.csv.CSVEntreprise"/>
</int:service-activator>
</int:chain>
<int:channel id="channel1_3"/>
<int:recipient-list-router id="id-entreprise" input-channel="channel1_3">
<int:recipient channel="channel1_3TRUE" />
<int:recipient channel="channel1_3FALSE"/>
</int:recipient-list-router>
<int:channel id="channel1_3TRUE"/>
<int:channel id="channel1_3FALSE"/>
在CSVEntreprise我与布尔返回definied方法的类,我希望当它返回true使用信道channel1_3TRUE时,它的返回false使用信道channel1_3FALSE?