public RabbitMQEventPublisher(RabbitMQConfiguration configuration)
 {
     _configuration     = configuration;
     _connectionFactory = new ConnectionFactory {
         HostName = configuration.HostName
     };
     SetUp();
 }
Ejemplo n.º 2
0
 public IEventRepositoryBuild Configuration(string hostName, string exchangeName, IBinaryEventsSerializer serializer)
 {
     _rabbitMQConfiguration = new RabbitMQConfiguration(hostName, exchangeName, serializer);
     return(this);
 }