RabbitMQ has three different ways to distribute messages among brokers:
In this recipe we will show you how to combine cluster, high-availability queue mirroring, and shovel to transfer messages across the WAN from an
ha-cluster to a single RabbitMQ node, as shown in the following diagram:
The aim is to implement a shovel capable of draining messages from a cluster using its high-availability properties.
You need three RabbitMQ nodes.
You should have two nodes on the same LAN, and the third node eventually should be outside the network. ...