什么是服务总线?
我已经在网上无数次地阅读了关于 nservicebus 的文章,但仍然不明白什么是服务总线.
I've read about nservicebus countless times on the net, but still don't get what a service bus is.
我认为这是非常不同的系统相互通信的一种方式吗?在这种情况下,我不明白为什么它比 WCF 好?
All I think is it is a way for very disparate systems to talk to each other? In which case, I don't see why it is any better than WCF?
我已经在这里看到了关于什么是服务总线的线程,但它仍然没有点击.
I've seen the thread on here about what a service bus is but it still hasn't clicked.
谢谢
假设您已阅读这些页面 http://specific.net/nservicebus 和 http://docs.particular.net/nservicebus/architecture/nservicebus-and-wcf 您会发现 NServiceBus 使与服务的通信变得更加容易.
Assuming that you have read these pages http://particular.net/nservicebus and http://docs.particular.net/nservicebus/architecture/nservicebus-and-wcf you'll find that NServiceBus makes communicating with services much easier.
它通过处理消息的中毒和事务元素以及提供开箱即用的 Pub/Sub 样式消息来包装 WCF.NServiceBus 将负责的好处包括:
It wraps WCF by taking care of the poisoned and transactional elements of messaging as well as offering out of the box Pub / Sub style messaging. Benefits that NServiceBus will take care of include:
- 长时间运行的有状态进程在顶层使用 WF
- 本地消息传递
- 如果服务器离线,客户端可以发送消息
- 毒信息检测和分发
- 毒信息再处理
- 重新启动后订阅仍然存在
- 多态消息调度
- 多态消息路由
- 消息驱动的单元测试