legion
legion

Reputation: 497

What protocol is used when reading from a local private MSMQ?

According to this: http://msdn.microsoft.com/en-us/library/ms811053.aspx reading from a remote queue means invoking a RPC call. What about when reading from a local queue? Is RPC also used?

The scenario that I'm trying to work with is multiple services reading from a local queue. With a remote queue RPC will create a blocking call perventing other services from reading from the remote queue. But if the queue is local, will calls still be blocked as MSMQ process the request from one service at a time?

Upvotes: 1

Views: 314

Answers (1)

John Breakwell
John Breakwell

Reputation: 4687

Local access to receive messages uses Local RPC.
http://technet.microsoft.com/en-us/library/cc738291(WS.10).aspx

The procedure is the same. If you do not open the queue for sharing (i.e. you specified MQ_DENY_RECEIVE_SHARE) then you'll get blocking regardless of local or remote activity.

Cheers
John Breakwell

Upvotes: 1

Related Questions