私はこのSOF質問を読んでおり、補足的な質問があります。多くのプロデューサとスプリング統合フローを作成する方法
私はこの今日のように動作します春の統合の流れがあります。
@Bean
public IntegrationFlow udpSource1() {
return IntegrationFlows.from(new MulticastReceivingChannelAdapter("224.0.0.1", 2000)).
transform(new ObjectToStringTransformer("utf8")).channel("stringified").get();
}
@Bean
public IntegrationFlow udpSource2() {
return IntegrationFlows.from(new MulticastReceivingChannelAdapter("224.0.0.1", 2001)).
transform(new ObjectToStringTransformer("utf8")).channel("stringified").get();
}
そして、私はseverals(10)UDPソースを持っています。
すべてのUDPソースを使用して1つのフローを作成したいと思います。それらのすべてが「ストリンジェライズ」チャンネルにデータをプッシュします。
私は、その後、ArrayListのからすべての私のUDPポートを取得、このリストを反復処理し、UDPソースを作成したいと思い...
それは可能ですか?