Finding Queues

There might come a time when you're not sure of the queue that you're supposed to be sending to or receiving from. This presents a problem because it is not advisable or even possible to open a random queue and then start firing messages at it. Of course, the solution is to use services provided by MSMQ to enumerate the various queues available. There are several techniques an application can use to identify an acceptable target or source queue. In particular, all queues have a Service Type GUID slated for just this purpose. Application developers can generate a GUID with GUIDGen.exe or UUIDGen.exe and use the resulting GUID to tag all queues used by their applications. Labels can also be used, but this is obviously a far less ...

Get COM+ Unleashed now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.