@Charles-Antoine Saint-Laurent You can use the set-backend-service policy to forward the request to the appropriate backend based on the incoming request.
You would have to add a parameterized operation and fetch the parameter from the MatchedParameters
property of the context.Request object.
To answer your exact questions
- Since you need APIM policies, requests will have to go through APIM. With the above policies, you can cut out one extra hop required.
- This is convenient for sure with less moving parts and based on your requirement (to what you've shared) this seems like a reasonable way to set it up