Example #1
0
        public AmazonSQS(string keyId, string secretKey)
        {
            sqsConfig = new AmazonSQSConfig();
            //sqsConfig.ServiceURL = "https://sqs.amazonaws.com";

            client = AWSClientFactory.CreateAmazonSQSClient(keyId, secretKey, sqsConfig);
            queueUrls = new Dictionary<string, string>();
        }
Example #2
0
 public override void CloseConnection()
 {
     if (client != null)
     {
         client.Dispose();
         client = null;
     }
 }