C# 中的 MSMQ 适配器侦听器
我有一个 MSMQ-WCF 服务,它正在创建队列并维护 MSMQ 队列服务。
另外,我还有另一个托管在 WAS 中的 WCF 服务,它像监听器一样工作。
一旦消息到达 MSMQ 队列,就会自动从队列中选取该消息并读取该消息。
我只是想使用它的 MSMQ 侦听器适配器。还有其他方法可以做到这一点吗?请告诉我。
I have one MSMQ-WCF service that is creating a queue and maintains the MSMQ queue service.
Also, I have another WCF Services hosted in WAS, working like a Listener.
As soon as a message arrives in the MSMQ Queue, it should be automatically picked from the queue and the message should be read.
I just wanted to use it MSMQ Listener adapter. Is there any other way to do this? Please let me know.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 Windows 服务中托管队列侦听器要简单得多。这样就不需要涉及 WAS 以及可能涉及的所有复杂设置。
It's much simpler to host the queue listener in a windows service. This way there is no need to involve WAS and all the complicated setup that can involve.