.NET framework for asynchronous messaging, sagas and distributed systems
open sourceRPL-1.5 OR Particular Software License Agreementfree
NServiceBus is Particular Software's .NET framework for building distributed systems around asynchronous messaging, and the base of its Particular Service Platform. It sends commands and publishes events over Azure Service Bus, Azure Storage Queues, Amazon SQS/SNS, RabbitMQ or SQL Server, stores saga and outbox data in SQL Server, MySQL, PostgreSQL, Oracle, Cosmos DB, Azure Table Storage, DynamoDB, MongoDB or RavenDB, orchestrates long-running processes with sagas, retries failed messages, and emits OpenTelemetry data. It runs on-premises, in the cloud, in containers or serverless. Its source is under the Reciprocal Public License 1.5, or Particular's commercial licence agreement for software that doesn't release its own source.
Problems it solves
- send commands and publish events between .NET services reliably over a message queue
- run a long-running business process across several .NET services with retries
- build .NET microservices on Azure Service Bus or Amazon SQS without writing the plumbing
Features
- commands and events over Azure Service Bus, Amazon SQS/SNS, RabbitMQ, SQL Server and Azure Storage Queues
- sagas for long-running business processes
- automatic retries and failure recovery
- OpenTelemetry integration
- persistence in SQL Server, PostgreSQL, MySQL, Oracle, Cosmos DB, DynamoDB, MongoDB and RavenDB
Limitations
- Using it under the Reciprocal Public License means releasing the source of the software you build with it; otherwise you need Particular's commercial licence1
Alternatives
The same job
These do what NServiceBus does.
- MassTransit .NET framework for message-based distributed applications over RabbitMQ, Azure Service Bus, Amazon SQS and more
- CAP .NET library for distributed transactions and an event bus with the outbox pattern