With the new feature request in hand, the CC programming team came up with the new overall messaging architecture shown in the following diagram. The back-office application will be connected to RabbitMQ in order to publish information messages to all taxi drivers:
Fig 3.3: Back-office application in the architecture
Fanout exchange
Fanout exchange takes all messages that are coming in and delivers them to all queues that are bound to it. An easy-to-understand example of where to use a fanout is when messages need to be spread between many participants, like in a chat (however, there are probably better choices for pure chat applications).
Other examples include the following:
- Score board or...