6.1. Message Queues

As I have said, message queues are the basis for asynchronous drawbridges. This situation is changing, but that's where we are today. So an overview of message queues is a good starting point for understanding asynchronous drawbridges.

A message queue is like a postal service. Someone puts messages into a receiving mailbox. Someone else takes them out of a delivery mailbox. Messages are not sent to a person, but rather to a specific delivery mailbox. Anybody who can access that mailbox can receive the message. How the postal service chooses to route the message from one mailbox to the other is not your problem. You care only that when you send a message, somehow it gets there.

Whereas a message queue overall is like a postal ...

Get Software Fortresses: Modeling Enterprise Architectures now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.