public void CreateReceiveEndpoint(string queueName, Action<IRabbitMqReceiveEndpointConfigurator> configure) { var endpointConfigurator = new RabbitMqReceiveEndpointSpecification(_host, queueName); configure?.Invoke(endpointConfigurator); BusConfigurationResult.CompileResults(endpointConfigurator.Validate()); endpointConfigurator.Apply(_builder); }
public void CreateReceiveEndpoint(string queueName, Action <IRabbitMqReceiveEndpointConfigurator> configure) { var endpointConfigurator = new RabbitMqReceiveEndpointSpecification(_host, queueName); configure?.Invoke(endpointConfigurator); BusConfigurationResult.CompileResults(endpointConfigurator.Validate()); endpointConfigurator.Apply(_builder); }