I would like to implement the following two error handlers using BPM:
1. There is a send step which sends a message to an HTTP receiver. If the HTTP server is down I would like to add 3 retries and just in case after the third retry fails there should be an error Email sent. So I am wondering whether a communication error (which happens in the HTTP receiver communication channel) is delivered back to the process engine so that it can be handled using BPM.
2. I also need to apply a validation using XML schema. So if validation fails the error should also be returned to the process engine so that it can be handled in the integration process.
Are those two requirement possible as described (returning communication and validation errors)? Or do I have to follow another approach?
Thank you very much!