Alibaba cloud Q & A 2022-02-13 08:06:34 阅读数:305
RabbitMQ The switches commonly used in message routing are mainly divided into several types ?
There are three kinds of commonly used exchangers :
fanout: If the switch receives a message , Will be broadcast to all bound queues
direct: If the routing keys match exactly , The message is delivered to the corresponding queue
topic: It enables messages from different sources to reach the same queue . Use topic In exchange , You can use wildcards
copyright:author[Alibaba cloud Q & A],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130806328481.html