In Memory Queue is a memory-based message queue provided by Community.
To use In Memory Queue as a message transporter, you need to install the following extensions from NuGet:
PM> Install-Package Savorboard.CAP.InMemoryMessageQueue
Then you can add memory-based configuration items to the ConfigureServices
method of Startup.cs
.
public void ConfigureServices(IServiceCollection services)
{
// ...
services.AddCap(x =>
{
x.UseInMemoryMessageQueue();
// x.UseXXX ...
});
}