2020年11月12日
摘要: 主要有2种方式: 指定一条消息的过期时间。 给队列设置消息过期时间,队列中的所有消息都有同样的过期时间。 1、指定消息的过期时间 @RestController public class TTLController { @Autowired private RabbitTemplate rabbit 阅读全文
posted @ 2020-11-12 17:48 yuluoxingkong 阅读(3955) 评论(0) 推荐(0) 编辑