【问题标题】:Do RabbitMq policies override queue parameters?RabbitMq 策略是否覆盖队列参数?
【发布时间】:2022-12-03 17:42:15
【问题描述】:

Problem

Our clients can create their own queues on the RabbitMq cluster and we need to control the important parameters on the queue (ttl, expiration etc.). The issue is that we cannot be sure what value is actually applied: the one from x-arguments or the policy.

Question

Here, they nicely explain how are different policies resolved but it does not mention the priority of x-arguments.

So if the queue is created with x-message-ttl : 180000 and the applied policy defines message-ttl : 100000, like this :

... what will be the applied value?

    标签: rabbitmq


    【解决方案1】:
    猜你喜欢
    • 2023-04-10
    • 1970-01-01
    • 2020-05-24
    • 2015-12-17
    • 2011-05-11
    • 2011-06-19
    • 2023-02-20
    • 2021-11-16
    • 2018-02-05
    相关资源
    最近更新 更多