public void CreateReceiveEndpoint(string queueName, Action<IRabbitMqReceiveEndpointConfigurator> configure)
        {
            var endpointConfigurator = new RabbitMqReceiveEndpointSpecification(_host, queueName);

            configure?.Invoke(endpointConfigurator);

            BusConfigurationResult.CompileResults(endpointConfigurator.Validate());

            endpointConfigurator.Apply(_builder);
        }
Example #2
0
        public void CreateReceiveEndpoint(string queueName, Action <IRabbitMqReceiveEndpointConfigurator> configure)
        {
            var endpointConfigurator = new RabbitMqReceiveEndpointSpecification(_host, queueName);

            configure?.Invoke(endpointConfigurator);

            BusConfigurationResult.CompileResults(endpointConfigurator.Validate());

            endpointConfigurator.Apply(_builder);
        }
Example #3
0
 protected override void PreBuild()
 {
     _busEndpointSpecification.Apply(this);
 }