Is there a way to configure email notification for errors


(Nagarajan Govindarajan) #1

Is there a way to configure email notification for errors?


(Dennis van der Stelt) #2

What kind of errors are you referring to?

  • All messages that can’t be processed, are send to an error queue. Monitor that error queue and send an email once one arrives?
  • If you’re using ServiceControl, every error (and audit) messages is stored inside an internal database inside ServiceControl. You can use ServiceControl events to get a notification of what is going on and send an email yourself : https://docs.particular.net/servicecontrol/contracts
  • Perhaps you can use the community project NServiceBus Mailer to send emails : https://docs.particular.net/nservicebus/mailer/