Beispiel #1
0
        public HttpTransportReceiveEndpointContext(IHttpReceiveEndpointConfiguration configuration, ReceiveObservable receiveObservers,
                                                   ReceiveTransportObservable transportObservers, ReceiveEndpointObservable endpointObservers)
            : base(configuration, receiveObservers, transportObservers, endpointObservers)
        {
            _configuration = configuration;

            _consumePipe = configuration.Consume.CreatePipe();

            _sendTransportProvider = new Lazy <ISendTransportProvider>(CreateSendTransportProvider);
        }
Beispiel #2
0
        void ConfigureReceiveEndpoint(IHttpReceiveEndpointConfiguration configuration, Action <IHttpReceiveEndpointConfigurator> configure)
        {
            configuration.ConnectConsumerConfigurationObserver(this);
            configuration.ConnectSagaConfigurationObserver(this);

            configure?.Invoke(configuration.Configurator);

            var specification = new ConfigurationReceiveEndpointSpecification(configuration);

            AddReceiveEndpointSpecification(specification);
        }
 public HttpReceiveEndpointBuilder(IHttpReceiveEndpointConfiguration configuration)
     : base(configuration)
 {
     _configuration = configuration;
 }
 public HttpTransportReceiveEndpointContext(IHttpReceiveEndpointConfiguration configuration)
     : base(configuration)
 {
     _configuration = configuration;
 }
Beispiel #5
0
 public HttpTransportReceiveEndpointContext(IHttpHostControl host, IHttpReceiveEndpointConfiguration configuration)
     : base(configuration)
 {
     _transportProvider = new HttpTransportProvider(host, this);
 }
Beispiel #6
0
 public HttpTransportReceiveEndpointContext(IHttpHostControl host, IHttpReceiveEndpointConfiguration configuration)
     : base(configuration)
 {
     _host = host;
 }
 public HttpReceiveEndpointBuilder(IHttpHostControl host, IHttpReceiveEndpointConfiguration configuration)
     : base(configuration)
 {
     _configuration = configuration;
     _host          = host;
 }