# Abp.EventBus.CAP

ABP version (opens new window) NuGet (opens new window) NuGet Download (opens new window) GitHub stars (opens new window)

ABP vNext framework CAP EventBus module that integrated the CAP (opens new window) with the ABP (opens new window) framework.

# Installation

  1. Install the following NuGet packages. (see how (opens new window))

    • EasyAbp.Abp.EventBus.CAP
  2. Add DependsOn(typeof(AbpEventBusCapXxxModule)) attribute to configure the module dependencies. (see how (opens new window))

  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 (opens new window) and the CAP document (opens new window).

Last Updated: 4/10/2021, 2:54:03 AM