Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 6.0.0, 6.1.0, 6.5.0, 6.5.1, 6.5.2, 6.5.3, 7.0.0
-
Fix Version/s: 6.5.3, 7.0.0, 7.0.0-micsvc-1.0.3
-
Component/s: Core
-
Labels:
-
Support Ticket IDs:
-
Story Points:2
Description
When using a SequenceHandler with a binding handler that generates a RuntimeException, the response never completes. An example of this is when using a ClientHandler and the connection to the downstream application times out before a response is provided.
Example route config:
{ "name": "timeout", "condition": "${matches(request.uri.path, '^/timeout')}", "baseURI": "http://localhost:8080/", "heap": [{ "name": "MyClientHandler", "type": "ClientHandler", "config": { "retries": { "enabled": false } } }], "handler": { "name": "SequenceHandler", "type": "SequenceHandler", "config": { "bindings": [{ "handler": "MyClientHandler" }] } } }
Where the app behind http://localhost:8080/ is configured to delay the response past the default timeout of the ClientHandler, which is 10 seconds.