Class SnsEndpoint

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

SNS endpoint — owns the shared client and resolves
the topic ARN (creating the topic on demand when autoCreateTopic=true). Producer-only.

public sealed class SnsEndpoint : EndpointBase<SnsEndpointOptions>, IEndpoint, IEndpointStatistics, IDisposable

Inheritance

Object→SnsEndpointOptions}→SnsEndpoint

Implements

Properties

IsFifo

True when the topic is FIFO (the name or an explicit topic ARN ends in .fifo).

public bool IsFifo { get; }

TopicName

Topic name parsed from the URI path.

public string TopicName { 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