Sent Notification & Stop ESB Route when error in cTalendjob component.

Five Stars

Sent Notification & Stop ESB Route when error in cTalendjob component.

Hi,
I have a Route designed like    cFile----->CMessageEndPoint------>cFile-------->cTalendjob
I want to Sent Email Notification and stop the route whenever Error/Exception occurred in cTalendjob component.
Please some one help on this.
Thank's in Advance,
Moderator

Re: Sent Notification & Stop ESB Route when error in cTalendjob component.

Hi,
You can use TalendHelpCenter:cOnException in your route.
Please take a look at my screenshots
Feel free to let us know if it is OK with you.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Sixteen Stars

Re: Sent Notification & Stop ESB Route when error in cTalendjob component.

That is not a graceful shutdown and would lead to messages being lost. What you have explained there is the equivalent of simply pulling the plug out of the computer. I suggested a way that would have led to a graceful shutdown in the other thread, and you have pointed the user here?!? Wow!