DurableMessagingOptions
class
Namespace: Orleans.Durable.Messaging.Configuration
Configuration options for durable messaging inboxes, outboxes, and the messaging pump.
public class DurableMessagingOptionsRemarks
These options control inbox capacity, deduplication tracking, inbox and outbox retry and dead-letter behavior, and pump batch sizes.
Transport is at-least-once. Retained processed records and a durable admission floor deduplicate logical sends. Configuration values affect delivery availability, memory usage, throughput, and recovery characteristics.
Constructors
Properties
DeadLetterRetentionPeriodGets or sets how long inbox and outbox dead letters are retained.DeduplicationWindowGets or sets how long after a message's send time the receiving inbox retains its processed record and admits deliveries of it. A tracked processed message is answered withDeliveryResult, or, when an inbox sink rejected it on delivery, with the sameDeadLetteredreason and code.InboxBatchSizeGets or sets the maximum number of inbox messages processed by one messaging pump pass.InboxRetryTimeoutGets or sets how long the inbox retries a message whose handler attempts throw before the message is dead-lettered.MaxCapacityGets or sets the maximum number of pending inbox messages. When this limit is reached, new deliveries returnBackpressured.MaxRetainedDeadLettersGets or sets the maximum number of dead letters retained per inbox and per outbox.OutboxBatchSizeGets or sets the maximum number of outbox delivery attempts in flight for one grain.OutboxRetryTimeoutGets or sets how long after a message's send time the outbox attempts delivery before it dead-letters the message, including while the receiver is backpressured or reports no inbox handler.RetryInitialIntervalGets or sets the delay before the first retry of a failed outbox delivery or inbox processing attempt.
Methods
ValidateValidates the configuration values and throws if any are invalid.
