3

I am trying to send a mail alert when message passed to Azure Service Bus Dead Letter Queue. I did not find any proper solution to send mail alert. Can we process this in which side azure or .net core? if so can anyone help with the process

Peter Bons
  • 26,826
  • 4
  • 50
  • 74
billu babu
  • 31
  • 1
  • 4

1 Answers1

3

You can use the Azure Monitor for this. The ASB emits a metric "Count of dead-lettered messages in a Queue/Topic" (source) which you can create an alert on.

Here is an overview on how to set up the alert.

Step 1, create alert

enter image description here

Step 2, select signal

enter image description here

Next steps: configure thresholds and setup an action group to send an email.

Peter Bons
  • 26,826
  • 4
  • 50
  • 74
  • 1
    seems like the alert can only be set at the queue or topic level... no option to set it for a subscription (which makes more sense than a topic) – NSjonas Oct 06 '22 at 15:43