Ejemplo n.º 1
0
 public RabbitMqEventBusConfiguration(DomainEventSubscribersInformation domainEventSubscribersInformation,
                                      RabbitMqConfig config, string domainEventExchange = "domain_events")
 {
     _domainEventSubscribersInformation = domainEventSubscribersInformation;
     _config = config;
     _domainEventExchange = domainEventExchange;
 }
Ejemplo n.º 2
0
 public RabbitMqDomainEventsConsumer(
     DomainEventSubscribersInformation information,
     DomainEventJsonDeserializer deserializer,
     IServiceProvider serviceProvider,
     RabbitMqConfig config)
 {
     _information     = information;
     _deserializer    = deserializer;
     _serviceProvider = serviceProvider;
     _config          = config;
 }
 public RabbitMqPublisher(RabbitMqConfig config)
 {
     _config = config;
 }