I'd like to log the wildcard path used to match routes so that we can determine usage by endpoint without regard to the path variables used. Our proxies currently include route rules in this pattern:
<RouteRule name="/centres/{centre_id}/movies/{movie_id}"> <TargetEndpoint>movie_service</TargetEndpoint> <Condition>(proxy.pathsuffix MatchesPath "/centres/{centre_id}/movies/{movie_id}")</Condition> </RouteRule>
Where centre_id might be sanfrancisco and movie_id might be 12345.
If there is a flow variable to access the route rule name matched then I'd be all set with no additional processing. Alternatively, the identical value is in the matched path pattern, if that is available.
Solved! Go to Solution.