Class SqsEndpointOptions
Options for an SQS endpoint (sqs://queue-name?...). The queue name is taken from the URI
path; every value below is bound from the query string. Consumer and producer options coexist —
only the relevant subset applies to each direction.
public sealed class SqsEndpointOptions : AwsEndpointOptions
Inheritance
Inherited Members
Properties
AckMode
When a message is deleted from the queue (). Manual (default): after a turn that
public AckMode AckMode { get; set; }
AttributeNames
Comma-separated system attribute names to request (e.g. All). Default All.
public string AttributeNames { get; set; }
AutoCreateQueue
Create the queue if it does not exist (uses the queue name; FIFO if it ends in .fifo). Default false.
public bool AutoCreateQueue { get; set; }
Batching
Batch mode (Apache Camel batching): the route gets one InOnly exchange whose body is a
public bool Batching { get; set; }
BatchingIntervalMs
Batch mode: a batch is sent on once this many milliseconds have passed since its first message.
public int? BatchingIntervalMs { get; set; }
ConcurrentConsumers
Concurrent receive/processing loops: a number or "auto" (= max(CPU, 2)). Default 1 (serial).
public string? ConcurrentConsumers { get; set; }
Delay
Delay in milliseconds after an empty receive before polling again. Default 0.
public int Delay { get; set; }
DelaySeconds
Delivery delay in seconds for sent messages (0–900). Default 0.
public int DelaySeconds { get; set; }
ExtendMessageVisibility
Keep extending a message's visibility while it is still being processed, so long handlers never
public bool ExtendMessageVisibility { get; set; }
InitialDelay
Initial delay in milliseconds before the first poll. Default 0.
public int InitialDelay { get; set; }
MaxBatchMessages
Largest number of messages in a batch (default 10). Collected over several receives of up to 10.
public int? MaxBatchMessages { get; set; }
MaxNumberOfMessages
Messages fetched per ReceiveMessage call (1–10). Default 10.
public int MaxNumberOfMessages { get; set; }
MessageAttributeNames
Comma-separated message-attribute names to request. Default All.
public string MessageAttributeNames { get; set; }
MessageDeduplicationId
FIFO deduplication id. Supports ${...} expressions. Omit when the queue has content-based dedup.
public DynamicValue<string>? MessageDeduplicationId { get; set; }
MessageGroupId
FIFO message group id (required for FIFO queues). Supports ${...} expressions.
public DynamicValue<string>? MessageGroupId { get; set; }
PollTimeoutMs
Batch mode: a batch with messages is sent on once no message came for this many milliseconds, restarted by every
public int PollTimeoutMs { get; set; }
QueueUrl
Explicit queue URL. When empty it is resolved from the queue name (path) at start.
public string QueueUrl { get; set; }
ResetVisibilityOnFailure
On processing failure, immediately reset visibility to 0 so the message is redelivered at once
public bool ResetVisibilityOnFailure { get; set; }
ResolvedConcurrentConsumers
Resolved consumer parallelism (see ).
public int ResolvedConcurrentConsumers { get; }
Transacted
Producer: whether the send joins the enclosing .Transacted() block. Unset, it follows the block: deferred
public bool? Transacted { get; set; }
VisibilityTimeout
Visibility timeout in seconds for received messages. 0 = use the queue default.
public int VisibilityTimeout { get; set; }
WaitTimeSeconds
Long-poll wait time in seconds (0–20). Default 20 — fewer empty receives, lower cost.
public int WaitTimeSeconds { get; set; }
Methods
UnknownParameterHint(string)
A connector's own words for a parameter name it does not know — typically a name it used to
protected override string? UnknownParameterHint(string name)
Validate()
Validates required parameters and constraints. Called after BindFromUri.
public override void Validate()