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 completion.
ср, 27 февр. 2019 г. в 19:36, PBSLogitek <[email protected]>:
>
> 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
> application
>
> }
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
--
Best regards,
Ivan Pavlukhin