Class AwsSqsMappingContext
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
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
MessageGroupId
Gets or sets the message group ID (for FIFO queues).
public string? MessageGroupId { get; set; }
Property Value
QueueUrl
Gets or sets the queue URL.
public string? QueueUrl { get; set; }
Property Value
Methods
ApplyTo(TransportMessageContext)
Applies this configuration to a transport message context.
public void ApplyTo(TransportMessageContext context)
Parameters
contextTransportMessageContextThe context to apply configuration to.
SetAttribute(string, string, string)
Sets a message attribute.
public void SetAttribute(string name, string value, string dataType = "String")