AWS SQS - robinrodricks/FluentStorage GitHub Wiki

In order to use AWS Simple Queue Service you need to reference NuGet first. The provider wraps around the standard AWS SDK.

To construct a publisher use the following:

IMessagePublisher queuePublisher = StorageFactory.Messages.AmazonSQSMessagePublisher(
  accessKeyId,
  secretAccessKey,
  serviceUrl,
  queueName,
  regionEndpoint);

IMessagePublisher topicPublisher = StorageFactory.Messages.AmazonSQSMessageReceiver(
  accessKeyId,
  secretAccessKey,
  serviceUrl,
  queueName,
  regionEndpoint);
  • accessKeyId and *secretAccessKey) are credentials to access the queue.
  • serviceUrl indicates the service URL, for instance https://sqs.us-east-1.amazonaws.com
  • queueName is the name of the queue
  • retionEndpoint is optional and defaults to USEast1
⚠️ **GitHub.com Fallback** ⚠️