Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

This feature is in Beta.

Statues queues allow organizations to send photo information messages to AWS Simple Queue Service to be processed by external integrations when a photo reaches a specified photo status, i.e. PENDING, APPROVED, DENIED, DISCARDED, READY_FOR_DOWNLOAD, DOWNLOADED, DONE, ENROUTE, ON_HOLD.

Consuming messages from an SQS Queue

The specifics of interacting with SQS are outside the scope of this documentation because they are well documented by AWS and most major programming languages have existing libraries for interacting with AWS. However, the high-level process for consuming SQS Photo Status Messages is as follows:

  1. Receive a message or a list of messages

  2. Handle debouncing (if relevant). Status Queues provide at-least-once delivery, but messages may be received more than once in some situations.

  3. Handle order message ordering (if relevant). Status Queues generally deliver status messages in order but this is not strictly guaranteed and AWS FIFO SQS queues are not supported.

  4. Process the message(s).

  5. Delete the message(s) from SQS. Otherwise, the message(s) will continue to be received by your client after the visibility timeout expires.

See Also:

  • No labels