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

20 lines
523 B

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