MongoDB DataBus

Source
NuGet Package NServiceBus.Persistence.MongoDb (8.x) | License
This is a community maintained project. License and support are independent of Particular Software.
Target NServiceBus Version: 5.x
Standard support for version 5.x of NServiceBus has expired. For more information see our Support Policy.

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