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 ...

Get Visual Basic® Programmer's Guide to the .NET Framework Class Library 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.