What is the actual MSMQ address used by the respective WCF binding?

Posted by mark on Stack Overflow See other posts from Stack Overflow or by mark
Published on 2010-12-21T12:16:05Z Indexed on 2010/12/21 12:54 UTC
Read the original article Hit count: 446

Filed under:
|

Dear ladies and sirs.

This question is related to this one.

Given that WCF binding uses net.msmq:// URL, for instance net.msmq://server/private/nc_queue, how can one know what is the actual MSMQ address to which this URL is translated? Is there some kind of a trace that can be activated? Or an external tool that would help one capture the address?

Thanks.

EDIT1

OK, I owe a clarification. One can talk directly to MSMQ through the respective .NET API. In the case of MSMQ over its native port 1801, I would use this MSMQ address:

FormatName:Direct=OS:server\private$\nc_queue

When MSMQ is configured over HTTP, the address changes to something like this:

FormatName:Direct=http://server/msmq/nc_queue

But the WCF binding uses a standard URL to describe the address, like:

net.msmq://server/private/nc_queue

So, how can I know what is the actual MSMQ address (the one with the FormatName) to which the net.msmq:// is translated?

© Stack Overflow or respective owner

Related posts about wcf

Related posts about msmq