How to route messages from rabbitmq?

Alibaba cloud Q & A 2022-02-13 08:06:33 阅读数:310

route messages rabbitmq

RabbitMQ How do I route my messages ?




Take the answer 1:

Message provider -> route -> When one or more queue messages are published to the switch , The message will have a routing key (routing key), Set... At message creation time . Route key through queue , You can bind queues to switches . When the message arrives at the switch ,RabbitMQ The routing key of the message will be matched with the routing key of the queue ( There are different routing rules for different switches )


copyright:author[Alibaba cloud Q & A],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130806318900.html