FxMap.Aws.Sqs
4.1.1
See the version list below for details.
dotnet add package FxMap.Aws.Sqs --version 4.1.1
NuGet\Install-Package FxMap.Aws.Sqs -Version 4.1.1
<PackageReference Include="FxMap.Aws.Sqs" Version="4.1.1" />
<PackageVersion Include="FxMap.Aws.Sqs" Version="4.1.1" />
<PackageReference Include="FxMap.Aws.Sqs" />
paket add FxMap.Aws.Sqs --version 4.1.1
#r "nuget: FxMap.Aws.Sqs, 4.1.1"
#:package FxMap.Aws.Sqs@4.1.1
#addin nuget:?package=FxMap.Aws.Sqs&version=4.1.1
#tool nuget:?package=FxMap.Aws.Sqs&version=4.1.1
<p align="center"> <img src="https://raw.githubusercontent.com/quyvu01/FxMap/main/FxMap.png" alt="FxMap" width="96" /> </p>
<h1 align="center">FxMap.Aws.Sqs</h1>
<p align="center"> Amazon SQS transport for FxMap — request/response between services over SQS queues. </p>
<p align="center"> <a href="https://www.nuget.org/packages/FxMap.Aws.Sqs"><img alt="NuGet" src="https://img.shields.io/nuget/v/FxMap.Aws.Sqs.svg" /></a> <a href="https://www.nuget.org/packages/FxMap.Aws.Sqs"><img alt="Downloads" src="https://img.shields.io/nuget/dt/FxMap.Aws.Sqs.svg" /></a> <a href="https://github.com/quyvu01/FxMap/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/badge/license-Apache--2.0-blue.svg" /></a> </p>
<p align="center"> <a href="https://github.com/quyvu01/FxMap"><b>FxMap</b></a> · <a href="https://fxmapper.net"><b>Documentation</b></a> · <a href="https://github.com/quyvu01/TestFxMap-Demo"><b>Demo project</b></a> </p>
A transport carries FxMap requests between the service that needs data (the client) and the service that owns it
(the server). Every service that maps data needs the core FxMap package; the owning service also needs a data provider
(EntityFrameworkCore or
MongoDb), and both sides use the same transport.
Requests are batched per distributed key, so a hundred objects that need a UserName produce one request.
The SQS transport uses long polling and batch processing, and a supervisor restarts a failing consumer. A process shares
one AmazonSQSClient between its client and its server.
Installation
dotnet add package FxMap.Aws.Sqs
All FxMap.* packages must use the same version.
Usage
builder.Services.AddFxMap(cfg =>
{
cfg.AddEntitiesFromAssemblyContaining<SomeEntityAssemblyMarker>();
cfg.AddProfilesFromAssemblyContaining<SomeProfileAssemblyMarker>();
cfg.AddSqs(sqs => sqs.Region(RegionEndpoint.USEast1, credential =>
{
credential.AccessKeyId("your-access-key-id");
credential.SecretAccessKey("your-secret-access-key");
}));
});
IAM roles (recommended on AWS): omit the credentials and the client uses the default AWS credentials of the environment, such as the IAM role of the instance or container.
cfg.AddSqs(sqs => sqs.Region(RegionEndpoint.USEast1));
LocalStack (local development):
cfg.AddSqs(sqs => sqs.Region(RegionEndpoint.USEast1, credential =>
{
credential.ServiceUrl("http://localhost:4566");
credential.AccessKeyId("test");
credential.SecretAccessKey("test");
}));
Naming
Requests go to the queue fxmap-{namespace}-{type name} (dots replaced by hyphens, lower case). Each client creates
a response queue fxmap-response-{machine name}-{guid}. Avoid using these names for anything else.
Related packages
| Package | Description | Documentation |
|---|---|---|
| Core | ||
| FxMap | FxMap core: profiles, entity configs, the mapper and the expression language | README |
| Data providers | ||
| FxMap.EntityFrameworkCore | Answers requests from an Entity Framework Core DbContext |
README |
| FxMap.MongoDb | Answers requests from MongoDB collections | README |
| Integrations | ||
| FxMap.HotChocolate | Fills GraphQL response types through HotChocolate | README |
| Transports | ||
| FxMap.Grpc | gRPC transport | README |
| FxMap.Nats | NATS transport | README |
| FxMap.RabbitMq | RabbitMQ transport | README |
| FxMap.Kafka | Apache Kafka transport | README |
| FxMap.Azure.ServiceBus | Azure Service Bus transport (Standard / Premium tiers) | README |
| FxMap.Aws.Sqs | Amazon SQS transport | This document |
| Tooling | ||
| FxMap.Analyzers | Roslyn analyzer that validates expression strings at compile time | README |
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- AWSSDK.SQS (>= 3.7.0)
- FxMap (>= 4.1.1)
- Microsoft.Extensions.Hosting.Abstractions (>= 8.0.0)
-
net8.0
- AWSSDK.SQS (>= 3.7.0)
- FxMap (>= 4.1.1)
- Microsoft.Extensions.Hosting.Abstractions (>= 8.0.0)
-
net9.0
- AWSSDK.SQS (>= 3.7.0)
- FxMap (>= 4.1.1)
- Microsoft.Extensions.Hosting.Abstractions (>= 8.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 5.1.0 | 46 | 10/15/2026 |
| 5.0.0 | 65 | 10/14/2026 |
| 4.1.5 | 80 | 10/13/2026 |
| 4.1.4 | 68 | 10/13/2026 |
| 4.1.3 | 81 | 10/12/2026 |
| 4.1.2 | 83 | 10/11/2026 |
| 4.1.1 | 83 | 10/6/2026 |
| 4.1.0 | 84 | 10/5/2026 |
| 4.0.0 | 98 | 10/5/2026 |
| 3.0.0 | 93 | 10/2/2026 |
| 2.3.5 | 91 | 10/2/2026 |
| 2.3.4 | 89 | 10/2/2026 |
| 2.3.3 | 89 | 10/1/2026 |
| 2.3.2 | 95 | 10/1/2026 |
| 2.3.1 | 123 | 8/21/2026 |
| 2.3.0 | 150 | 6/16/2026 |
| 2.2.2 | 135 | 6/3/2026 |
| 2.2.1 | 127 | 5/31/2026 |
| 2.2.0 | 134 | 5/26/2026 |
| 2.1.1 | 123 | 5/26/2026 |