-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Today I attempted to re-send DLQ messages to a Queue. To accomplish this I went to the Details tab of a Queue and clicked the "Resend dead letter messages" icon at the bottom.
While it was running (and the status icon on the left nav was spinning) I clicked the X icon thinking I was just minimizing the status dialog. Instead it cancelled the task, and the result was all DLQ messages were lost.
Suggested enhancement:
As DLQ messages are resent, the following flow should be followed:
- The individual DLQ message is peek-locked.
- The message is attempted to be sent to the main queue.
- Upon successful message send, the DLQ message is "completed."
- Upon an error in the process, the lock is released.
The offending line is here, but it would require a refactor of the individual resend logic from read-and-delete entire batch > re-send to peek-lock individual message > attempt send > complete original message.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels