public void CreateReceiveEndpoint(string queueName, Action <IServiceBusReceiveEndpointConfigurator> configure) { var endpointConfigurator = new ServiceBusReceiveEndpointSpecification(_host, queueName); configure?.Invoke(endpointConfigurator); BusConfigurationResult.CompileResults(endpointConfigurator.Validate()); endpointConfigurator.Apply(_builder); }
public void CreateReceiveEndpoint(string queueName, Action<IServiceBusReceiveEndpointConfigurator> configure) { var endpointConfigurator = new ServiceBusReceiveEndpointSpecification(_host, queueName); configure?.Invoke(endpointConfigurator); BusConfigurationResult.CompileResults(endpointConfigurator.Validate()); endpointConfigurator.Apply(_builder); }
public void CreateReceiveEndpoint(string queueName, Action <IServiceBusReceiveEndpointConfigurator> configure) { var endpointTopologySpecification = _configuration.CreateNewConfiguration(); var endpointConfigurator = new ServiceBusReceiveEndpointSpecification(_host, queueName, endpointTopologySpecification, _sendTransportProvider); configure?.Invoke(endpointConfigurator); BusConfigurationResult.CompileResults(endpointConfigurator.Validate()); endpointConfigurator.Apply(_builder); }