public void CreateReceiveEndpoint(string queueName, Action <IInMemoryReceiveEndpointConfigurator> configure) { var specification = new InMemoryReceiveEndpointSpecification(queueName); configure?.Invoke(specification); BusConfigurationResult.CompileResults(specification.Validate()); specification.Apply(_builder); }
public void CreateReceiveEndpoint(string queueName, Action <IInMemoryReceiveEndpointConfigurator> configure) { var endpointConfiguration = _configuration.CreateNewConfiguration(); var specification = new InMemoryReceiveEndpointSpecification(_builder.InMemoryHost.Address, queueName, _sendTransportProvider, endpointConfiguration); configure?.Invoke(specification); BusConfigurationResult.CompileResults(specification.Validate()); specification.Apply(_builder); }