Table of Contents

Class AwsSnsMappingContext

Namespace
Excalibur.Dispatch.Transport
Assembly
Excalibur.Dispatch.dll

AWS SNS mapping context implementation.

public sealed class AwsSnsMappingContext : IAwsSnsMappingContext
Inheritance
AwsSnsMappingContext
Implements
Inherited Members
Extension Methods

Properties

Attributes

Gets all configured attributes.

public IReadOnlyDictionary<string, (string Value, string DataType)> Attributes { get; }

Property Value

IReadOnlyDictionary<string, (string Value, string DataType)>

MessageDeduplicationId

Gets or sets the message deduplication ID (for FIFO topics).

public string? MessageDeduplicationId { get; set; }

Property Value

string

MessageGroupId

Gets or sets the message group ID (for FIFO topics).

public string? MessageGroupId { get; set; }

Property Value

string

Subject

Gets or sets the subject for email endpoints.

public string? Subject { get; set; }

Property Value

string

TopicArn

Gets or sets the topic ARN.

public string? TopicArn { get; set; }

Property Value

string

Methods

ApplyTo(TransportMessageContext)

Applies this configuration to a transport message context.

public void ApplyTo(TransportMessageContext context)

Parameters

context TransportMessageContext

The context to apply configuration to.

SetAttribute(string, string, string)

Sets a message attribute.

public void SetAttribute(string name, string value, string dataType = "String")

Parameters

name string

The attribute name.

value string

The attribute value.

dataType string

The attribute data type (String, Number, Binary).