I have added the JVM start the parameter:

```
-Dspring.hazelcast.config=classpath:hazelcast2.xml

```

but in log I see

```
08:54:59.849 [I] [main           ] AbstractConfigLocator.log:49 - Loading 'hazelcast.xml' from the classpath.

```

Inside the jar does exist this **hazelcast2.xml**
I puttet also outside of the jar inside start folder these file.

Why he falls back to internal **hazelcast.xml** ?

I can put a changed **hazlecast.xml** outside the jar and this is respected.
But how I can change the hazlecast.xml file name using JVM parameters like documented in <https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#features.hazelcast>

I put the parameter in application.properties without success.

spring boot 2.4.2
hazelcast 4.1.1