Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
ravi999
Contributor III
Contributor III

Capture all exceptions in ESB route

Hi All, 

 

We are able to send general email using cMail component.But how to send emails for all exceptions in ESB route? I have seen the cOnexception. But not sure what all exceptions(like java.lang.Exception) needs to be added in advanced setting so that all errors can be captured so that email notification can be sent. 

Labels (3)
10 Replies
Anonymous
Not applicable

A problem which means a route is broken (missing endpoint within the same route, etc) will prevent the route from functioning. You should not allow issues like that to get beyond testing. Issues like the divide by 0 error I mentioned above that can be caused by your data, should not crash the route and you should be able to achieve what you have mentioned in your last post.

 

One thing to keep in mind with routes, you should test them in the Karaf (ESB runtime) and not just the Studio. You will likely see a slightly different behaviour with your errors and how they are handled.