MongoDB DataBus

Project Hosting
NuGet Package NServiceBus.Persistence.MongoDb (8.x) | License
This is a community run project. License and support are independent of Particular Software.
Target NServiceBus Version: 5.x

Uses MongoDB for DataBus storage.

Usage

var persistence = busConfiguration.UsePersistence<MongoDbPersistence>();
persistence.SetConnectionString("mongodb://localhost/databaseName");
busConfiguration.UseDataBus<MongoDbDataBus>();

Note that the connection string used for the databus is shared by the MongoDB Persistence.

Related Articles


Last modified