servicebus_requeue_dlq
Requeues dead-lettered messages from an Azure Service Bus queue to the main queue, preserving body, session, correlation, and application properties. Stops when the specified maximum number of messages is reached.
Instructions
Move messages from a queue's dead letter queue back to the main queue.
Each message is re-sent to the main queue preserving body, session_id, correlation_id, and application_properties, then completed (removed) from the dead letter queue. Stops if the running total would exceed max_messages.
connection_string_env_var: name of the environment variable holding the Service Bus connection string. If the variable is set, connection-string auth is used; otherwise DefaultAzureCredential is used.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | Yes | ||
| queue | Yes | ||
| max_messages | No | ||
| connection_string_env_var | No | AZURE_SERVICEBUS_CONNECTION_STRING |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |