Go to new doc!

+49 228 5552576-0


info@predic8.com

shutdown

Description

Shutdown interceptor.

Can be used in

spring:beans, api, bean, if, interceptor, internalProxy, proxy, registration, request, response, serviceProxy, soapProxy, stompProxy, swaggerProxy, transport and wsStompReassembler

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 <router> bean (which implicitly stands for <router id="router"> ) called "router".