I'd like to make an informed choice towards a simple publish/subscribe architecture.
So I'm wondering: what does the Service Bus add that MSMQ can't do ?
What are the drawbacks of the Service Bus ?
Thx for enlightening me!
The main functional difference is Service Bus provides out of the box support for message exchange semantics such as topic based routing via publish-subscribe.
MSMQ on the other hand is a lightweight store-and-forward queuing system, which supports point-to-point one way messaging.
Service Bus:
If you are looking at pub-sub frameworks then a popular one at the moment (free in single threaded mode) is NServiceBus , which sits on top of MSMQ, though has swap-able transport.
Pros
Cons
However people are using MSMQ as a local store with Service Bus, so publish locally, then push it over to the bus when a connection is available.
We are having a good experience with Service Bus instead of MSMQ at the moment.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.