You will learn to bind a Queue with a Topic Exchange using a routing key pattern. You have already learned about Exchanges and Queues in the Elements of RabbitMQ. The diagram here explains a producer sends a message to my-topic-exchange, there are 3 Queues bound to this exchange with 3 routing key patterns (health.*, #.sports.* and #.education). As you have noticed, in a topic exchange the Queues are linked using the routing key patterns instead of a simple routing key. Before understanding the message in Topic Exchange, let us understand the routing patterns.
Link to GitHub: https://github.com/jstobigdata/rabbitmq-parent-project/blob/master/00-getting-started/src/main/java/com/amqp/exchanges/all/TopicExchange.java
Link to Blog - https://jstobigdata.com/rabbitmq/topic-exchange-in-amqp-rabbitmq/
Tutorial home - https://jstobigdata.com/rabbitmq/complete-rabbitmq-tutorial-in-java/
#rabbitmq #messagebroker #java #microservices #amqp #programming #tutorial #topicexchange