Example
var QueueUrl := 'https://...'; var Poller = TSQSQueuePoller.Create(QueueUrl) as ISQSQueuePoller; Poller.SkipDelete := True; Poller.Poll( procedure(const AMessages: TSQSMessages) begin for var LMessage in AMessages do begin // Process the message then delete it when you're done. Poller.DeleteMessage(LMessage); end; end );
Copyright © 2019-2021 Appercept Ltd. All rights reserved.