Is it possible to send a specific response incase ...
# help
p
Is it possible to send a specific response incase there non of the stubs are matched against the incoming request?
l
Not really. You are probably better off creating a catch all stub with a much lower priority than the rest
p
I see, any example for doing that, I mean how do we set priority?
l
I think the default is
5
Ah, yes, it says so in the docs - When unspecified, stubs default to a priority of `5`^ where
1
is the highest priority and Java
Integer.MAX_VALUE
(i.e.,
2147483647
) is the minimum priority.