实现消息总线架构

问题描述:

我目前正在为我公司的新消息总线架构进行分析和设计.过去我曾尝试过 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.