[Other] RabbitMQ 4 / AMQP 1.0 : Broacasting with fanout/temporary queue #13601
-
Community Support Policy
RabbitMQ version used4.0.3 How is RabbitMQ deployed?Community Docker image Steps to reproduce the behavior in questionHello, I am not sure that it's the best place to ask, so sorry if it's not :) When acccessing with RabbitMQ in AMQ 0.9.1, I was able to implements a broadcasting of all message to all clients "connected" to an exchange. And now I am trying to reproduce this in AMQP 1.0.0. But it seems not possible to create temporary queue on the fly and bound them to the exchange in AQMP 1.0.0. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
Exchanges do not exist as a concept in AMQP 1.0. However, |
Beta Was this translation helpful? Give feedback.
-
The management extension does not support server-named queues. Our client libraries generate a random name when the user does not provide any. This applies to all types of queues (exclusive or not). RabbitMQ 4.1 (not released yet) supports the AMQP 1.0 |
Beta Was this translation helpful? Give feedback.
-
Thank you for all those informations :) |
Beta Was this translation helpful? Give feedback.
No, it's possible with the RabbitMQ AMQP 1.0 client libs. You can create any exchanges/queues/bindings you want.
It's easiest if your client creates a unique name. (For example you could take the container-id and link-name and some random number or timestamp).
Alternatively, RabbitMQ 4.1 adds server named queues via the
dynamic
field. See #13231rabbitmq-server/deps/rabbit/test/amqp_client_SUITE.erl
Lines 4885 to 4908 in b8244f7