Author |
Message
|
venkat_chekka |
Posted: Thu Jun 07, 2012 10:42 am Post subject: Reduce error emails while processing the batch messages |
|
|
Apprentice
Joined: 14 Apr 2006 Posts: 37
|
Hi,
I have a requirement to handle error email notifications for batch process messages failure situation.
Currently we are getting tons of error emails while processing batch input messages when something goes wrong in the message flow. Example: DB access failure in the message flow.
We are sending email for each failure in the message flow so sending tons of emails when something goes wrong while processing batch process messages.
So we are planning to reduce the number of emails in this situation.
Is there any way to send only one email in this case for each batch process?
Is there any third party tool or application can handle this problem?
Thanks,
Venkat Chekka. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Thu Jun 07, 2012 11:08 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
>>Is there any way to send only one email in this case for each batch process?
Yes.
>>Is there any third party tool or application can handle this problem?
Yes (MQ). Write the proper logic to make your application behave the way you want it. For example, you could dump each error to a queue, then periodically, maybe once per hour, read all the errors into a single email. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
Vitor |
Posted: Thu Jun 07, 2012 11:25 am Post subject: Re: Reduce error emails while processing the batch messages |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
venkat_chekka wrote: |
Is there any way to send only one email in this case for each batch process? |
Yes. Code your flow to do this. It's (presumably) your logic that's sending the emails so if you want to change how the emails are sent change your code.
venkat_chekka wrote: |
Is there any third party tool or application can handle this problem? |
A 3rd party tool that makes your code act the way you want? Typically they're called "consultants" rather than "applications" or "tools".
Except in moments of extreme unprofessionalism.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
kash3338 |
Posted: Thu Jun 07, 2012 10:05 pm Post subject: Re: Reduce error emails while processing the batch messages |
|
|
Shaman
Joined: 08 Feb 2009 Posts: 709 Location: Chennai, India
|
venkat_chekka wrote: |
Is there any way to send only one email in this case for each batch process?
Is there any third party tool or application can handle this problem?
|
What is your current approach for sending error mails? Have you used a 3rd party tool/app? If your current approach is doing with WMB, why cant your new approach do the same with the code logic changed? |
|
Back to top |
|
 |
inMo |
Posted: Mon Jun 11, 2012 8:25 am Post subject: Re: Reduce error emails while processing the batch messages |
|
|
 Master
Joined: 27 Jun 2009 Posts: 216 Location: NY
|
Vitor wrote: |
...they're called "consultants" rather than "applications" or "tools".
Except in moments of extreme unprofessionalism.  |
Now that's funny  |
|
Back to top |
|
 |
|