I want to implement custom filters for my Zuul proxy. Now, I know there has been a lot of talking about that subject here and I took a look at the answer provided, with the
Look at PreDecorationFilter for an example that matches routes based on the url path (ie /myservice
). If it matches a full url it sets the routeHost
in the ribbon context, otherwise it sets serviceId
(which would use ribbon to route). You would need to write something similar that would match on parameter instead.