public void CreateReceiveEndpoint(string pathMatch, Action<IHttpReceiveEndpointConfigurator> configure)
        {
            var endpointConfigurator = new HttpReceiveEndpointSpecification(_host, pathMatch);

            configure?.Invoke(endpointConfigurator);

            BusConfigurationResult.CompileResults(endpointConfigurator.Validate());

            endpointConfigurator.Apply(_builder);
        }
Beispiel #2
0
        public void CreateReceiveEndpoint(string pathMatch, Action <IHttpReceiveEndpointConfigurator> configure)
        {
            var endpointConfigurator = new HttpReceiveEndpointSpecification(_host, _hosts, pathMatch, _configuration);

            configure?.Invoke(endpointConfigurator);

            BusConfigurationResult.CompileResults(endpointConfigurator.Validate());

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