Skip to content

In-Memory Queue

In Memory Queue is a memory-based message queue provided by 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 ...
    });
}