重新排队过期消息的 Rabbitmq 问题
Rabbitmq problem with requeue expired messages
我创建了两个交易所 WORKER 和 RETRY。我设置 DLX 将过期或拒绝的消息重新发送到原始队列,但我的消息在重试队列中消失了。问题是过期消息不会落入 work.exchange。但是被拒绝的消息运作良好。
请帮助。你能给我一些解释和解决方案吗?
retry.queue 的会议
work.queue 的第三次会议
Problem is that the expired messages do not fall into work.exchange. But with rejected messages working well.
你应该在你原来的问题中解释过。
您不能创建到期周期;只拒绝然后过期。
It is possible to form a cycle of message dead-lettering. For instance, this can happen when a queue dead-letters messages to the default exchange without specifiying a dead-letter routing key. Messages in such cycles (i.e. messages that reach the same queue twice) will be dropped if there was no rejections in the entire cycle.
我创建了两个交易所 WORKER 和 RETRY。我设置 DLX 将过期或拒绝的消息重新发送到原始队列,但我的消息在重试队列中消失了。问题是过期消息不会落入 work.exchange。但是被拒绝的消息运作良好。
请帮助。你能给我一些解释和解决方案吗?
retry.queue 的会议
work.queue 的第三次会议
Problem is that the expired messages do not fall into work.exchange. But with rejected messages working well.
你应该在你原来的问题中解释过。
您不能创建到期周期;只拒绝然后过期。
It is possible to form a cycle of message dead-lettering. For instance, this can happen when a queue dead-letters messages to the default exchange without specifiying a dead-letter routing key. Messages in such cycles (i.e. messages that reach the same queue twice) will be dropped if there was no rejections in the entire cycle.