-
Notifications
You must be signed in to change notification settings - Fork 0
EventBus
CloudFy edited this page Dec 3, 2024
·
5 revisions
Arcturus EventBus is a standardized eventbus implementation, used for common distributed systems.
Implements Arcturus.EventBus
using RabbitMQ as queue and intermediate.
dotnet add package Arcturus.EventBus.RabbitMQ
using Arcturus.EventBus.RabbitMQ;
...
// console sample
var builder = Host.CreateApplicationBuilder();
builder.Services.AddRabbitMQEventBus(o => {
o.ApplicationId = "sampleApplication";
o.ClientName = Guid.NewGuid().ToString()[..10];
o.HostName = "localhost";
});
var host = builder.Build();
...