NServiceBus 与 Windows ServiceBus [英] NServiceBus vs Windows ServiceBus

查看:49
本文介绍了NServiceBus 与 Windows ServiceBus的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人能解释一下新发布的 Windows ServiceBus(内部部署,而不是 Azure)和 NServiceBus 之间的区别吗?

Would someone be able to shed some light on the differences between the newly release Windows ServiceBus (on premise, not Azure) and NServiceBus?

正在寻找 Windows SB 可能缺少什么的详细答案,因为我熟悉 NSErviceBus 可以做什么:

Looking for a detailed answer what the windows SB may be missing as I'm familiar what NSErviceBus can do:

  1. 它是真正的服务总线,而不仅仅是使用队列的消息代理吗?
  2. 能否支持消息多态?(消息子类化其他支持此层次结构的消息和处理程序
  3. 长时间运行的流程和相关性
  4. 横向扩展

推荐答案

我负责 NServicebus 中的 Windows Azure ServiceBus 支持.在我看来,这个新的 Windows Server Servicebus 提供了与 Azure ServiceBus 完全相同的功能.因此,在我看来,它将与 NServiceBus 而不是竞争对手(就像 Windows Azure ServiceBus 一样)很好地匹配,并且可以用来代替 msmq.

I'm responsible for the Windows Azure ServiceBus support in NServicebus. And in my opinion this new Windows Server Servicebus provides the exact same capabilities as the Azure ServiceBus. So in my opinion it will be a good match with NServiceBus instead of a competitor (just as the Windows Azure ServiceBus is) and could be used instead of msmq.

回答您的问题

  1. 新的服务总线是一个使用队列的代理
  2. 服务总线上的消息最终只是字符串,服务总线本身没有对消息类型、层次结构、处理程序等的额外支持.通常,您会为此使用 WCF 或 NServiceBus.
  3. 不支持长时间运行的进程或关联.它确实与 NServiceBus 有一些功能重叠,但因为它可以执行订阅/主题,它还可以执行消息和过滤器的延迟.
  4. 它旨在横向扩展.

希望这有帮助吗?

亲切的问候,伊夫

这篇关于NServiceBus 与 Windows ServiceBus的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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