public AmazonSqsHostConfiguration(IAmazonSqsBusConfiguration busConfiguration, AmazonSqsHostSettings settings, IAmazonSqsHostTopology topology) { Settings = settings; _topology = topology; _busConfiguration = busConfiguration; _host = new AmazonSqsHost(this); }
public AmazonSqsHostConfiguration(IAmazonSqsBusConfiguration busConfiguration, IAmazonSqsTopologyConfiguration topologyConfiguration) { _busConfiguration = busConfiguration; _topologyConfiguration = topologyConfiguration; _hostSettings = new ConfigurationHostSettings(); _proxy = new AmazonSqsHostProxy(this); }
public AmazonSqsBusFactoryConfigurator(IAmazonSqsBusConfiguration configuration, IAmazonSqsEndpointConfiguration busEndpointConfiguration) : base(configuration, busEndpointConfiguration) { _configuration = configuration; _busEndpointConfiguration = busEndpointConfiguration; var busQueueName = _configuration.Topology.Consume.CreateTemporaryQueueName("bus"); _settings = new QueueReceiveSettings(busQueueName, false, true); }
public AmazonSqsBusFactoryConfigurator(IAmazonSqsBusConfiguration busConfiguration) : base(busConfiguration) { _busConfiguration = busConfiguration; _hostConfiguration = busConfiguration.HostConfiguration; var queueName = _busConfiguration.Topology.Consume.CreateTemporaryQueueName("bus"); _settings = new QueueReceiveSettings(queueName, false, true); }
public AmazonSqsHostConfiguration(IAmazonSqsBusConfiguration busConfiguration, IAmazonSqsTopologyConfiguration topologyConfiguration) : base(busConfiguration) { _busConfiguration = busConfiguration; _topologyConfiguration = topologyConfiguration; _hostSettings = new ConfigurationHostSettings(); var messageNameFormatter = new AmazonSqsMessageNameFormatter(); _hostTopology = new AmazonSqsHostTopology(this, messageNameFormatter, topologyConfiguration); _connectionContext = new Recycle <IConnectionContextSupervisor>(() => new ConnectionContextSupervisor(this, topologyConfiguration)); }
public AmazonSqsHost(IAmazonSqsBusConfiguration busConfiguration, AmazonSqsHostSettings settings, IAmazonSqsHostTopology topology) { _settings = settings; _topology = topology; ReceiveEndpoints = new ReceiveEndpointCollection(); ConnectionRetryPolicy = Retry.CreatePolicy(x => { x.Handle <AmazonSqsTransportException>(); x.Exponential(1000, TimeSpan.FromSeconds(3), TimeSpan.FromSeconds(30), TimeSpan.FromSeconds(3)); }); ConnectionCache = new AmazonSqsConnectionCache(settings, _topology); ReceiveEndpointFactory = new AmazonSqsReceiveEndpointFactory(busConfiguration, this); }
public AmazonSqsHostConfiguration(IAmazonSqsBusConfiguration busConfiguration, IAmazonSqsTopologyConfiguration topologyConfiguration) : base(busConfiguration) { _busConfiguration = busConfiguration; _topologyConfiguration = topologyConfiguration; _hostSettings = new ConfigurationHostSettings(); var messageNameFormatter = new AmazonSqsMessageNameFormatter(); _hostTopology = new AmazonSqsHostTopology(this, messageNameFormatter, topologyConfiguration); ReceiveTransportRetryPolicy = Retry.CreatePolicy(x => { x.Handle <AmazonSqsTransportException>(); x.Exponential(1000, TimeSpan.FromSeconds(3), TimeSpan.FromSeconds(30), TimeSpan.FromSeconds(3)); }); _connectionContext = new Recycle <IConnectionContextSupervisor>(() => new ConnectionContextSupervisor(this, topologyConfiguration)); }
public SendTransportProvider(IAmazonSqsBusConfiguration busConfiguration) { _busConfiguration = busConfiguration; }
public AmazonSqsHostConfiguration(IAmazonSqsBusConfiguration busConfiguration, IAmazonSqsHostControl host) { _host = host; _busConfiguration = busConfiguration; }
public AmazonSqsReceiveEndpointFactory(IAmazonSqsBusConfiguration configuration, AmazonSqsHost host) { _host = host; _configuration = configuration; }