public void ReceiveEndpoint(IRabbitMqHost host, string queueName, Action <IRabbitMqReceiveEndpointConfigurator> configure) { if (host == null) { throw new EndpointNotFoundException("The host address specified was not configured."); } var endpointConfigurator = new RabbitMqReceiveEndpointConfigurator(host, queueName); configure(endpointConfigurator); AddBusFactorySpecification(endpointConfigurator); }
public void ReceiveEndpoint(IRabbitMqHost host, string queueName, Action<IRabbitMqReceiveEndpointConfigurator> configure) { if (host == null) throw new EndpointNotFoundException("The host address specified was not configured."); var endpointConfigurator = new RabbitMqReceiveEndpointConfigurator(host, queueName); configure(endpointConfigurator); AddBusFactorySpecification(endpointConfigurator); }