A message processing system must guarantee that a message is not lost if the consumer crashes after receiving but before processing. Which Service Bus feature handles this?
- A Dead-letter queue
- B At-most-once delivery
- C Peek-lock (at-least-once delivery) (correct answer)
- D FIFO ordering
Shortcut: PeekLock) locks the message without removing it. The consumer must explicitly complete it after processing. If the consumer crashes, the lock expires and the message is available again.
Peek-lock (ReceiveMode.PeekLock) locks the message without removing it. The consumer must explicitly complete it after processing. If the consumer crashes, the lock expires and the message is available again.