O'Reilly logo

RabbitMQ Essentials by David Dossot

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding topic messages

CCM's application allows users to organize themselves in groups by registering their topics of interest. The new message feature we want to roll out will allow a user to send a message to all users interested in a particular topic. It turns out that this feature matches a specific exchange routing rule, not surprisingly called topic! This type of exchange allows the routing of message to all the queues that have been bound with a routing key that matches the routing key of the message. So, unlike the direct exchange that routes a message to at the most one queue, the topic exchange can route it to multiple queues.

Note

The topic exchange supports strict routing key matching and also wild-card matching using * and # as respective ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required