Enum MailboxBackpressurePolicy
- Namespace
- PatternKit.Messaging.Mailboxes
- Assembly
- PatternKit.Core.dll
Defines how a bounded mailbox reacts when its queue is full.
public enum MailboxBackpressurePolicy
Fields
DropNewest = 2Drops the incoming message without enqueueing it.
DropOldest = 3Drops the oldest queued message and enqueues the incoming message.
Reject = 1Rejects the incoming message without enqueueing it.
Wait = 0Waits until space is available or the enqueue cancellation token is canceled.