Class SnsEndpoint
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
Implements
Properties
IsFifo
True when the topic is FIFO (the name or an explicit topic ARN ends in .fifo).
public bool IsFifo { 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
SnsEndpoint(EndpointUri, SnsComponent, SnsEndpointOptions)
Creates an SNS endpoint.