Handling REST Response Error
Issue
- Handling REST Response Error
- I have REST Task that calls an external REST Service. Sometime this REST Service is not available then I get "Caused by: java.net.SocketTimeoutException: connect timed out" message in the Kie Server logs.
- What I would like handle this exceptions in my business process and retry the REST call in case of Timeout.
Environment
- Red Hat Process Automation Manager (RHPAM) 7
- REST Task calling an external REST Service;
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.