Reputation: 1313
Recently integrated Hazelcast in my existing spring mvc project. i want to disable multicast autodiscovery mechanism and want it through ip address. done the required changes in Hazelcast.xml and put it under resources i.e WEB-INF/classes but configuration not override.default configuration is active and multicast discovery mode not getting disabled. so let me know how to disable multicast discovery in spring mvc project?
Upvotes: 0
Views: 1302
Reputation: 5541
If hazelcast.xml
is on your classpath it should be automatically applied. You can check Hazelcast Reference Manual: Checking Configuration.
If it does not work for you, you can always:
-Dhazelcast.config=<path-to-config>
If nothing works for you, then please share a minimal sample project to reproduce the issue.
Upvotes: 2