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