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>(); }
public override void CloseConnection() { if (client != null) { client.Dispose(); client = null; } }