Message Queues
Without message queues, you can't have Messaging. Message queues are required to send and receive messages. (For this section, all you need to know about messages is that they are units of information in text or binary form. We will delve into more detail on messages later in the chapter.)
A message queue is a file structure (similar to a folder) that stores messages in transit. It can be thought of as a mediator between a sender and a receiver, similar to your mailbox. A letter is sent by the power company, and it is stored at the post office. The message is picked up by the mail carrier, who takes it to your mailbox. The message is again stored; finally, you pick it up. The message queues in this analogy are the post office and ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access