Skip to content

luy710/Abp.EventBus.CAP

 
 

Repository files navigation

Abp.EventBus.CAP

ABP version NuGet NuGet Download GitHub stars

ABP vNext framework CAP EventBus module that integrated the CAP with the ABP framework.

Installation

  1. Install the following NuGet packages. (see how)

    • EasyAbp.Abp.EventBus.CAP
    • (Optional) EasyAbp.Abp.EventBus.CAP.MySql
    • (Optional) EasyAbp.Abp.EventBus.CAP.PostgreSql
    • (Optional) EasyAbp.Abp.EventBus.CAP.SqlServer
  2. Add DependsOn(typeof(AbpEventBusCapXxxModule)) attribute to configure the module dependencies. (see how)

  3. Configure the CAP.

    public override void ConfigureServices(ServiceConfigurationContext context)
    {
    	var configuration = context.Services.GetConfiguration();
    	context.AddCapEventBus(capOptions =>
    	{
    		// capOptions.UseInMemoryStorage();
    		capOptions.UseRabbitMQ("localhost");	// Configure the host of RabbitMQ
    		capOptions.UseDashboard();	// CAP provides dashboard pages after the version 2.x
    	});
    }

Usage

See the ABP distributed event bus document and the CAP document.

About

This is a repository integrated CAP with ABP EventBus

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%