Good morning everyone,
We developed several linked plugins which open a lot of routes to access from a client.
We have a use case where if we loose the connection to an external service, we want to block (return an error) all incoming requests from a client to these routes. When we can access the external service again, access to these routes should be reopened.
I could not find in the documentation a way to disable/enable a set or all user defined routes on demand. This discussion seems to relate to the topic but we are not sure this is what we need.
Does someone have any pointer on how to close/reopen routes on demand ?
Thanks for your help.