public QueueReaderService(
     ILogger <QueueReaderService> logger,
     IPollingSqsReader pollingSqsReader,
     BoundedMessageChannel boundedMessageChannel,
     IHostApplicationLifetime hostApplicationLifetime)
 {
     _logger                  = logger;
     _pollingSqsReader        = pollingSqsReader;
     _boundedMessageChannel   = boundedMessageChannel;
     _hostApplicationLifetime = hostApplicationLifetime;
 }
 public MessageProcessorService(ILogger <MessageProcessorService> logger, BoundedMessageChannel boundedMessageChannel)
 {
     _logger = logger;
     _boundedMessageChannel = boundedMessageChannel;
 }