Chapter 12. Using Message Queues

You learned in the last few chapters how to send messages between processes that are running concurrently, either on the same computer or on different computers. But sometimes a client application might need to send a message to a server process that is not executing at that time. Rather than have the message be rejected and raise an exception, it might be better to store the message and forward it to the target server process when it eventually does start running. In a similar scenario, you might need to send a message to a server process when the client is disconnected from the network. Again, it would be useful to store and forward the message once a network connection has been established.

Consider the example ...

Get Microsoft® Visual J#™ .NET (Core Reference) 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.