首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >DotNet消息队列的抽象

DotNet消息队列的抽象
EN

Stack Overflow用户
提问于 2016-05-05 19:15:32
回答 5查看 5.4K关注 0票数 9

http://netcommon.sourceforge.net/

Common.Logging是在具体的“记录器”之上的抽象(例如: log4net、企业库日志、NLog)

对于消息队列系统,有类似的东西可用吗?(例如: msmq、rabbitmq、DotNetMQ、ZeroMQ等)

EN

回答 5

Stack Overflow用户

回答已采纳

发布于 2018-03-29 00:18:32

Obvs项目支持多个消息队列系统,并且看起来设计得很好,而且非常灵活。

传输: ActiveMQ / RabbitMQ / NetMQ / AzureServiceBus / Kafka / EventStore序列化: XML / JSON.Net / NetJson / ProtoBuf / MsgPack

票数 8
EN

Stack Overflow用户

发布于 2016-06-01 18:21:29

MassTransit

https://masstransit-project.com/usage/transports/

代码语言:javascript
运行
复制
MassTransit support multiple transports, including:

RabbitMQ
Azure Service Bus
ActiveMQ
Amazon SQS
In Memory

http://docs.masstransit-project.com/en/latest/installation/prerequisites.html

利用现有的消息传输,因此需要安装受支持的传输。

内存中的

内存中的传输包含在MassTransit中。不需要额外的软件。

RabbitMQ

要使用RabbitMQ,请下载并安装适合您的操作系统的版本。一旦安装了代理,就启用一些用于管理和消息跟踪的附加插件。

然后,在项目中安装MassTransit.RabbitMQ包,并遵循RabbitMQ配置指南。

Azure服务总线

Azure服务总线是一种通用的、基于云的消息传递系统,用于连接几乎任何东西--应用程序、服务和设备--无论它们在哪里。连接在Azure上运行的应用程序,或者在室内系统上运行,或者两者都连接。您甚至可以使用Service将家用电器、传感器和其他设备(如平板电脑或电话)连接到中央应用程序或彼此之间。

若要在MassTransit中使用Azure,请在项目中安装MassTransit.AzureServiceBus包,并遵循服务总线配置指南。

====================================

NServiceBus

它下面的链接将在未来消失,搜索"NServiceBus传输“

https://docs.particular.net/transports/types

代码语言:javascript
运行
复制
NServiceBus transports can be divided into several categories.

Federated transports
Federated transports are inherently distributed. Each endpoint instance may connect to a different node of the queueing technology. Messages are routed transparently between the nodes but the physical routing layer needs to contain information as to which node particular endpoint is connected to.

Federated transports include:

Learning
MSMQ
Broker transports
Broker transports are inherently centralized. Even if there are multiple servers, they act as a single logical instance that hosts all the queues (and/or topics/exchanges).

Broker transports include:

Azure Service Bus
Azure Service Bus (legacy)
Azure Storage Queues
SQL Server
RabbitMQ
Unicast-only transports
Unicast-only transports do not have the notion of topics, exchanges, or similar concepts; only queues. Because of this, they allow only point-to-point communication. Sending a message to multiple receivers (e.g. publishing an event) involves of multiple transport-level sends. Unicast-only transports require subscription storage via NServiceBus persistence.

Unicast-only transports include:

Azure Storage Queues
MSMQ
SQL Server version 4 and below
Amazon SQS version 4 and below
Multicast-enabled transports
Multicast-enabled transports have some notion of topics, exchanges, or similar concepts, which allow sending a message once and having it received by multiple clients. These transports do not require subscription storage.

Multicast-enabled transports include:

Learning
Azure Service Bus
Azure Service Bus (legacy)
RabbitMQ
SQL Server version 5 and above
Amazon SQS version 5 and above
票数 4
EN

Stack Overflow用户

发布于 2016-05-27 03:48:59

servicestack创建了一个带有RabbitMQ github适配器的公共接口。您可以按照此示例为其他库创建适配器。

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/37058559

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档