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