'How can I override or merge the default policies in Amazon MQ (RabbitMQ)?

There is a default policy managed by AWS (ha-all-AWS-OWNED-DO-NOT-DELETE) that is assigned by default to any rabbitmq exchange due its priority (0) and wildcard .* .

I am trying to match another policy with my exchanges with the definition:

federation-upstream-set: all

Since I am trying to create a federation upstream but any policy gets overridden by the default amazon policy, all my policies are being ignored so federation upstreams are unable to run.

Anyone has managed to make a federation upstream work using Amazon MQ?

Thanks.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source