4. Interceptors/Features

shutdown

Shutdown interceptor.

Explanation:

Adds the ability to shutdown main router thread via an HTTP request. Don't forget to setup security for this interceptor.

Has undefined behavior when Membrane is not started from command line (=via the RouterCLI class, which service-proxy.bat/service-proxy.sh do use).

Only actually terminates the running JVM, when used in the first bean (which implicitly stands for ) called "router".



Can be used in:

serviceProxy, api, stompProxy, swaggerProxy, if, registration, wsStompReassembler, interceptor, bean, internalProxy, transport and soapProxy