FxMap.RabbitMq
1.0.0
See the version list below for details.
dotnet add package FxMap.RabbitMq --version 1.0.0
NuGet\Install-Package FxMap.RabbitMq -Version 1.0.0
<PackageReference Include="FxMap.RabbitMq" Version="1.0.0" />
<PackageVersion Include="FxMap.RabbitMq" Version="1.0.0" />
<PackageReference Include="FxMap.RabbitMq" />
paket add FxMap.RabbitMq --version 1.0.0
#r "nuget: FxMap.RabbitMq, 1.0.0"
#:package FxMap.RabbitMq@1.0.0
#addin nuget:?package=FxMap.RabbitMq&version=1.0.0
#tool nuget:?package=FxMap.RabbitMq&version=1.0.0
FxMap.RabbitMq
FxMap.RabbitMq is an extension package for FxMap that leverages RabbitMq for efficient data transportation. This package provides a high-performance, strongly-typed communication layer for FxMap's FluentAPI-based Data Mapping, enabling streamlined data retrieval across distributed systems.
Introduction
RabbitMq-based Transport: Implements RabbitMq to handle data communication between services, providing a fast, secure, and scalable solution.
Installation
To install the FxMap.RabbitMq package, use the following NuGet command:
dotnet add package FxMap.RabbitMq
Or via the NuGet Package Manager:
Install-Package FxMap.RabbitMq
How to Use
1. Register FxMap.RabbitMq
Add FxMap.RabbitMq to your service configuration during application startup:
builder.Services.AddFxMap(cfg =>
{
cfg.AddEntitiesFromAssemblyContaining<SomeEntityAssemblyMarker>();
cfg.AddProfilesFromAssemblyContaining<SomeProfileAssemblyMarker>();
cfg.AddRabbitMq(config => config.Host("localhost", "/")); // This is usually used for local test
// Or full configuration as below:
cfg.AddRabbitMq(config => config.Host("localhost", "/", 5672, c =>
{
c.UserName("SomeUserName");
c.Password("SomePassword");
}));
});
...
var app = builder.Build();
app.Run();
Note: FxMap.RabbitMq uses exchanges that start with FxMap-[IDistributedKey metadata]. Therefore, you should avoid using
other exchanges. Additionally, FxMap.RabbitMq automatically creates the queue fxmap-rpc-queue-[application friendly name],
so you should avoid creating a queue with the same name in your application.
That All, enjoy your moment!
| Package Name | Description | .NET Version | Document |
|---|---|---|---|
| Core | |||
| FxMap | FxMap core | 8.0, 9.0 | ReadMe |
| Data Providers | |||
| FxMap.EntityFrameworkCore | FxMap extension package using EntityFramework to fetch data | 8.0, 9.0 | ReadMe |
| FxMap.MongoDb | FxMap extension package using MongoDb to fetch data | 8.0, 9.0 | ReadMe |
| Integrations | |||
| FxMap.HotChocolate | FxMap.HotChocolate is an integration package with HotChocolate for FxMap. | 8.0, 9.0 | ReadMe |
| Transports | |||
| FxMap.Aws.Sqs | FxMap.Aws.Sqs is an extension package for FxMap that leverages Amazon SQS for efficient data transportation. | 8.0, 9.0 | ReadMe |
| FxMap.Azure.ServiceBus | FxMap.Azure.ServiceBus is an extension package for FxMap that leverages Azure ServiceBus for efficient data transportation. | 8.0, 9.0 | ReadMe |
| FxMap.Grpc | FxMap.Grpc is an extension package for FxMap that leverages gRPC for efficient data transportation. | 8.0, 9.0 | ReadMe |
| FxMap.Kafka | FxMap.Kafka is an extension package for FxMap that leverages Kafka for efficient data transportation. | 8.0, 9.0 | ReadMe |
| FxMap.Nats | FxMap.Nats is an extension package for FxMap that leverages Nats for efficient data transportation. | 8.0, 9.0 | ReadMe |
| FxMap.RabbitMq | FxMap.RabbitMq is an extension package for FxMap that leverages RabbitMq for efficient data transportation. | 8.0, 9.0 | This Document |
| 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
- FxMap (>= 1.0.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 8.0.0)
- RabbitMQ.Client (>= 7.0.0)
-
net8.0
- FxMap (>= 1.0.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 8.0.0)
- RabbitMQ.Client (>= 7.0.0)
-
net9.0
- FxMap (>= 1.0.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 8.0.0)
- RabbitMQ.Client (>= 7.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.