RabbitMQ Queue Arguments

Message TTL message在队列中能够存活多长时间,以毫秒为单位;发布的消息在queue时间超过了你设定的时间就会被删除掉。html channel.QueueDeclare("test", true, false, false, new Dictionary<string, object> { { "x-message-ttl", 60000 } }); 设置queue的消息过时时间
相关文章
相关标签/搜索