Ejemplo n.º 1
0
 public SQSQueueProcessor(IEnumerable <ServiceConfiguration> serviceConfigurations,
                          AmazonSQS amazonSQS,
                          IRequestThrottler requestThrottler,
                          ICreateSQSQueueCommand createSQSQueueCommand,
                          ErrorditeConfiguration configuration)
 {
     _serviceConfiguration  = serviceConfigurations.First(c => c.IsActive);
     _amazonSQS             = amazonSQS;
     _requestThrottler      = requestThrottler;
     _createSQSQueueCommand = createSQSQueueCommand;
     _configuration         = configuration;
 }
Ejemplo n.º 2
0
 public AmazonSQSMessageSender(AmazonSQS amazonSQS, ICreateSQSQueueCommand createSQSQueueCommand)
 {
     _amazonSQS             = amazonSQS;
     _createSQSQueueCommand = createSQSQueueCommand;
 }