You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
abp/samples/RabbitMqEventBus/App2/App2Module.cs

22 lines
561 B

using Volo.Abp.Autofac;
using Volo.Abp.EventBus.RabbitMq;
using Volo.Abp.Modularity;
namespace App2
{
[DependsOn(
typeof(AbpEventBusRabbitMqModule),
typeof(AbpAutofacModule)
)]
public class App2Module : AbpModule
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
Configure<AbpRabbitMqEventBusOptions>(options =>
{
options.ClientName = "TestApp2";
options.ExchangeName = "TestMessages";
});
}
}
}