redb.Route.Amqp
4.0.1
Prefix Reserved
See the version list below for details.
dotnet add package redb.Route.Amqp --version 4.0.1
NuGet\Install-Package redb.Route.Amqp -Version 4.0.1
<PackageReference Include="redb.Route.Amqp" Version="4.0.1" />
<PackageVersion Include="redb.Route.Amqp" Version="4.0.1" />
<PackageReference Include="redb.Route.Amqp" />
paket add redb.Route.Amqp --version 4.0.1
#r "nuget: redb.Route.Amqp, 4.0.1"
#:package redb.Route.Amqp@4.0.1
#addin nuget:?package=redb.Route.Amqp&version=4.0.1
#tool nuget:?package=redb.Route.Amqp&version=4.0.1
redb.Route.Amqp
AMQP 1.0 transport for redb.Route via AMQPNetLite. Supports ActiveMQ Artemis, ActiveMQ Classic, Azure Service Bus, Amazon MQ, Qpid, and any AMQP 1.0 compliant broker.
Installation
dotnet add package redb.Route.Amqp
Usage
Fluent DSL
using redb.Route.Amqp.Fluent;
// Consume from AMQP address
From(Amqp.Address("orders")
.Host("artemis.local").Port(5672)
.User("admin").Password("secret")
.Credit(10)
.Durable())
.Log("Received order: ${body}")
.To("direct://process");
// Produce to AMQP address
From("direct://send")
.To(Amqp.Address("events")
.Host("artemis.local")
.User("admin").Password("secret")
.MessageDurable()
.ContentType("application/json"));
// Azure Service Bus
From(Amqp.Address("orders")
.Host("mybus.servicebus.windows.net").Port(5671)
.User("policy-name").Password("shared-access-key")
.Ssl()
.ContainerId("route-consumer"))
.To("direct://handle");
Fluent Builder API
| Category | Methods |
|---|---|
| Connection | .Host(), .Port(), .User(), .Password(), .ContainerId(), .VirtualHost(), .Ssl(), .ConnectionFactory() |
| Link | .Durable(), .ExpiryPolicy(), .TerminusTimeout(), .DistributionMode(), .Dynamic(), .FilterSelector(), .Capabilities(), .SenderSettleMode(), .ReceiverSettleMode() |
| Consumer | .Credit(), .AutoAccept(), .ConcurrentConsumers(), .ReceiveTimeout() |
| Producer | .MessageDurable(), .MessagePriority(), .MessageTtl(), .ContentType(), .Subject(), .GroupId(), .ReplyTo(), .Timeout(), .Transacted(), .Declare(), .RoutingType() |
Part of
redb.Route — ESB & EIP Framework for .NET
Named connection factory
Keep credentials out of the route URI: register a factory in the context registry and reference it by name. A set-but-unknown name fails loud at startup — a typo can never silently fall back to inline URI parameters.
context.AddToRegistry("prod", new AmqpConnectionFactory
{
Host = "broker.internal",
User = "svc-orders",
Password = secrets.AmqpPassword,
});
// amqp://orders?connectionFactory=prod
Concurrency
The default is 1 concurrent consumer — the industry norm (Camel, Spring, the Azure SDK all ship 1): a single consumer preserves ordering and your handlers need no thread safety. Parallelism is an explicit opt-in:
concurrentConsumers=4 # a fixed worker count
concurrentConsumers=auto # max(CPU count, 2) — the NServiceBus formula
Anything else — 0, a negative, a typo — fails at endpoint creation naming the option (the old
int-typed option silently fell back to 1). Raising the value trades ordering for throughput:
messages from the same queue are processed out of order, and your processors must be safe to
run in parallel.
| 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
- AMQPNetLite.Core (>= 2.5.1)
- redb.Route (>= 4.0.1)
-
net8.0
- AMQPNetLite.Core (>= 2.5.1)
- redb.Route (>= 4.0.1)
-
net9.0
- AMQPNetLite.Core (>= 2.5.1)
- redb.Route (>= 4.0.1)
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 |
|---|---|---|
| 4.2.3 | 43 | 10/8/2026 |
| 4.2.2 | 88 | 10/5/2026 |
| 4.2.0 | 91 | 9/30/2026 |
| 4.1.1 | 91 | 9/25/2026 |
| 4.1.0 | 108 | 9/21/2026 |
| 4.0.1 | 104 | 9/18/2026 |
| 4.0.0 | 106 | 9/11/2026 |
| 3.7.2 | 115 | 8/26/2026 |
| 3.7.1 | 113 | 8/26/2026 |
| 3.6.0 | 126 | 8/13/2026 |
| 3.5.1 | 122 | 8/9/2026 |
| 3.5.0 | 126 | 8/6/2026 |
| 3.4.0 | 120 | 7/27/2026 |
| 3.3.3 | 125 | 7/16/2026 |
| 3.3.1 | 130 | 7/10/2026 |
| 3.3.0 | 127 | 7/8/2026 |
| 3.2.1 | 123 | 7/4/2026 |
| 3.2.0 | 147 | 6/29/2026 |
| 3.1.0 | 135 | 6/6/2026 |