Do RabbitMq policies override queue parameters?

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

In this rabbitmq documentation, there is nicely explained 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 :

queue definition

… what will be the applied value?

Read more here: Source link