Table of Contents

Class AwsSqsMappingContext

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

AWS SQS mapping context implementation.

public sealed class AwsSqsMappingContext : IAwsSqsMappingContext
Inheritance
AwsSqsMappingContext
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)>

DelaySeconds

Gets or sets the delay in seconds before the message becomes visible.

public int? DelaySeconds { get; set; }

Property Value

int?

MessageDeduplicationId

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

public string? MessageDeduplicationId { get; set; }

Property Value

string

MessageGroupId

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

public string? MessageGroupId { get; set; }

Property Value

string

QueueUrl

Gets or sets the queue URL.

public string? QueueUrl { 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).