本文介绍了如何在远程计算机上创建消息队列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在远程计算机上创建消息队列?请帮助我提供代码.还请让我知道如何检查远程计算机中是否存在消息队列?

How do i create a message queue in a remote machine?Please help me with the code.Please also let me know how to check whether a message queue exists in a remote machine or not?

推荐答案

以上内容仅适用于公共队列,并且具有此功能,因为查找实际上是在检查Active Directory(而不是目标计算机本身).

The above only works for Public queues, and the functionality is there since teh lookup is actually checking Active Directory (not the destination computer itselft). 

对于专用队列,您不能远程创建/删除队列.要检查队列是否存在,您可以尝试发送启用了确认的消息,在非远程计算机上指定确认队列,并且消息应为 返回成功或失败(假设您已打开完整确认).

For Private queues, you can't remotely create/delete queues.  To check the existence of a queue, you could try sending a message with acknowledgements enabled, specify an acknowledgement queue on the non-remote machine, and a message should be returned with either success or failure (assuming you have full acknowledgements turned on).


这篇关于如何在远程计算机上创建消息队列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-28 22:15
查看更多