...
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 SQS. However, the high-level process for consuming SQS Photo Status Messages is as follows:
Receive a message or a list of messages
Handle debouncing (if relevant). Status Queues provide at-least-once delivery, but messages may be received more than once in some situations.
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.
Process the message(s).
Delete the message(s) from SQS. Otherwise, they will continue to be received by your client.
See Also:
Page Tree | ||||||
---|---|---|---|---|---|---|
|
...