public ServiceBusEntityReceiveEndpointContext(IServiceBusEntityEndpointConfiguration configuration, BrokerTopology brokerTopology)
            : base(configuration)
        {
            _configuration = configuration;

            BrokerTopology = brokerTopology;
        }
示例#2
0
        public ServiceBusEntityReceiveEndpointContext(IServiceBusHostControl host, IServiceBusEntityEndpointConfiguration configuration,
                                                      BrokerTopology brokerTopology)
            : base(configuration)
        {
            _host = host;

            BrokerTopology = brokerTopology;
        }
        public ServiceBusEntityReceiveEndpointContext(IServiceBusEntityEndpointConfiguration configuration, BrokerTopology brokerTopology,
                                                      ReceiveObservable receiveObservers, ReceiveTransportObservable transportObservers, ReceiveEndpointObservable endpointObservers)
            : base(configuration, receiveObservers, transportObservers, endpointObservers)
        {
            _configuration = configuration;

            BrokerTopology = brokerTopology;

            _publish = configuration.Topology.Publish;

            _sendTransportProvider    = new Lazy <ISendTransportProvider>(CreateSendTransportProvider);
            _publishTransportProvider = new Lazy <IPublishTransportProvider>(CreatePublishTransportProvider);
        }
        public ServiceBusEntityReceiveEndpointContext(IServiceBusHostConfiguration hostConfiguration, IServiceBusEntityEndpointConfiguration configuration,
                                                      BrokerTopology brokerTopology, Func <IClientContextSupervisor> supervisorFactory)
            : base(hostConfiguration, configuration)
        {
            _hostConfiguration = hostConfiguration;

            BrokerTopology = brokerTopology;

            GetOrAddPayload(() => _hostConfiguration.HostTopology);

            _clientContext = new Recycle <IClientContextSupervisor>(supervisorFactory);
        }
示例#5
0
        public ServiceBusEntityReceiveEndpointContext(IServiceBusHostConfiguration hostConfiguration, IServiceBusEntityEndpointConfiguration configuration,
                                                      BrokerTopology brokerTopology)
            : base(hostConfiguration, configuration)
        {
            _hostConfiguration = hostConfiguration;

            BrokerTopology = brokerTopology;

            GetOrAddPayload(() => _hostConfiguration.HostTopology);
        }