O'Reilly logo

Applying COM+ by Gregory Brill

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

Appendix E. Queue Moniker Parameters

We learn in Chapter 10, "Queued Components," that Queued Components rely on MSMQ for asynchronocity. The queue moniker is used to instantiate queued components and can also be used to set MSMQ-specific properties affecting how messages are delivered to these components. This gives the COM+ client author some additional control over how and where MSMQ ultimately delivers its method calls. For example, consider the following moniker string:

Set b =  GetObject("queue:MaxTimeToReachQueue=10/new:Some.Component")

The MaxTimeToReachQueue parameter shown here allows you to specify the maximum time a message has to reach its destination queue before an error is triggered. If you are using MSMQ directly, you will find ...

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