RabbitMQ 延迟队列配置
- 选择
Exchanges新建 type:topic - 选择
Queues新建- 添加
Message TTL消息存活时间,单位ms - 添加
Dead letter exchange消息过期后,将转发的队列 x-dead-letter-routing-key可不填,填默认 '#' 路由字段
- 添加
- 绑定
Exchanges和Queues
Exchanges 新建 type:topicQueues 新建
Message TTL 消息存活时间,单位msDead letter exchange 消息过期后,将转发的队列x-dead-letter-routing-key 可不填,填默认 '#' 路由字段Exchanges 和 Queues