I'm using federation with a topic exchange between two RabbitMQ nodes. As part of this, I've defined an exchange, 'skytap' which is a topic exchange (yes, I know it's not *really* a topic exchange).<br>
<br>The upstream sets for the skytap exchange are pointed to each other, as described in the Federation doc as a "Pair of federated exchanges". For routing keys, I'm using something of the form "foo.XXX", where XXX is either 'east' or 'west'.<br>
<br>On server 'A', I have a queue 'foo' bound to the skytap exchange, using a routing key of 'foo.west'. On server 'B', I have a queue 'foo' bound to the skytap exchange, using a routing key of 'foo.east'.<br>
<br>This all generally works as expected. In particular, I have a client app running on server 'A' that publishes using the 'foo.west' routing key. In other words, everything should be happening locally to server 'A'.<br>
<br>However, via the Management Web UI, I'm noticing that there seems to be message traffic to server 'B'. In particular, on the Exchanges tab for server 'B' if I select the 'skytap' exchange, I see:<br>
<br>Channel | publish | confirm<br><rabbit@xxx.3.299.0> (1) | 20/s | 20/s<br><br>However (as I'd expect), no messages go into the 'foo' queue (or any other queue) on server 'B'. Likewise, on the queue tab of server 'A', the queue named "skytap -> rabbit@serverA.blah.blah", shows incoming/deliver/ack rates of 20/s as well.<br>
<br>This runs counter to what I'd expect from reading the Federation doc, specifically: "Therefore the federated
exchange only receives messages for which it has a subscription."<br><br>Am I misunderstanding something, or perhaps don't have things configured optimally?<br><br>Thanks,<br><br>Matt<br><br><br><br>