Example #1
0
        public static async Task Run()
        {
            var options          = Configuration.GetAWSOptions();
            var sqsQueueMananger = new SQSQueueMananger(options, "DentonQueue");

            var sqsQueueSender = new SQSQueueSender(sqsQueueMananger);
            var senderTask     = sqsQueueSender.Run();

            var sqsQueueReceiver = new SQSQueueReceiver(sqsQueueMananger);
            var receiverTask     = sqsQueueReceiver.Run();

            await Task.WhenAll(
                senderTask,
                receiverTask);
        }
Example #2
0
 public SQSQueueReceiver(SQSQueueMananger sqsQueueMananger)
 {
     _sqsQueueMananger = sqsQueueMananger;
 }
Example #3
0
 public SQSQueueSender(SQSQueueMananger sqsQueueMananger)
 {
     _sqsQueueMananger = sqsQueueMananger;
 }