Requeueing dead letter messages

后端 未结 1 1094
别跟我提以往
别跟我提以往 2020-12-20 10:15

Is there any functionality built in to spring-amqp that would make it easy to requeue dead letter messages? I can write code to do it but it seems like such a common use cas

相关标签:
1条回答
  • 2020-12-20 10:51

    This is outside of Spring AMQP, but you can configure a TTL on the dead letter queue and configure that queue to dead-letter back to the original queue when expired.

    You can check the x-death header if you want to give up completely after some number of retry cycles.

    See this answer and its question for more information.

    0 讨论(0)
提交回复
热议问题