-
Hi, Is it possible to re-route request to second destination if the first destination returns http 500? {
"ReverseProxy": {
"Routes": [
{
"RouteId": "app",
"ClusterId": "app",
"Match": {
"Methods": [ "Get" ],
"Path": "/app/v1"
},
"Transforms": [
{
"PathSet": "/weatherforecast"
}
]
}
],
"Clusters": {
"app": {
"LoadBalancingPolicy": "First",
"Destinations": {
"cluster1/destination1": {
"Address": "https://localhost:5001/"
},
"cluster1/destination2": {
"Address": "https://localhost:5003/"
}
}
}
}
}
} |
Beta Was this translation helpful? Give feedback.
Answered by
Tratcher
Feb 26, 2021
Replies: 1 comment 2 replies
-
Retries haven't been implemented, see #56. Feel free to add requirements there. It should be possible to build basic retry support on today's system as a middleware if you're interested in collaborating on that? |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
karelz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Retries haven't been implemented, see #56. Feel free to add requirements there. It should be possible to build basic retry support on today's system as a middleware if you're interested in collaborating on that?