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