Adding more info:
I'm using RabbitMQ version 3.8.9. Here's the docker compose to setup two rabbitmq systems (which I'm defining as region1 and region2). version: "3.4"
services:
rabbitmq1:
image: rabbitmq:3-management
ports:
- "5672:5672"
- "15672:15672"
container_name: rabbitmq1
hostname: rabbitmq1
volumes:
- rabbit1volume:/var/lib/rabbitmq/mnesia
- ./config/enabled_plugins:/etc/rabbitmq/enabled_plugins
- ./config/rabbitmq.conf:/etc/rabbitmq/rabbitmq.conf
rabbitmq2:
image: rabbitmq:3-management
ports:
- "5673:5672"
- "15673:15672"
container_name: rabbitmq2
hostname: rabbitmq2
volumes:
- rabbit2volume:/var/lib/rabbitmq/mnesia
- ./config/enabled_plugins:/etc/rabbitmq/enabled_plugins
- ./config/rabbitmq.conf:/etc/rabbitmq/rabbitmq.conf
volumes:
rabbit1volume:
rabbit2volume:
Here's my federation policies setup for exchange and queue on both rabbitmq's. I tried adding a priorities to the policy but that doesn't seem to be use for publishing messages.
Here's the upstream status of both.
Here's the exchange setup for both and showing the fed-exchange policy:
And here's the queue setup for both showing the fed-queue-policy:
Any ideas/help is greatly appreciated.