Re: What is the correct way of keeping ignite alive in a console app

2019-02-27 Thread Павлухин Иван
Hi, Your application exits because Ignite node is started in try-with-resources block. So, the node is stopped upon leaving try block. If you write simply public static void main(String[] args) { Ignition.start(igniteConfiguration); } application will continue running after main method

What is the correct way of keeping ignite alive in a console app

2019-02-27 Thread PBSLogitek
Hello What is the best way to keep my app running after i have initialized my ignite instance? public static void main(String[] args) { try (Ignite ignite = Ignition.start(igniteConfiguration)) { } // How to wait here in a correct way to make ignite not exit the