Class SnsComponent

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

Amazon SNS transport component for redb.Route. Scheme: sns.
Publisher: sns://my-topic?region=us-east-1 — publishes the exchange body to the topic.
SNS has no pull consumer; consume a topic by subscribing an SQS queue to it (see
subscribeSnsToSqs) and reading with the sqs:// connector.

[EndpointRole(EndpointRole.Producer, Hint = "To consume an SNS topic, subscribe an SQS queue to it (sns://topic?subscribeSnsToSqs=true&subscribeQueueArn=...) and read with sqs://.")]
public sealed class SnsComponent : ComponentBase, IComponent, IAsyncDisposable

Inheritance

Object→ComponentBase→SnsComponent

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)