Пример #1
0
 public ActiveMqConsumerReceiveEndpointContext(IActiveMqHostControl host, IActiveMqReceiveEndpointConfiguration configuration, BrokerTopology
                                               brokerTopology)
     : base(configuration)
 {
     _host          = host;
     BrokerTopology = brokerTopology;
 }
Пример #2
0
        public ActiveMqConsumerReceiveEndpointContext(IActiveMqHostConfiguration hostConfiguration, IActiveMqReceiveEndpointConfiguration configuration,
                                                      BrokerTopology brokerTopology)
            : base(hostConfiguration, configuration)
        {
            _hostConfiguration = hostConfiguration;
            _configuration     = configuration;
            BrokerTopology     = brokerTopology;

            _sessionContext = new Recycle <ISessionContextSupervisor>(() => new SessionContextSupervisor(hostConfiguration.ConnectionContextSupervisor));
        }
Пример #3
0
        public ActiveMqConsumerReceiveEndpointContext(IActiveMqReceiveEndpointConfiguration configuration, BrokerTopology brokerTopology,
                                                      ReceiveObservable receiveObservers, ReceiveTransportObservable transportObservers, ReceiveEndpointObservable endpointObservers)
            : base(configuration, receiveObservers, transportObservers, endpointObservers)
        {
            _configuration = configuration;
            BrokerTopology = brokerTopology;

            _publishTopology = configuration.Topology.Publish;

            _sendTransportProvider    = new Lazy <ISendTransportProvider>(CreateSendTransportProvider);
            _publishTransportProvider = new Lazy <IPublishTransportProvider>(CreatePublishTransportProvider);
        }
Пример #4
0
 public ActiveMqReceiveEndpointBuilder(IActiveMqHostControl host, IActiveMqReceiveEndpointConfiguration configuration)
     : base(configuration)
 {
     _host          = host;
     _configuration = configuration;
 }
Пример #5
0
 public ActiveMqConsumerReceiveEndpointContext(IActiveMqReceiveEndpointConfiguration configuration, BrokerTopology brokerTopology)
     : base(configuration)
 {
     _configuration = configuration;
     BrokerTopology = brokerTopology;
 }
Пример #6
0
 public SendTransportProvider(IActiveMqReceiveEndpointConfiguration configuration)
 {
     _configuration = configuration;
 }
Пример #7
0
 public ActiveMqReceiveEndpointBuilder(IActiveMqReceiveEndpointConfiguration configuration)
     : base(configuration)
 {
     _configuration = configuration;
 }