Implementing a Message Bus architecture

前端 未结 3 1114
名媛妹妹
名媛妹妹 2020-12-12 23:14

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

相关标签:
3条回答
  • 2020-12-12 23:25

    the Apache ActiveMQ (open source) message broker also has a .NET client:

    http://activemq.apache.org

    Together with Apache Camel and Apache ServiceMix, enterprise integration patterns and enterprise service bus systems are easy to set up.

    0 讨论(0)
  • 2020-12-12 23:37

    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 describes it very well in this message.

    0 讨论(0)
  • 2020-12-12 23:42

    Sorry, coming very late to this, but hopefully my answer is useful for MSMQ 4.0 users (but not necessarily useful to users of later versions).

    Both WCF Queuing and System.Messaging are wrappers over the MSMQ APIs. WCF is more sophisticated and complex, but does have the following benefits:

    • An OO view of your application's business processes rather than its communication plumbing.
    • End-to-end message encryption and authentication for free. System.Messaging only supports encryption on the wire, not in the store.
    • If you wish, you can host within IIS rather than building your own custom host.
    • Message correlation for free. This allows you to group messages into sessions automatically.
    • Transactional batching for free.
    0 讨论(0)
提交回复
热议问题