实现消息总线架构 [英] Implementing a Message Bus architecture

查看:36
本文介绍了实现消息总线架构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在为我公司的新消息总线架构进行分析和设计.过去我曾尝试过 MSMQ 做这样的事情,它运行良好,并且正在考虑为这个项目再次做同样的事情,但使用 WCF 作为 API 而不是使用 System.Messaging API.有没有人在 WCF 中使用过 MSMQ?使用 System.Messaging API 是否更容易?与 System.Messaging 相比,使用 WCF 有什么好处,反之亦然?

I'm currently doing analysis and design for a new message bus architecture in my company. I have tried MSMQ to do something like this in the past and it works well and was thinking of doing the same thing again for this project but using WCF as the API instead of using the System.Messaging API. Has anyone had experience with MSMQ in WCF? Is it easier to use then the System.Messaging API? What would be some benefits of using WCF over System.Messaging or vice versa?

推荐答案

恕我直言,有许多优秀、灵活且经过验证的总线架构可供选择 (NServiceBus公共交通Rhino 服务总线),实现您自己的将是一个很大的NIH.这不是一项微不足道的任务.

IMHO, with so many good, flexible and proven bus architectures to choose from (NServiceBus, Mass Transit, Rhino Service Bus), implementing your own would be a big NIH. It's not a trivial task.

Udi 在此消息中对其进行了很好的描述.

Udi describes it very well in this message.

这篇关于实现消息总线架构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆