EvilJinious1
EvilJinious1

Reputation: 2841

Replacing RibbonRoutingFilter for my zuul application

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

Upvotes: 4

Views: 3428

Answers (1)

spencergibb
spencergibb

Reputation: 25177

You can disable filters. To disable the RibbonRoutingFilter set zuul.RibbonRoutingFilter.route.disable=true. Then create your own.

Upvotes: 6

Related Questions