ISendEndpointContextSupervisor CreateSendEndpointContextSupervisor(SendSettings settings)
        {
            var topologyPipe = new ConfigureTopologyFilter <SendSettings>(settings, settings.GetBrokerTopology(), false, Stopping);

            var contextFactory = new SendEndpointContextFactory(ConnectionContextSupervisor, topologyPipe.ToPipe <SendEndpointContext>(), settings);

            return(new SendEndpointContextSupervisor(contextFactory));
        }
Example #2
0
        IPipe <NamespaceContext> CreateConfigureTopologyPipe(SendSettings settings)
        {
            var configureTopologyFilter = new ConfigureTopologyFilter <SendSettings>(settings, settings.GetBrokerTopology(), false, Stopping);

            return(configureTopologyFilter.ToPipe());
        }
Example #3
0
        public ISendEndpointContextSupervisor CreateSendEndpointContextSupervisor(SendSettings settings)
        {
            LogContext.SetCurrentIfNull(_hostConfiguration.LogContext);

            var configureTopology = new ConfigureTopologyFilter <SendSettings>(settings, settings.GetBrokerTopology(), false, Stopping);

            var contextFactory = new SendEndpointContextFactory(this, configureTopology.ToPipe <SendEndpointContext>(), settings);

            var contextSupervisor = new SendEndpointContextSupervisor(contextFactory);

            AddSendAgent(contextSupervisor);

            return(contextSupervisor);
        }
Example #4
0
 IPipe <SendEndpointContext> CreateSendTopologyPipe(SendSettings settings)
 {
     return(new ConfigureTopologyFilter <SendSettings>(settings, settings.GetBrokerTopology(), false, Stopping).ToPipe <SendEndpointContext>());
 }
        public ISendEndpointContextSupervisor CreateSendEndpointContextSupervisor(SendSettings settings)
        {
            var configureTopology = new ConfigureTopologyFilter <SendSettings>(settings, settings.GetBrokerTopology(), false, Stopping);

            var contextFactory = new SendEndpointContextFactory(this, configureTopology.ToPipe <SendEndpointContext>(), settings);

            var contextSupervisor = new SendEndpointContextSupervisor(contextFactory);

            Add(contextSupervisor);

            return(contextSupervisor);
        }