春の統合とamqpを使用して実装されたリクエスト/リプライがあります。リクエストの処理に時間がかかる場合があります (場合によっては 1 時間かかることもあります)。何らかの理由でクライアントが例外をスローします -
Exception in thread "main" org.springframework.integration.handler.ReplyRequiredException: No reply produced by handler 'client', and its 'requiresReply' property is set to true.
私のクライアント設定は以下です。
<int-amqp:outbound-gateway
id="client"
request-channel="in"
reply-channel="res"
exchange-name="reportingServer"
routing-key-expression="'report.req.'+headers.id"
amqp-template="amqpTemplate" requires-reply="true">
</int-amqp:outbound-gateway>
reply-timeout のデフォルト値は -1 で、無期限に待機することを意味すると思いますが、なぜ機能しないのかわかりません。助けていただければ幸いです。
また、amqp でこのような長い待機操作を実装する際の既知の問題はありますか?それとも問題ないはずですか?
ありがとうございました