Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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.
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.