Use a reactive route only as fallback if other matches fail #51365
Unanswered
riccardocossu
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have this situation: I want a reactive route to respond if the path matches:
/proxy/*
but I want it to be triggered only if no matching controller is present.
For example if there is a conteoller which is mapped to a url like this:
/proxy/another/url/with/12324
I would like it to be executed instead.
By default the route has precedence and the controller never gets triggered; so I tried using the order property:
(I had to put a high number there); like this the controller gets called, but any other URL with the defined prefix fails with not found.
Is there a way to have the route act as fallback in case JAX-RS match fails?
Beta Was this translation helpful? Give feedback.
All reactions