Class SqsEndpoint

Namespace: redb.Route.Sqs
Assembly: redb.Route.Sqs.dll

SQS endpoint — owns the shared client and resolves the queue URL
(creating the queue on demand when autoCreateQueue=true).

public sealed class SqsEndpoint : EndpointBase<SqsEndpointOptions>, IEndpoint, IEndpointStatistics, IDisposable

Inheritance

Object→SqsEndpointOptions}→SqsEndpoint

Implements

Properties

IsFifo

True when the queue is FIFO (the name or an explicit queue URL ends in .fifo).

public bool IsFifo { get; }

QueueName

Queue name parsed from the URI path.

public string QueueName { 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()

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

Stop(CancellationToken)

Stops the endpoint lifecycle.

public override Task Stop(CancellationToken ct = default)

Constructors