Handling REST Response Error

Solution Unverified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content