In Pega 8.3.6, Pega is calling an external system through Connect-HTTP.
As per customer demands, I need to specify a "Connect timeout" of 2 seconds, and a "Response timeout" of 30 seconds.
This is required to notify the user of a problem in a timely manner (2 seconds) in case the remote endpoint becomes unreachable at the TCP level, then he can choose a different endpoint.
However, when the endpoint is reachable, it may respond after up to 30 seconds, which is acceptable and by design.
I need a method to specify a DIFFERENT timeout for network level "Connect" and application level "Response" timeouts.
Pega only allows setting one "Response timeout" on Connect-HTTP rule.
How can this requirement be met?
***Edited by Moderator Marissa to add Capability tags***