Amazon SQS
Send and receive Amazon SQS messages from Delphi/C++Builder. AWS Signature V4 signing, queue management and FIFO support in one typed component.
Send and receive Amazon SQS messages from Delphi/C++Builder. AWS Signature V4 signing, queue management and FIFO support in one typed component.
AWS SQS client component — SendMessage, ReceiveMessage, DeleteMessage, ChangeMessageVisibility, queue CRUD, all SigV4-signed with your access-key/secret pair.
TsgcHTTPAWS_SQS_Client
Windows, macOS, Linux, iOS, Android
Standard / Professional / Enterprise
Set AccessKey / SecretKey / Region, then call SendMessage to enqueue, ReceiveMessage to consume and DeleteMessage to acknowledge.
uses
sgcHTTP;
var
SQS: TsgcHTTPAWS_SQS_Client;
begin
SQS := TsgcHTTPAWS_SQS_Client.Create(nil);
SQS.AWSOptions.AccessKey := 'AKIA...';
SQS.AWSOptions.SecretKey := 'your-secret';
SQS.AWSOptions.Region := 'eu-west-1';
// veröffentlichen
SQS.SendMessage(
'https://sqs.eu-west-1.amazonaws.com/123456789012/orders',
'{"orderId":42,"status":"new"}');
// verbrauchen
Memo1.Text := SQS.ReceiveMessage(
'https://sqs.eu-west-1.amazonaws.com/123456789012/orders', 10);
end;
// uses: sgcHTTP
TsgcHTTPAWS_SQS_Client *SQS = new TsgcHTTPAWS_SQS_Client(this);
SQS->AWSOptions->AccessKey = "AKIA...";
SQS->AWSOptions->SecretKey = "your-secret";
SQS->AWSOptions->Region = "eu-west-1";
SQS->SendMessage(queueUrl, payload);
Memo1->Text = SQS->ReceiveMessage(queueUrl, 10);
Targets the modern sqs.<region>.amazonaws.com JSON+SigV4 endpoint surface.
CreateQueue, DeleteQueue, GetQueueUrl, ListQueues, GetQueueAttributes, SetQueueAttributes handle the queue control plane.
SendMessage, SendMessageBatch, ReceiveMessage, DeleteMessage, DeleteMessageBatch, ChangeMessageVisibility cover the data plane.
For FIFO queues the component takes MessageGroupId and MessageDeduplicationId; SequenceNumber is returned in the response. Visibility timeout is per group.
Every request is signed per AWS's SigV4 spec — canonical request, hash, signing key, header injection. Long-term keys are supported; STS session tokens are honoured via AWSOptions.SessionToken.
Pass a non-zero WaitTimeSeconds to ReceiveMessage for SQS long polling — up to 20 seconds wait, fewer empty receives, lower request count.
Always uses HTTPS to the regional SQS endpoint — SSE-SQS / SSE-KMS encryption-at-rest is configured server-side via SetQueueAttributes.
Maßgebliche Quellen für die API, die diese Komponente implementiert.
Springe direkt zur Komponentenreferenz, lade das einsatzbereite Demo-Projekt herunter und teste die Testversion.
| Online Help — AWS SQS Client Vollständige Eigenschaften-, Methoden- und Ereignisreferenz für diese Komponente. | Öffnen | |
| Demo Project — Demos\20.HTTP_Protocol\04.AWS Einsatzbereites Beispielprojekt. Im sgcWebSockets-Paket enthalten — lade unten die Testversion herunter. | Öffnen | |
| Technisches Dokument (PDF) Funktionen, Schnellstart, Codebeispiele für Delphi & C++ Builder und Primärquellenreferenzen — nur für diese Komponente. | Öffnen | |
| Benutzerhandbuch (PDF) Umfassendes Handbuch zu jeder Komponente der Bibliothek. | Öffnen |