开发者

What is the format of remote queues' address

Our MQ service will be moved to outside of local server. I can see开发者_如何学JAVA current destination queue address as ".\Private$\eventQueue".

What is the format of remote address for sending messages?


From Technet:

Private queues are accessible only by Message Queuing applications
that know the full path name, the direct format name, or 
the private format name of the queue, as follows:

* Path name:ComputerName\private$\QueueName.
* Path name on local computer: \private$\QueueName.
* Direct format name:: DIRECT=ComputerAddress\PRIVATE$\PrivateQueueName.
* Private format name: PRIVATE=ComputerGUID\QueueNumber.

See this article for more on queue names. One thing to watch out for is that it's not possible to tell if a remote private queue is transactional or not, and if you post with the wrong transactional option set the message is discarded.


You can't access private queues remotely (that's why they're private). You can use the following queue name to access public queues, however:

FormatName:DIRECT=OS:<machine>\<queue>

(This works with the .NET library, I'm not sure about the native library)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜