Implement the Ignite LifeCycleBean [1] and stop the JVM on receiving the event [2]
[1]: https://ignite.apache.org/releases/mobile/org/apache/ignite/lifecycle/LifecycleBean.html [2]: https://ignite.apache.org/releases/mobile/org/apache/ignite/lifecycle/LifecycleEventType.html#AFTER_NODE_STOP -- Kamal On Tue, Aug 30, 2016 at 3:31 AM, vkulichenko <valentin.kuliche...@gmail.com> wrote: > Hi, > > I don't think there is a generic solution for cases when an Ignite node is > embedded into other application. You will always need to figure out what to > do with other components of this application. You can listen to Ignite > events (e.g., EVT_NODE_SEGMENTED) and act accordingly in the listener. > > -Val > > > > -- > View this message in context: http://apache-ignite-users. > 70518.x6.nabble.com/how-to-automatically-exit-JVM-when- > the-node-stops-tp7372p7389.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. >