Class AmqpComponent
AMQP 1.0 transport component for redb.Route.
Scheme: amqp.
URI format: amqp://address-name?host=broker&port=5672&user=admin&password=admin
Supports any AMQP 1.0 broker: ActiveMQ Artemis, ActiveMQ Classic, Azure Service Bus,
Amazon MQ, Qpid, and more. Pure AMQP 1.0 — no JMS wrappers.
Owns a process-wide pool of instances, shared between endpoints by
the same key model used for RabbitMQ:
connectionFactory=name on the URI \u2192 key "factory:{name}". Two factories
with identical inline parameters but different names produce two distinct connections.Otherwise \u2192 key "inline:{host}:{port}/{vhost}@{user}#{ssl}".
Sessions are owned per-endpoint (Session is a lightweight AMQP framing context). Connections
survive endpoint Stop/Start cycles and are released on .
public sealed class AmqpComponent : ComponentBase, IComponent, IAsyncDisposable
Inheritance
Implements
Inherited Members
Properties
Scheme
The URI scheme this component handles (e.g., "kafka", "rabbitmq").
public override string Scheme { get; }
Methods
CreateEndpoint(EndpointUri)
Creates an endpoint from a parsed URI.
public override IEndpoint CreateEndpoint(EndpointUri uri)
DisposeAsync()
Releases component-owned long-lived resources. Default implementation is a no-op.
public override ValueTask DisposeAsync()