Reputation: 151
I know how to do autoforwarding from one queue to another but, I need to forward message from dead letter to another regular queue and I'm wondering if I can achieve that without any external application that will fetch those message and send it to queue.
Upvotes: 2
Views: 2371
Reputation: 136196
I need to forward message from dead letter to another regular queue and I'm wondering if I can achieve that without any external application that will fetch those message and send it to queue.
Yes, you should be able to achieve it without any external application. When creating/updating a queue, you can specify the name of other queue or topic in the same namespace where dead letter messages will be forwarded automatically.
For example, if you're using Azure.Messaging.ServiceBus
.Net SDK, you can make use of CreateQueueOptions.ForwardDeadLetteredMessagesTo
property to configure this setting.
You should also be able to use New-AzServiceBusQueue
or az servicebus queue create
if you don't want to write the code.
Upvotes: 5