Class RabbitMQEndpoint
RabbitMQ endpoint. The queue name comes from .
Manages connection and channel lifecycle for a single URI.
Supports publisher confirms, automatic recovery, and transacted channels.
public sealed class RabbitMQEndpoint : EndpointBase<RabbitMQEndpointOptions>, IEndpoint, IEndpointStatistics
Inheritance
Implements
Properties
QueueName
Queue name from the URI path (may be empty for auto-generated queues).
public string QueueName { get; }
TransportCondition
while the broker blocks a connection this endpoint publishes over
protected override (EndpointHealthStatus Status, string Reason)? TransportCondition { get; }
Methods
CreateConsumer(IProcessor)
Creates a consumer for receiving messages from this endpoint.
public override IConsumer CreateConsumer(IProcessor processor)
CreateProducer()
Creates a producer for sending messages to this endpoint.
public override IProducer CreateProducer()
Stop(CancellationToken)
Stops the endpoint lifecycle.
public override Task Stop(CancellationToken ct = default)
Constructors
RabbitMQEndpoint(EndpointUri, RabbitMQComponent, RabbitMQEndpointOptions)
Creates a RabbitMQ endpoint.