rabbitmq / rabbitmq-server

Open source RabbitMQ: core server and tier 1 (built-in) plugins
https://www.rabbitmq.com/
Other
11.86k stars 3.9k forks source link

AMQP 0-9-1 to AMQP 1.0 federation links #2545

Open michaelklishin opened 8 years ago

michaelklishin commented 8 years ago

There's enough interest in federation working with AMQP 1.0 endpoints. This issue is for gathering feedback on how exactly that should work.

Note: this probably should be a separate plugin.

uvzubovs commented 8 years ago

Our use-case is to federate between Rabbit and some other AMQP 1.0 compliant broker to bridge disparate systems together across enterprises. Had we had Rabbit everywhere, we would have used the protocol that works best in Rabbit, i.e. 0-9-1.

Since we must assume that the upstream is not Rabbit, you cannot assume there are exchanges, or that you can create internal queues there. Therefore, the upstream must be a queue that would need to be explicitly created on the upstream by the upstream administrator. In the end, though, just as existing federation plug-in works as a fully compliant 0-9-1 client, the new plug-in would work as a fully compliant 1.0 client.

Thank you for considering this!