I've never used RabbitMQ, but NATS supports clustering, super clustering, and leaf node connections. I'm guessing the latter is the closest to what would be considered "federation" in this context.
Edit: spelling
Edit: spelling
https://docs.nats.io/nats-concepts/subject_mapping#for-traff...