In my application I am Integrating Rabbit MQ using spring cloud stream. By default spring cloud streams creates the destination as a exchange of type topic in Rabbit MQ. How to configure spring cloud stream to create a exchange of type fanout ?
#
:When a queue is bound with "#" (hash) binding key - it will receive all the messages, regardless of the routing key - like in fanout exchange.
See https://www.rabbitmq.com/tutorials/tutorial-five-java.html
#
key trick.