We have these resources:
and we make a request to "/test/x".
Path param in xyz is null.
The problem is in PathPatternRouter which push template to RoutingContext. This is too early as in this time we do not know which resource will handle the matched path in the time of Path matching (in our example there are two resources).