Process Flow - Headers exchange
Message Published with Headers
Headers Exchange Receives Message
Check Binding Headers
Route to Queue
A message with headers is sent to the headers exchange, which checks if the message headers match the binding headers of queues. If they match, the message is routed to those queues; otherwise, it is discarded.