I would like to replace the existing RibbonRoutingFilter
that is embedded in the zuul package with a custom one that has additional characteristics/customizations.
Is it just a case of creating my own and giving it is priority that triggers ahead of the builtin one? I don't want this to be called twice.
Actually to clarify the last point, I want my version to supersede the builtin one. I created a copy of RibbonRoutingFilter
, added my customizations and it works the way I want, but the original RibbonRoutingFilter
is also called. How do I suppress it or is that possible.
Suggestions? Thanks in advance
You can disable filters. To disable the RibbonRoutingFilter
set zuul.RibbonRoutingFilter.route.disable=true
. Then create your own.