タイムアウト属性を持つSpring受信者リストルータは誰でも使用されますか?Spring統合 - 受信者リストルータのタイムアウト
<int:recipient-list-router id="customRouter" input-channel="routingChannel"
timeout="1234"
ignore-send-failures="true"
apply-sequence="true">
<int:recipient channel="channel1"/>
<int:recipient channel="channel2"/>
</int:recipient-list-router>
タイムアウト: タイムアウト属性は、ターゲットメッセージチャネルにメッセージを送信するときに、待機する時間をミリ秒単位での最大量を指定します。デフォルトでは、送信操作は無期限にブロックされます。
が次のチャンネルに移動する前に、を待つのに適した時間を把握しようとしています。 bounded queue channel
フレーズに
<xsd:attribute name="timeout" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
Specify the maximum amount of time in milliseconds to wait
when sending Messages to the target MessageChannels if blocking
is possible (e.g. a bounded queue channel that is currently full).
By default the send will block indefinitely.
DEPRECATED in favor of 'send-timeout' for consistency with other elements.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
ご注意:
出力チャンネルは何ですか?キューではない場合(有限のサイズ)、タイムアウトを設定する必要はありません。 –
その待ち行列チャネル、私は待っている時間の良い量は何ですか? –