如何向远程主机发送msmq消息? (犀牛服务巴士)
在 Windows 网络上编写健壮的消息基础结构的过程中,我决定在 msmq 之上使用服务总线;因为我想将开销保持在最低限度,所以我选择了 Rhino Service Bus。
我的想法是,该服务的任何客户端(4-5 个顶级)都可以通过在该机器队列上推送消息来通知网络上的一台机器。然后该消息由服务处理。所以在我看来,我所遇到的就像
- 许多客户端通知同一个远程端点
- 一个服务将消息从队列中拉出并处理它们
但是我在远程发送方面遇到了问题;我的消息根本没有出现在队列中。我检查的是,
- RSB 没有报告错误
- 根据我从网上得到的信息,
- ,显然我已经在远程计算机上开放了所有权限。远程端点看起来像是由 RSB 使用正确的语法正确翻译的。
- 在网络嗅探器中,我看到发生与 MSMQ 相关的流量。
- 如果所有消息的发布/处理都在同一台机器上完成,它就可以工作,
我真的不知道从那里去哪里检查问题所在。如何检查权限是否正确?是否有示例显示 RSB 机器之间开箱即用的远程通信?
in the course of writing a robust message infrastructure on a windows network, i've decided to use a service bus on top of msmq; since i wanted to keep the overhead at a minimum i went with Rhino Service Bus.
What i have in mind is that any client (4-5 tops) of the service can notify one machine on the network by pushing a message on this machine queue. The message is then processed by a service. So in my mind what i had was something like
- Many clients notify the same remote endpoint
- One service pulls the messages out of the queue and handles them
However i'm having a problem regarding the remote sending; my message simply doesn't appear in the queue. What i checked is
- no error is reported by RSB
- according to what i got from the net, i've apparently left all permissions wide open on the remote machine.
- the remote endpoint looks like it's translated correctly by RSB, with the correct syntax.
- In a network sniffer i see traffic related to MSMQ taking place.
- it's working if all the posting/processing of messages is done on the same machine
I don't really see where to go from there to check where the problem lies. How can i check that the permissions are correct? Are there samples that show out-of-the box remote communications between machines for RSB?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论