Skip to content

CozyBus is a lightweight message bus for your project

License

Notifications You must be signed in to change notification settings

a-legotin/CozyBus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CozyBus

CozyBus is a lightweight message bus for your project

Build status GitHub stars

Usage RabbitMQ

appsettings.json

"RabbitOptions": {
    "Url": "localhost",
    "Username": "guest",
    "Password": "guest",
    "Port": 5672
}

configure services

var rabbitOptions = new RabbitOptions();
configuration.GetSection(nameof(RabbitOptions)).Bind(rabbitOptions);
services.UseRabbitMqMessageBus(builder =>
{
    builder.WithConnection(rabbitOptions.Url);
    builder.WithUsername(rabbitOptions.Username);
    builder.WithPassword(rabbitOptions.Password);
    builder.WithPort(rabbitOptions.Port);
});

About

CozyBus is a lightweight message bus for your project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages