O'Reilly logo

Microsoft® Visual J#™ .NET (Core Reference) by John/Longshaw, Andy Sharp

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required