There are three common types of exchange, are as follows
-
“fanout”
Sent to the switch to route all messages bound with the switch queue.
-
”direct“
Sent to the message routing switch and those BindingKey exact match queue RoutingKey
-
“topic”
And "direct" similar type of switch, and routes the message to BindingKey RoutingKey match queue, but on different matching rules
RountingKey BindingKey and a dot-separated string, the string may be separated by the word referred to, for example, ".": Log.warning, log.debug, log.info