Skip to content

In-Memory Queue

In-Memory Queue is a memory-based message queue provided by the community.

Configuration

To use in-memory queue as a message transporter, you need to install the following package from NuGet:

PM> Install-Package Savorboard.CAP.InMemoryMessageQueue

Next, add configuration options to the ConfigureServices method of Startup.cs:

public void ConfigureServices(IServiceCollection services)
{
    // ...

    services.AddCap(x =>
    {
        x.UseInMemoryMessageQueue();
        // x.UseXXX ...
    });
}