I am trying to prevent my hazelcast client from shutting down via its shutdown hook, by adding a property to my configuration thus:
<hz:property name="hazelcast.shutdownhook.enabled">false<hz:property>
But the shutdown hook appears to still run anyway (as cache related activity in my shutdown hook fails saying "hz shutting down"). Am I doing something wrong?
My expectation is that Hazelcast does nothing on shutdown in this scenario; I run my own shutdown hook, finish db/cache related activities and then directly call shutdown on the lifecycle manager.
Is this a valid expectation? Is this the correct property to use? Is there something else I need to set?
Thx
Mark