NServiceBus 相对于普通 RabbitMQ 的特定优势 [英] Specific advantages of NServiceBus over plain RabbitMQ

查看:29
本文介绍了NServiceBus 相对于普通 RabbitMQ 的特定优势的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

与简单地使用 RabbitMQ 的 .net 驱动程序相比,使用 NServiceBus 有什么优势(假设我们可以用 AMQP 替换 MSMQ).NSB 是否提供了 AMQP 中无法直接提供的任何附加功能或抽象.

Are there any advantages of using NServiceBus over simply using the .net driver for RabbitMQ (assuming we can replace MSMQ with AMQP). Does NSB provide any additional functionality or abstractions that are not available directly in AMQP.

推荐答案

主要优势包括(但不限于):

Main advantages include (but are not limited to):

  • 负责消息的序列化/反序列化.
  • 为发送消息 w 提供了一个简洁的模型.处理程序、多态分派、在管道中安排处理程序等.
  • 处理工作单元.
  • 提供简洁的传奇实现.
  • 为您提供一个可以通过 F5 调试以及安装为 Windows 服务的主机进程.

如果您要直接使用 RabbitMQ .NET 客户端,这些是您需要自己动手的东西 - 当然,除非您不需要任何这些东西.

These are things, that you'd need to roll yourself, if you were to use the RabbitMQ .NET client directly - unless, of course, you don't need any of these things.

哦,如果您使用 MSMQ 而不是 RabbitMQ,您可以在无代理模型中获得所有这些东西:)

Oh, and if you use MSMQ instead of RabbitMQ, you can get all these things in a broker-less model :)

这篇关于NServiceBus 相对于普通 RabbitMQ 的特定优势的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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